mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
11 lines
229 B
Nix
11 lines
229 B
Nix
{ runCommand, spidermonkey }:
|
|
|
|
runCommand "spidermonkey-test-run" {
|
|
nativeBuildInputs = [
|
|
spidermonkey
|
|
];
|
|
} ''
|
|
diff -U3 --color=auto <(js <(echo "console.log('Hello, world\!')")) <(echo 'Hello, world!')
|
|
touch $out
|
|
''
|