Skip to content

Commit

Permalink
discourse: Remove sass-embedded patch
Browse files Browse the repository at this point in the history
This was fixed globally in #240000 and thus is not needed here anymore.
  • Loading branch information
TheNeikos committed Sep 13, 2023
1 parent 48f63c5 commit 8e8a6ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
15 changes: 0 additions & 15 deletions pkgs/servers/web-apps/discourse/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
, fixup_yarn_lock
, nodePackages
, nodejs_16
, dart-sass-embedded
, jq
, moreutils

Expand Down Expand Up @@ -189,20 +188,6 @@ let
cp $(readlink -f ${libpsl}/lib/libpsl.so) vendor/libpsl.x86_64.so
'';
};
sass-embedded = gems.sass-embedded // {
dontBuild = false;
# `sass-embedded` depends on `dart-sass-embedded` and tries to
# fetch that as `.tar.gz` from GitHub releases. That `.tar.gz`
# can also be specified via `SASS_EMBEDDED`. But instead of
# compressing our `dart-sass-embedded` just to decompress it
# again, we simply patch the Rakefile to symlink that path.
patches = [
./rubyEnv/sass-embedded-static.patch
];
postPatch = ''
export SASS_EMBEDDED=${dart-sass-embedded}/bin
'';
};
};

groups = [
Expand Down
21 changes: 0 additions & 21 deletions pkgs/servers/web-apps/discourse/rubyEnv/sass-embedded-static.patch

This file was deleted.

0 comments on commit 8e8a6ed

Please sign in to comment.