This commit is contained in:
mystery3525 2024-06-24 22:51:52 -04:00 committed by Martin Wimpress
parent 0f616dcf08
commit a85bb0897a
1 changed files with 8 additions and 1 deletions

View File

@ -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 = ''