mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +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
|
|
''
|