Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ runCommand, spidermonkey }: 2 3runCommand "spidermonkey-test-run" 4 { 5 nativeBuildInputs = [ 6 spidermonkey 7 ]; 8 } 9 '' 10 diff -U3 --color=auto <(js <(echo "console.log('Hello, world\!')")) <(echo 'Hello, world!') 11 touch $out 12 ''