Commit 0bc2923e authored by Kira Bruneau's avatar Kira Bruneau
Browse files

Revert "buildNodePackage: enable strictDeps"

This reverts commit e0705250, which
broke patching `#!/usr/bin/env node` shebangs.

It also modified a generated file, which would get reverted the next
time node-env.nix is regenerated.

If we want to enable strictDeps for node packages we should update
node2nix instead.
parent 4c9044c4
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -540,17 +540,16 @@ let
    in
    stdenv.mkDerivation (
      {
        name = name + lib.optionalString (version != null) "-${version}";
        strictDeps = true;
        name = "${name}${if version == null then "" else "-${version}"}";
        buildInputs =
          [ tarWrapper ]
          [
            tarWrapper
            python
            nodejs
          ]
          ++ lib.optional (stdenv.hostPlatform.isLinux) pkgs.util-linux
          ++ lib.optional (stdenv.hostPlatform.isDarwin) libtool
          ++ buildInputs;
        propagatedNativeBuildInputs = [
          nodejs
          python
        ];

        inherit nodejs;