mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
Test RemoteStore::buildDerivation
Fix `wopNarFromPath` which needed a `toRealPath`.
This commit is contained in:
parent
5d67f18c86
commit
d2f2be0f70
3 changed files with 30 additions and 7 deletions
|
@ -26,6 +26,16 @@ let
|
|||
requiredSystemFeatures = ["bar"];
|
||||
};
|
||||
|
||||
input3 = mkDerivation {
|
||||
shell = busybox;
|
||||
name = "build-remote-input-3";
|
||||
buildCommand = ''
|
||||
read x < ${input2}
|
||||
echo $x BAZ > $out
|
||||
'';
|
||||
requiredSystemFeatures = ["baz"];
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
mkDerivation {
|
||||
|
@ -34,7 +44,7 @@ in
|
|||
buildCommand =
|
||||
''
|
||||
read x < ${input1}
|
||||
read y < ${input2}
|
||||
read y < ${input3}
|
||||
echo "$x $y" > $out
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue