nushell on your web browser
nushell wasm terminal
at main 40 lines 703 B view raw
1{ 2 lib, 3 stdenv, 4 deno, 5}: 6stdenv.mkDerivation { 7 name = "faunu-modules"; 8 9 src = lib.fileset.toSource { 10 root = ../.; 11 fileset = lib.fileset.unions [ 12 ../.npmrc 13 ../deno.lock 14 ../deno.json 15 ../www 16 ]; 17 }; 18 19 outputHash = "sha256-Vl0zc9YI7zNIqBB3Bj2B+lqxT4jWCRihGClyW0FHBmM="; 20 outputHashAlgo = "sha256"; 21 outputHashMode = "recursive"; 22 23 nativeBuildInputs = [deno]; 24 25 dontConfigure = true; 26 dontCheck = true; 27 dontFixup = true; 28 dontPatchShebangs = true; 29 30 postUnpack = '' 31 32 ''; 33 buildPhase = '' 34 HOME=$TMPDIR deno install --allow-scripts=npm:@swc/core --frozen --seed 8008135 35 ''; 36 installPhase = '' 37 cp -R node_modules $out 38 ls -la $out 39 ''; 40}