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 37c36a1 commit 3f94083Copy full SHA for 3f94083
flake.nix
@@ -1,5 +1,5 @@
1
{
2
- description = "Instant, easy, predictable shells and containers";
+ description = "Instant, easy, predictable dev environments";
3
4
inputs = {
5
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
@@ -16,9 +16,9 @@
16
# Add the commit to the version string, in case someone builds from main
17
getVersion = pkgs.lib.trivial.pipe self [
18
(x: "${lastTag}")
19
- (x: if (self ? revCount)
+ (x: if (self ? shortRev)
20
then "${x}-${self.shortRev}"
21
- else "${x}-${self.dirtyShortRev}")
+ else "${x}-${if self ? dirtyShortRev then self.dirtyShortRev else "dirty"}")
22
];
23
24
# Run `devbox run update-flake` to update the vendorHash
0 commit comments