diff --git a/flake.lock b/flake.lock index e639f76..d8c219c 100644 --- a/flake.lock +++ b/flake.lock @@ -21,11 +21,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1725834405, - "narHash": "sha256-4Zh+/JRRpvnNNasgJ/qB+l2qggpEwY/wq9zZ4VFzXmQ=", + "lastModified": 1725898343, + "narHash": "sha256-sKKfBP7/Nyh3Y6V/C8L6wgCbLipvldxQspsgFbmp+6c=", "owner": "vimpostor", "repo": "quartz", - "rev": "14a6880f5380efb47ccd5347103ebb5890f6fb74", + "rev": "19fc6131b6ac09693cdb0562c9e2bc6495140bdc", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index c32d607..bac21e7 100644 --- a/flake.nix +++ b/flake.nix @@ -11,7 +11,7 @@ defaultStdenv = (builtins.head stdenvs).name; makeStdenvPkg = env: env.mkDerivation { pname = "blobdrop"; - version = builtins.head (builtins.match ".*project\\([[:alnum:]]+ VERSION ([0-9]+\.[0-9]+).*" (builtins.readFile ./CMakeLists.txt)); + version = quartz.lib.cmakeProjectVersion ./CMakeLists.txt; src = ./.; @@ -28,7 +28,7 @@ xorg.xcbutilwm ]; - cmakeFlags = quartz.cmakeWrapper { inherit pkgs; cmakeFile = ./CMakeLists.txt; }; + cmakeFlags = quartz.lib.cmakeWrapper { inherit pkgs; cmakeFile = ./CMakeLists.txt; }; }; in { packages = {