From 98318c4dcbc4ed9b3e00de97ff46f6e122fc9e50 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Sun, 7 Apr 2024 23:36:37 -0700 Subject: [PATCH] nix: fix git revision in nix package --- flake.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 8e5f75b5..5bb5069e 100644 --- a/flake.nix +++ b/flake.nix @@ -9,8 +9,10 @@ (system: fn system nixpkgs.legacyPackages.${system}); in { packages = forEachSystem (system: pkgs: rec { - quickshell = pkgs.callPackage ./default.nix {}; - quickshell-nvidia = pkgs.callPackage ./default.nix { nvidiaCompat = true; }; + quickshell = pkgs.callPackage ./default.nix { + gitRev = self.rev or self.dirtyRev; + }; + quickshell-nvidia = quickshell.override { nvidiaCompat = true; }; default = quickshell; nvidia = quickshell-nvidia;