mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 01:39:36 +01:00
Add new C API for working with derivations
Also test the APIs we just added.
This commit is contained in:
parent
1a69fc6ab5
commit
9bc218ca3f
13 changed files with 270 additions and 47 deletions
23
src/libstore-tests/data/derivation/ca/self-contained.json
Normal file
23
src/libstore-tests/data/derivation/ca/self-contained.json
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"args": [
|
||||
"-c",
|
||||
"echo $name foo > $out"
|
||||
],
|
||||
"builder": "/bin/sh",
|
||||
"env": {
|
||||
"builder": "/bin/sh",
|
||||
"name": "myname",
|
||||
"out": "/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9",
|
||||
"system": "x86_64-linux"
|
||||
},
|
||||
"inputDrvs": {},
|
||||
"inputSrcs": [],
|
||||
"name": "myname",
|
||||
"outputs": {
|
||||
"out": {
|
||||
"hashAlgo": "sha256",
|
||||
"method": "nar"
|
||||
}
|
||||
},
|
||||
"system": "x86_64-linux"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue