for node-sass xcodebuild is needed on darwin (#166)
This commit is contained in:
parent
0ef75fa71d
commit
746b4b1f96
|
@ -22,7 +22,14 @@ let
|
||||||
'';
|
'';
|
||||||
pkgConfig = {
|
pkgConfig = {
|
||||||
node-sass = {
|
node-sass = {
|
||||||
buildInputs = [ pkgs.python pkgs.libsass pkgs.pkgconfig ];
|
buildInputs = with pkgs; [
|
||||||
|
which
|
||||||
|
python2
|
||||||
|
libsass
|
||||||
|
pkgconfig
|
||||||
|
] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [
|
||||||
|
xcodebuild
|
||||||
|
];
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
LIBSASS_EXT=auto yarn --offline run build
|
LIBSASS_EXT=auto yarn --offline run build
|
||||||
rm build/config.gypi
|
rm build/config.gypi
|
||||||
|
|
Loading…
Reference in a new issue