move nixpkgs-stable to private flake inputs

now with home-manager and nix-darwin tests, we don't want to increase
the number of dependencies a user has to override in their flake.lock.
This commit is contained in:
Jörg Thalheim 2024-11-17 12:42:28 +01:00 committed by Jörg Thalheim
parent d76a2f002f
commit 7769727634
6 changed files with 120 additions and 60 deletions

View file

@ -10,6 +10,11 @@ pkgs.mkShell {
util-linux
nix
golangci-lint
(pkgs.writeScriptBin "update-dev-private-narHash" ''
nix --extra-experimental-features "nix-command flakes" flake lock ./dev/private
nix --extra-experimental-features "nix-command flakes" hash path ./dev/private | tr -d '\n' > ./dev/private.narHash
'')
];
# delve does not compile with hardening enabled
hardeningDisable = [ "all" ];