Merge pull request #210761 from abathur/resholve_track_missed_fix

resholve: track missed upstream Nix fix
This commit is contained in:
Thiago Kenji Okada 2023-01-15 18:17:08 +00:00 committed by GitHub
commit d00a5dad2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

@ -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}
'';
};

View file

@ -179,4 +179,11 @@ rec {
echo "Hello"
file .
'';
resholvedScriptBinNone = resholve.writeScriptBin "resholved-script-bin" {
inputs = [ file ];
interpreter = "none";
} ''
echo "Hello"
file .
'';
}