updates
This commit is contained in:
parent
7d6786a022
commit
60491e6015
12
flake.nix
12
flake.nix
|
@ -32,22 +32,10 @@
|
|||
|
||||
doDist = false;
|
||||
|
||||
# required for using system libsass, or else it tries to fetch new node headers
|
||||
yarnPreBuild = ''
|
||||
export npm_config_nodedir=${final.pkgs.nodejs}
|
||||
'';
|
||||
|
||||
pkgConfig = {
|
||||
node-sass = {
|
||||
nativeBuildInputs = with final.pkgs; [pkg-config];
|
||||
buildInputs = with final.pkgs; [libsass python3];
|
||||
postInstall = ''
|
||||
LIBSASS_EXT=auto yarn --offline run build
|
||||
rm build/config.gypi
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
|
|
Loading…
Reference in a new issue