Skip to content

Commit

Permalink
fix(nix): use clean rev for package if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
water-sucks committed Jan 9, 2025
1 parent df03e77 commit 01ac001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
default = nixos;

nixos = callPackage (import ./package.nix) {
revision = self.dirtyRev;
revision = self.rev or self.dirtyRev or "unknown";
};
nixosLegacy = nixos.override {flake = false;};
};
Expand Down

0 comments on commit 01ac001

Please sign in to comment.