Skip to content
Snippets Groups Projects
Verified Commit 09c3dd36 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: develop flake

parent 249ebf31
No related branches found
No related tags found
No related merge requests found
flake-profile-27-link
\ No newline at end of file
flake-profile-28-link
\ No newline at end of file
/nix/store/1f7b6a3dmnfcykz4y8ahapfav06jxjym-bob-0.3.16-env
\ No newline at end of file
......@@ -18,6 +18,11 @@
# Nixpkgs instantiated for supported system types.
nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
rootPath = ./.;
releaseJson = builtins.fromJSON (builtins.readFile "${rootPath}/release.json");
currentVersion = releaseJson.version;
in
{
......@@ -29,7 +34,7 @@
{
go-hello = pkgs.buildGoModule {
pname = "bob";
version = "0.5.3";
version = currentVersion;
# In 'nix develop', we don't need a copy of the source tree
# in the Nix store.
......
{"version":"0.3.16"}
{"version":"0.6.0"}
/nix/store/q21v9ipxpaaix7ygr29vxgh6gv2v5d59-bob-0.5.3
\ No newline at end of file
/nix/store/njp5z2n7n9wg2jc30qaljb5lwxfk9s92-bob-0.6.0
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment