Skip to content

Commit

Permalink
chore(dev): add sass-embedded patchelf script alias to devenv
Browse files Browse the repository at this point in the history
  • Loading branch information
kolaente committed Dec 6, 2024
1 parent f0ebc35 commit a325b27
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
let
pkgs-unstable = import inputs.nixpkgs-unstable { system = pkgs.stdenv.system; };
in {
scripts.patch-sass-embedded.exec = ''
find node_modules/.pnpm/sass-embedded-linux-*/node_modules/sass-embedded-linux-*/dart-sass/src -name dart -print0 | xargs -I {} -0 patchelf --set-interpreter "$(<$NIX_CC/nix-support/dynamic-linker)" {}
'';

packages = with pkgs-unstable; [
# General tools
git-cliff
Expand All @@ -27,7 +31,6 @@ in {

go = {
enable = true;
enableHardeningWorkaround = true;
};
};

Expand Down

0 comments on commit a325b27

Please sign in to comment.