blob: e7bae2fc77a08c2c8590de24b7c35eeb197ea42a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ stdenvNoCC, darwin-stubs }:
let
self = stdenvNoCC.mkDerivation {
pname = "libnetwork";
inherit (darwin-stubs) version;
buildCommand = ''
mkdir -p $out/lib
cp ${darwin-stubs}/usr/lib/libnetwork* $out/lib
'';
passthru.tbdRewrites.const."/usr/lib/libnetwork.dylib" = "${self}/lib/libnetwork.dylib";
};
in
self
|