Files
lix/tests/functional2/commands/test_store_delete/assets/drv.nix
T
Qyriad 9d6e71bd56 feat(nix3-store-delete): unlink root and delete its closure at the same time
Feel free to bikeshed the name --unlink

Change-Id: I71a44d873d88e5a2ab300af3f0a868dd6a6a6964
2025-12-13 15:05:12 +01:00

24 lines
405 B
Nix

with import ./config.nix;
let
dependency = mkDerivation {
name = "dependency";
builder = builtins.toFile "builder.sh"
''
#!/usr/bin/env bash
echo "beans" > "$out"
'';
};
in
mkDerivation {
name = "some-package";
builder = builtins.toFile "builder.sh"
''
#!/usr/bin/env bash
mkdir "$out"
echo "$dependency" > "$out/toe-kind"
'';
inherit dependency;
}