dotfiles/shell.nix
2022-03-04 10:12:08 +01:00

16 lines
320 B
Nix

let
nixpkgs = import <nixpkgs> { };
in
with nixpkgs;
stdenv.mkDerivation {
name = "legacy_shell";
buildInputs = [
(pkgs.writeShellScriptBin "nix-experimental" ''
exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@"
'')
cacert
git
];
shellHook = ''
'';
}