ruby-modules/gem-config: Add fix for sass-embedded
This commit is contained in:
parent
3682aff2ae
commit
b9b360217c
|
@ -25,7 +25,7 @@
|
|||
, cairo, re2, rake, gobject-introspection, gdk-pixbuf, zeromq, czmq, graphicsmagick, libcxx
|
||||
, file, libvirt, glib, vips, taglib, libopus, linux-pam, libidn, protobuf, fribidi, harfbuzz
|
||||
, bison, flex, pango, python3, patchelf, binutils, freetds, wrapGAppsHook, atk
|
||||
, bundler, libsass, libexif, libselinux, libsepol, shared-mime-info, libthai, libdatrie
|
||||
, bundler, libsass, dart-sass, libexif, libselinux, libsepol, shared-mime-info, libthai, libdatrie
|
||||
, CoreServices, DarwinTools, cctools, libtool, discount, exiv2, libmaxminddb, libyaml
|
||||
, autoSignDarwinBinariesHook, fetchpatch
|
||||
}@args:
|
||||
|
@ -706,6 +706,16 @@ in
|
|||
buildFlags = [ "--disable-lto" ];
|
||||
});
|
||||
|
||||
sass-embedded = attrs: {
|
||||
# Patch the Rakefile to use our dart-sass and not try to fetch anything.
|
||||
dontBuild = false;
|
||||
postPatch = ''
|
||||
substituteInPlace ext/sass/Rakefile \
|
||||
--replace \'dart-sass/sass\' \'${dart-sass}/bin/sass\' \
|
||||
--replace ' => %w[dart-sass]' ""
|
||||
'';
|
||||
};
|
||||
|
||||
scrypt = attrs: lib.optionalAttrs stdenv.isDarwin {
|
||||
dontBuild = false;
|
||||
postPatch = ''
|
||||
|
|
Loading…
Reference in a new issue