Skip to content

Commit e076d56

Browse files
committed
Don't evaluate derivation to get version in CI
1 parent 352b174 commit e076d56

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
ignore-missing-flake-lock: false
2323
fail-mode: true
2424
- name: Determine current version
25-
run: echo "BN_PREV_VERSION=$(nix eval .#binary-ninja-free.version --raw)" >> $GITHUB_ENV
25+
run: echo "BN_PREV_VERSION=$(nix eval .#version.x86_64-linux --raw)" >> $GITHUB_ENV
2626
- name: Update hashes.js
2727
run: wget -O hashes.js https://binary.ninja/js/hashes.js
2828
- name: Determine new version
29-
run: echo "BN_NEXT_VERSION=$(nix eval .#binary-ninja-free.version --raw)" >> $GITHUB_ENV
29+
run: echo "BN_NEXT_VERSION=$(nix eval .#version.x86_64-linux --raw)" >> $GITHUB_ENV
3030
- name: Run `nix build`
3131
run: nix build
3232
- name: Commit updated version

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
};
2424
in
2525
{
26+
inherit (sources) version;
2627
inherit packages;
2728
}
2829
);

package.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
callPackage,
44
autoPatchelfHook,
55
makeWrapper,
6-
requireFile,
76
unzip,
87
libGL,
98
glib,

0 commit comments

Comments
 (0)