forked from mirrors/nixpkgs
* Set the version number of generated Debian packages. Note that dpkg
apparently doesn't allows underscores in version strings, so we replace them by dashes. This is the exact opposite of RPM, which doesn't allow dashes. svn path=/nixpkgs/trunk/; revision=34220
This commit is contained in:
parent
0524b60614
commit
ed2564f750
|
@ -65,6 +65,7 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
|
|||
--fstrans=${if fsTranslation then "yes" else "no"} \
|
||||
--requires="${concatStringsSep "," debRequires}" \
|
||||
--provides="${concatStringsSep "," debProvides}" \
|
||||
${optionalString (src ? version) "--pkgversion=$(echo ${src.version} | tr _ -)"} \
|
||||
make install
|
||||
|
||||
mkdir -p $out/debs
|
||||
|
|
Loading…
Reference in a new issue