gnustep: make llvmPackages easily overridable

This commit is contained in:
Francesco Gazzetta 2020-12-06 22:42:08 +01:00
parent 1e5a7a9135
commit 357ef10f54

View file

@ -1,21 +1,22 @@
{ pkgs, newScope, llvmPackages_6 }:
{ newScope
, llvmPackages
, giflib_4_1
}:
let
callPackage = newScope self;
self = rec {
stdenv = pkgs.clangStdenv;
stdenv = llvmPackages.stdenv;
gsmakeDerivation = callPackage ./make/gsmakeDerivation.nix {};
gorm = callPackage ./gorm {};
projectcenter = callPackage ./projectcenter {};
system_preferences = callPackage ./systempreferences {};
libobjc = callPackage ./libobjc2 {
stdenv = if stdenv.cc.isClang then llvmPackages_6.stdenv else stdenv;
};
libobjc = callPackage ./libobjc2 {};
make = callPackage ./make {};
back = callPackage ./back {};
base = callPackage ./base { giflib = pkgs.giflib_4_1; };
base = callPackage ./base { giflib = giflib_4_1; };
gui = callPackage ./gui {};
gworkspace = callPackage ./gworkspace {};
};