dotfiles/shell.nix
2021-06-19 23:57:10 +01:00

15 lines
330 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" "$@"
'')
git
];
shellHook = ''
'';
}