mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
debBuild: Allow setting the package name and overriding the install command
This commit is contained in:
parent
8b7f2af950
commit
940eb8bfc1
@ -60,8 +60,10 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
|
||||
--provides="${concatStringsSep "," debProvides}" \
|
||||
${optionalString (src ? version) "--pkgversion=$(echo ${src.version} | tr _ -)"} \
|
||||
''${debMaintainer:+--maintainer="'$debMaintainer'"} \
|
||||
''${debName:+--pkgname="'$debName'"} \
|
||||
$checkInstallFlags \
|
||||
make install
|
||||
-- \
|
||||
$SHELL -c "''${installCommand:-make install}"
|
||||
|
||||
mkdir -p $out/debs
|
||||
find . -name "*.deb" -exec cp {} $out/debs \;
|
||||
|
Loading…
Reference in New Issue
Block a user