tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
trellis: fix build for darwin
Robert Scott
4 years ago
87ca1442
9730df15
+6
1 changed file
expand all
collapse all
unified
split
pkgs
development
embedded
fpga
trellis
default.nix
+6
pkgs/development/embedded/fpga/trellis/default.nix
···
41
41
cd libtrellis
42
42
'';
43
43
44
44
+
postInstall = lib.optionalString stdenv.isDarwin ''
45
45
+
for f in $out/bin/* ; do
46
46
+
install_name_tool -change "$out/lib/libtrellis.dylib" "$out/lib/trellis/libtrellis.dylib" "$f"
47
47
+
done
48
48
+
'';
49
49
+
44
50
doInstallCheck = true;
45
51
46
52
installCheckPhase = ''