Skip to content

Commit 35e9bcd

Browse files
committed
[cli] Package anti-oracle executable
1 parent fe63257 commit 35e9bcd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

cli/nix/anti-linux-artifacts.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
{ pkgs, node-project, version, project, ... }:
22
let
33
anti = project.musl64.anti.components.exes.anti;
4+
anti-oracle = project.musl64.anti.components.exes.anti-oracle;
45
tarball-derivation = pkgs.stdenv.mkDerivation rec {
56
pname = "anti";
67
inherit version;
78
unpackPhase = ''
89
mkdir -p $out/unpacked
910
cp ${anti}/bin/anti $out/unpacked
11+
cp ${anti-oracle}/bin/anti-oracle $out/unpacked
1012
chmod -R +w $out/unpacked/*
1113
'';
1214
installPhase = ''

cli/nix/anti-macos-artifacts.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
let
44
inherit (pkgs) lib;
55
anti = project.packages.anti;
6+
anti-oracle = project.packages.anti-oracle;
67
tarball-derivation = pkgs.stdenv.mkDerivation {
78
pname = "anti";
89
inherit version;
@@ -11,6 +12,7 @@ let
1112
unpackPhase = ''
1213
mkdir -p $out/unpacked
1314
cp ${anti}/bin/anti $out/unpacked
15+
cp ${anti-oracle}/bin/anti-oracle $out/unpacked
1416
( cd $out/unpacked ;
1517
${rewrite-libs}/bin/rewrite-libs . `ls -1 | grep -Fv .dylib`
1618
for a in *; do /usr/bin/codesign -f -s - $a; done

0 commit comments

Comments
 (0)