Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
542 B · 32 lines
Nix
at flake-libs
123456789101112131415161718192021222324252627282930313233{ stdenv, fetchYarnDeps, yarnConfigHook, yarnBuildHook, nodejs, version, src,}:
stdenv.mkDerivation (finalAttrs: { pname = "locust-ui"; inherit version src;
yarnOfflineCache = fetchYarnDeps { yarnLock = "${finalAttrs.src}/yarn.lock"; hash = "sha256-OTGTpAAxr8rmCi5oEWIWzwZqiP3Cx3vyc3r2kbcLyUg="; };
nativeBuildInputs = [ yarnConfigHook yarnBuildHook nodejs ];
dontNpmPrune = true; yarnBuildScript = "build"; postInstall = '' mkdir -p $out/dist cp -r dist/** $out/dist '';})