mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
* Refactoring: renamed *.nix.in to *.nix.
This commit is contained in:
parent
2d5114452d
commit
51e7e32c3b
22 changed files with 209 additions and 264 deletions
21
tests/build-hook.nix
Normal file
21
tests/build-hook.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
with import ./config.nix;
|
||||
|
||||
let
|
||||
|
||||
input1 = mkDerivation {
|
||||
name = "build-hook-input-1";
|
||||
builder = ./dependencies.builder1.sh;
|
||||
};
|
||||
|
||||
input2 = mkDerivation {
|
||||
name = "build-hook-input-2";
|
||||
builder = ./dependencies.builder2.sh;
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
mkDerivation {
|
||||
name = "build-hook";
|
||||
builder = ./dependencies.builder0.sh;
|
||||
inherit input1 input2;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue