1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 01:51:47 +02:00

Add resolvePath, filesetToSource indirections for Nixpkgs

This commit is contained in:
Robert Hensing 2024-07-06 17:49:58 +02:00
parent 0729f0a113
commit bea54d116e
5 changed files with 18 additions and 5 deletions

View file

@ -18,6 +18,7 @@
# Configuration Options
, version
, resolvePath
}:
let
@ -84,7 +85,7 @@ mkMesonDerivation (finalAttrs: {
run = runCommand "${finalAttrs.pname}-run" {
} ''
PATH="${lib.makeBinPath [ finalAttrs.finalPackage ]}:$PATH"
export _NIX_TEST_UNIT_DATA=${./data}
export _NIX_TEST_UNIT_DATA=${resolvePath ./data}
nix-expr-tests
touch $out
'';