mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 10:37:38 +00:00
expand-response-params: Fix windows build and add mainProgram
This commit is contained in:
parent
7d04350332
commit
be13e1b404
@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $prefix/bin
|
||||
mv expand-response-params $prefix/bin/
|
||||
mv expand-response-params${stdenv.hostPlatform.extensions.executable} $prefix/bin/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
@ -38,5 +38,6 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "expand-response-params${stdenv.hostPlatform.extensions.executable}";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user