Skip to content

Commit 9bebe16

Browse files
forgor
1 parent 6955e8f commit 9bebe16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
44
};
55
outputs = { self, nixpkgs, ... }: let
6-
version = builtins.match ".*tag: ([0-9\.]*).*" (builtins.readFile ./.version);
6+
version = builtins.head (builtins.match ".*tag: ([0-9\.]*).*" (builtins.readFile ./.version));
77
in {
88
packages.x86_64-linux.default = nixpkgs.legacyPackages.x86_64-linux.writeText "text-${version}" ''
99
This is version ${version}

0 commit comments

Comments
 (0)