We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c4df04 commit ed490a2Copy full SHA for ed490a2
flake.nix
@@ -13,17 +13,19 @@
13
14
lastTag = "0.13.6";
15
16
- revision = if (self ? shortRev)
17
- then "${self.shortRev}"
18
- else "${self.dirtyShortRev or "dirty"}";
+ revision =
+ if (self ? shortRev)
+ then "${self.shortRev}"
19
+ else "${self.dirtyShortRev or "dirty"}";
20
21
# Add the commit to the version string for flake builds
- version = "${lastTag}-${revision}";
22
+ version = "${lastTag}";
23
24
# Run `devbox run update-flake` to update the vendor-hash
- vendorHash = if builtins.pathExists ./vendor-hash
25
- then builtins.readFile ./vendor-hash
26
- else "";
+ vendorHash =
+ if builtins.pathExists ./vendor-hash
27
+ then builtins.readFile ./vendor-hash
28
+ else "";
29
30
buildGoModule = pkgs.buildGo123Module;
31
0 commit comments