tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
bpkg: add postInstall rpath fixup needed on darwin
Ryan Burns
3 years ago
6acda25a
37806ebf
+4
1 changed file
expand all
collapse all
unified
split
pkgs
development
tools
build-managers
build2
bpkg.nix
+4
pkgs/development/tools/build-managers/build2/bpkg.nix
···
49
49
"config.bin.lib=${build2.configSharedStatic enableShared enableStatic}"
50
50
];
51
51
52
52
+
postInstall = lib.optionalString stdenv.isDarwin ''
53
53
+
install_name_tool -add_rpath '${lib.getLib build2}/lib' "''${!outputBin}/bin/bpkg"
54
54
+
'';
55
55
+
52
56
meta = with lib; {
53
57
description = "build2 package dependency manager";
54
58
# https://build2.org/bpkg/doc/bpkg.xhtml