git.iko.soy/typeable/nixpkgs
on master help sign in
fix libSystemClosure on non-darwin machines
commit9685b08db78b7512ba361ea0b57e57f9787e6759 authorJude Taylor <me@jude.bio> dateThu 15 Oct 2015, 14:09 (11 years ago) parent531f72b
1 file changed+4−2
pkgs/stdenv/pure-darwin/default.nix+4−2
pkgs/stdenv/pure-darwin/default.nix+4−2
@@ -6,7 +6,8 @@
66
77let
88 # libSystem and its transitive dependencies. Get used to this; it's a recurring theme in darwin land
9− libSystemClosure = [
9+ libSystemClosure = if system == "x86_64-darwin"
10+ then [
1011 "/usr/lib/libSystem.dylib"
1112 "/usr/lib/libSystem.B.dylib"
1213 "/usr/lib/libobjc.A.dylib"
@@ -16,7 +17,8 @@ let
1617 "/usr/lib/libc++.1.dylib"
1718 "/usr/lib/libDiagnosticMessagesClient.dylib"
1819 "/usr/lib/system"
19− ];
20+ ]
21+ else [];
2022
2123 fetch = { file, sha256 }: derivation ((import <nix/fetchurl.nix> {
2224 url = "https://dl.dropboxusercontent.com/u/2857322/${file}";