lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #198950 from SuperSandro2000/yarn2nix-script

authored by

Sandro and committed by
GitHub
a07559ea c1d12de2

+3 -3
+3 -3
pkgs/development/tools/yarn2nix-moretea/yarn2nix/default.nix
··· 58 58 "--offline" 59 59 "--frozen-lockfile" 60 60 "--ignore-engines" 61 - "--ignore-scripts" 62 61 ]; 63 62 64 63 mkYarnModules = { ··· 70 69 yarnNix ? mkYarnNix { inherit yarnLock; }, 71 70 offlineCache ? importOfflineCache yarnNix, 72 71 yarnFlags ? [ ], 72 + ignoreScripts ? true, 73 73 pkgConfig ? {}, 74 74 preBuild ? "", 75 75 postBuild ? "", ··· 141 141 142 142 ${workspaceDependencyLinks} 143 143 144 - yarn install ${lib.escapeShellArgs (defaultYarnFlags ++ yarnFlags)} 144 + yarn install ${lib.escapeShellArgs (defaultYarnFlags ++ lib.optional ignoreScripts "--ignore-scripts" ++ yarnFlags)} 145 145 146 146 ${lib.concatStringsSep "\n" postInstall} 147 147 ··· 413 413 # we import package.json from the unfiltered source 414 414 packageJSON = ./package.json; 415 415 416 - yarnFlags = defaultYarnFlags ++ ["--production=true"]; 416 + yarnFlags = defaultYarnFlags ++ [ "--ignore-scripts" "--production=true" ]; 417 417 418 418 nativeBuildInputs = [ pkgs.makeWrapper ]; 419 419