mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-05 06:47:12 -04:00
nix: include git rev in version to avoid cache issues
Changes version from "nightly" to "nightly-<gitRev>" so each commit gets a unique derivation hash, forcing rebuilds when flake inputs update.
This commit is contained in:
parent
0212ee7177
commit
904a8aff78
2 changed files with 3 additions and 1 deletions
|
|
@ -31,6 +31,7 @@
|
|||
inherit (pkgs) callPackage ;
|
||||
mango = callPackage ./nix {
|
||||
inherit (inputs.scenefx.packages.${pkgs.stdenv.hostPlatform.system}) scenefx;
|
||||
gitRev = self.shortRev or "dirty";
|
||||
};
|
||||
shellOverride = old: {
|
||||
nativeBuildInputs = old.nativeBuildInputs ++ [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue