nix: fix git revision in nix package

This commit is contained in:
outfoxxed 2024-04-07 23:36:37 -07:00
parent 0b2baea230
commit 98318c4dcb
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

@ -9,8 +9,10 @@
(system: fn system nixpkgs.legacyPackages.${system}); (system: fn system nixpkgs.legacyPackages.${system});
in { in {
packages = forEachSystem (system: pkgs: rec { packages = forEachSystem (system: pkgs: rec {
quickshell = pkgs.callPackage ./default.nix {}; quickshell = pkgs.callPackage ./default.nix {
quickshell-nvidia = pkgs.callPackage ./default.nix { nvidiaCompat = true; }; gitRev = self.rev or self.dirtyRev;
};
quickshell-nvidia = quickshell.override { nvidiaCompat = true; };
default = quickshell; default = quickshell;
nvidia = quickshell-nvidia; nvidia = quickshell-nvidia;