lol

Merge pull request #273084 from l0b0/fix-web-ext

web-ext: Include only production dependencies in build

authored by

Robert Schütz and committed by
GitHub
eec92ca9 338c49e0

+9
+9
pkgs/development/tools/web-ext/default.nix
··· 1 1 { lib 2 2 , buildNpmPackage 3 3 , fetchFromGitHub 4 + , runCommand 5 + , web-ext 4 6 }: 5 7 6 8 buildNpmPackage rec { ··· 15 17 }; 16 18 17 19 npmDepsHash = "sha256-KPBKUjCxva11w/E+Qhlx+1vikpCL7Hr9MiKenYHEVSU="; 20 + 21 + npmBuildFlags = [ "--production" ]; 22 + 23 + passthru.tests.help = runCommand "${pname}-tests" { } '' 24 + ${web-ext}/bin/web-ext --help 25 + touch $out 26 + ''; 18 27 19 28 meta = { 20 29 description = "A command line tool to help build, run, and test web extensions";