X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=nixops%2Fmodules%2Fwebsites%2Ftools%2Fmastodon%2Fmastodon.nix;h=ae2a3f609c179f587b3d57c8e942d4b2d9e461f3;hb=24a7da33965001415edb022245b289bb5fc49a07;hp=8650ee310b860e9e28e5d6780b60b421c69aa771;hpb=79f239be693bb2bad9e1cc64a32e874d96cc4cf7;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/nixops/modules/websites/tools/mastodon/mastodon.nix b/nixops/modules/websites/tools/mastodon/mastodon.nix index 8650ee3..ae2a3f6 100644 --- a/nixops/modules/websites/tools/mastodon/mastodon.nix +++ b/nixops/modules/websites/tools/mastodon/mastodon.nix @@ -42,7 +42,7 @@ let buildInputs = with pkgs; [ nodePackages.node-pre-gyp ]; }; node-sass = { - buildInputs = with pkgs; [ binutils libsass python ]; + buildInputs = with pkgs; [ libsass python ]; postInstall = let nodeHeaders = pkgs.fetchurl { url = "https://nodejs.org/download/release/v${pkgs.nodejs.version}/node-v${pkgs.nodejs.version}-headers.tar.gz"; @@ -50,7 +50,6 @@ let }; in '' - export AR=${pkgs.binutils.bintools}/bin/ar node scripts/build.js --tarball=${nodeHeaders} ''; };