1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-29 05:31:00 +01:00

Test nix develop on fixed-output derivations

It half works today, we should fix this but also not regress it!
This commit is contained in:
John Ericson 2025-11-25 10:44:32 -05:00
parent ab58d2720c
commit e91b7d1732
2 changed files with 16 additions and 0 deletions

View file

@ -84,6 +84,16 @@ let
'';
};
# Shells should also work with fixed-output derivations
fixed = mkDerivation {
name = "fixed";
FOO = "was a fixed-output derivation";
outputHash = "1ixr6yd3297ciyp9im522dfxpqbkhcw0pylkb2aab915278fqaik";
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputs = [ "out" ];
};
# Used by nix-shell -p
runCommand =
name: args: buildCommand: