From b5bcdf72cbc998550bf55af1842fe65f8c9ef0bf Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 2 Mar 2025 15:18:43 +0100 Subject: Revert "Switch back to flakes" This reverts commit c0384c43821474d28af1d9696ceb473a0d769292. --- shell.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 shell.nix (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix new file mode 100644 index 00000000..2fa4ecf4 --- /dev/null +++ b/shell.nix @@ -0,0 +1,21 @@ +let + inherit (import ./sources.nix) nixPath sources; + + pkgs = import sources.nixpkgs { }; +in +pkgs.mkShell +{ + + name = "nixfiles-shell"; + + buildInputs = with pkgs; [ + npins + fish + (pkgs.callPackage "${sources.agenix}/pkgs/agenix.nix" { }) + (import sources.home-manager { inherit pkgs; }).home-manager + ]; + + shellHook = '' + export NIX_PATH="${builtins.concatStringsSep ":" nixPath}"; + ''; +} -- cgit 1.4.1