dotfiles/shell.nix

17 lines
320 B
Nix
Raw Normal View History

2021-06-19 23:57:10 +01:00
let
2022-03-04 09:12:08 +00:00
nixpkgs = import <nixpkgs> { };
2021-06-19 23:57:10 +01:00
in
2022-03-04 09:12:08 +00:00
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 = ''
2021-06-19 23:57:10 +01:00
'';
2022-03-04 09:12:08 +00:00
}