resholve: track missed upstream Nix fix
Forgot to port this resholve Nix API fix in the course of #184292. Same change as: github.com/abathur/resholve/commit/b743d2eb12d82e35c567733a7a884174e3606641
This commit is contained in:
parent
8a3c6a836c
commit
ba5e8f2835
|
@ -129,6 +129,7 @@ rec {
|
|||
)
|
||||
)
|
||||
)}
|
||||
'' + lib.optionalString (partialSolution.interpreter != "none") ''
|
||||
${partialSolution.interpreter} -n $out
|
||||
'';
|
||||
};
|
||||
|
@ -146,6 +147,7 @@ rec {
|
|||
)
|
||||
)
|
||||
}
|
||||
'' + lib.optionalString (partialSolution.interpreter != "none") ''
|
||||
${partialSolution.interpreter} -n $out/bin/${name}
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -179,4 +179,11 @@ rec {
|
|||
echo "Hello"
|
||||
file .
|
||||
'';
|
||||
resholvedScriptBinNone = resholve.writeScriptBin "resholved-script-bin" {
|
||||
inputs = [ file ];
|
||||
interpreter = "none";
|
||||
} ''
|
||||
echo "Hello"
|
||||
file .
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue