Took inspiration from cebd9dd781/hhvm.nix (L76)
This commit is contained in:
parent
0f616dcf08
commit
a85bb0897a
|
@ -52,11 +52,18 @@ let
|
||||||
usbutils
|
usbutils
|
||||||
xdg-user-dirs
|
xdg-user-dirs
|
||||||
];
|
];
|
||||||
|
versionMatches =
|
||||||
|
builtins.match ''
|
||||||
|
.*
|
||||||
|
readonly[[:blank:]]VERSION="([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)"
|
||||||
|
.*
|
||||||
|
'' (builtins.readFile ./quickemu);
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "quickemu";
|
pname = "quickemu";
|
||||||
version = "4.9.4";
|
version = builtins.concatStringsSep "" versionMatches;
|
||||||
|
|
||||||
src = lib.cleanSource ./.;
|
src = lib.cleanSource ./.;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
Loading…
Reference in New Issue