Skip to content

Commit

Permalink
Merge pull request #100606 from cideM/node-merge-pr
Browse files Browse the repository at this point in the history
nodePackages: init sass clubhouse-cli makam inliner undollar (combine several PRs)
  • Loading branch information
ryantm authored Oct 16, 2020
2 parents afe60ae + b1b63b6 commit a1a01bd
Show file tree
Hide file tree
Showing 3 changed files with 3,676 additions and 2,080 deletions.
12 changes: 12 additions & 0 deletions pkgs/development/node-packages/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,18 @@ let
nativeBuildInputs = drv.nativeBuildInputs or [] ++ [ pkgs.psc-package self.pulp ];
});

makam = super.makam.override {
buildInputs = [ pkgs.nodejs pkgs.makeWrapper ];
postFixup = ''
wrapProgram "$out/bin/makam" --prefix PATH : ${stdenv.lib.makeBinPath [ pkgs.nodejs ]}
${
if stdenv.isLinux
then "patchelf --set-interpreter ${stdenv.glibc}/lib/ld-linux-x86-64.so.2 \"$out/lib/node_modules/makam/makam-bin-linux64\""
else ""
}
'';
};

mirakurun = super.mirakurun.override rec {
nativeBuildInputs = with pkgs; [ makeWrapper ];
postInstall = let
Expand Down
5 changes: 5 additions & 0 deletions pkgs/development/node-packages/node-packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
, "browserify"
, "castnow"
, "clean-css-cli"
, "clubhouse-cli"
, "coc-css"
, "coc-emmet"
, "coc-eslint"
Expand Down Expand Up @@ -82,6 +83,7 @@
, "gitmoji-cli"
, "graphql-cli"
, "grunt-cli"
, "makam"
, "gtop"
, "gulp"
, "gulp-cli"
Expand All @@ -90,6 +92,7 @@
, "htmlhint"
, "http-server"
, "hueadm"
, "inliner"
, "imapnotify"
, "indium"
, "insect"
Expand Down Expand Up @@ -161,6 +164,7 @@
, "rollup"
, { "rust-analyzer-build-deps": "../../misc/vscode-extensions/rust-analyzer/build-deps" }
, "s3http"
, "sass"
, "semver"
, "serve"
, "serverless"
Expand Down Expand Up @@ -201,6 +205,7 @@
, "typescript"
, "typescript-language-server"
, "uglify-js"
, "undollar"
, "ungit"
, "vega-cli"
, "vega-lite"
Expand Down
Loading

0 comments on commit a1a01bd

Please sign in to comment.