From 310cb0d65feb337af838c6fa47a53b4eb94690cf Mon Sep 17 00:00:00 2001 From: Volker Schukai <volker.schukai@schukai.com> Date: Wed, 5 Jul 2023 23:47:19 +0200 Subject: [PATCH] chore: build --- .direnv/flake-profile | 2 +- .direnv/flake-profile-20-link | 1 + .direnv/flake-profile-21-link | 1 + .direnv/flake-profile-22-link | 1 + .direnv/flake-profile-23-link | 1 + .direnv/flake-profile-24-link | 1 + flake.nix | 6 +++--- result | 2 +- 8 files changed, 10 insertions(+), 5 deletions(-) create mode 120000 .direnv/flake-profile-20-link create mode 120000 .direnv/flake-profile-21-link create mode 120000 .direnv/flake-profile-22-link create mode 120000 .direnv/flake-profile-23-link create mode 120000 .direnv/flake-profile-24-link diff --git a/.direnv/flake-profile b/.direnv/flake-profile index dfb4899..e6d65ca 120000 --- a/.direnv/flake-profile +++ b/.direnv/flake-profile @@ -1 +1 @@ -flake-profile-19-link \ No newline at end of file +flake-profile-24-link \ No newline at end of file diff --git a/.direnv/flake-profile-20-link b/.direnv/flake-profile-20-link new file mode 120000 index 0000000..ce90fc3 --- /dev/null +++ b/.direnv/flake-profile-20-link @@ -0,0 +1 @@ +/nix/store/sdvqw67a6wn9v1w3w37v2hcf2gv91wgx-bob-env \ No newline at end of file diff --git a/.direnv/flake-profile-21-link b/.direnv/flake-profile-21-link new file mode 120000 index 0000000..c8d25b6 --- /dev/null +++ b/.direnv/flake-profile-21-link @@ -0,0 +1 @@ +/nix/store/h8z0f14vp67897mfq4xhsddigkbqk494-bob-env \ No newline at end of file diff --git a/.direnv/flake-profile-22-link b/.direnv/flake-profile-22-link new file mode 120000 index 0000000..36f1161 --- /dev/null +++ b/.direnv/flake-profile-22-link @@ -0,0 +1 @@ +/nix/store/797jp78ajz3rc9n51g3clj52568acd17-bob-env \ No newline at end of file diff --git a/.direnv/flake-profile-23-link b/.direnv/flake-profile-23-link new file mode 120000 index 0000000..d67d872 --- /dev/null +++ b/.direnv/flake-profile-23-link @@ -0,0 +1 @@ +/nix/store/z7z8b81xf3chndfcf6ffc82pgg3hi0cw-bob-env \ No newline at end of file diff --git a/.direnv/flake-profile-24-link b/.direnv/flake-profile-24-link new file mode 120000 index 0000000..d01929e --- /dev/null +++ b/.direnv/flake-profile-24-link @@ -0,0 +1 @@ +/nix/store/4agnhmqldxx9nw09qi3rp9q24ha4vz4z-bob-env \ No newline at end of file diff --git a/flake.nix b/flake.nix index 6718943..54366ca 100644 --- a/flake.nix +++ b/flake.nix @@ -21,13 +21,13 @@ bob = final.buildGoModule rec { name = "bob"; src = ././application/source; - vendorSha256 = "sha256-qiObIbA75kfkGzZoTtZbkm4zQqXokL+hiWrJdmL8oxU="; # Use "nix to-sri --type sha256" on the actual hash doCheck = true; + vendorHash = null; nativeBuildInputs = [ final.jq ]; ldflags=''-X main.version=${currentVersion} -X main.build=${self.lastModifiedDate}''; installPhase = '' - mkdir -p $out/bin - cp -a ./bob $out/bin + mkdir -p $out/bin + ''; }; diff --git a/result b/result index 2fc31eb..2f3865c 120000 --- a/result +++ b/result @@ -1 +1 @@ -/nix/store/4vc960vygjmmb5af9zz5md9mlm2fajf5-bob \ No newline at end of file +/nix/store/249v9i92xn42lyv68j4pjjbq0gjll62r-bob \ No newline at end of file -- GitLab