diff --git a/tests/syntax-tests/highlighted/nix/test.nix b/tests/syntax-tests/highlighted/nix/test.nix new file mode 100644 index 00000000..b210bc63 --- /dev/null +++ b/tests/syntax-tests/highlighted/nix/test.nix @@ -0,0 +1,17 @@ +{ nixpkgs ?  +, nixpkgs' ? import nixpkgs {}}: with nixpkgs'; + +# some comment +stdenv.mkDerivation rec { + pname = "test"; + version = "0.2.3"; + name = "${pname}-${version}"; + + src = ./; + + buildInputs = { + gzip + bzip2 + python27 + }; +} diff --git a/tests/syntax-tests/source/nix/test.nix b/tests/syntax-tests/source/nix/test.nix new file mode 100644 index 00000000..e6fed002 --- /dev/null +++ b/tests/syntax-tests/source/nix/test.nix @@ -0,0 +1,17 @@ +{ nixpkgs ? +, nixpkgs' ? import nixpkgs {}}: with nixpkgs'; + +# some comment +stdenv.mkDerivation rec { + pname = "test"; + version = "0.2.3"; + name = "${pname}-${version}"; + + src = ./; + + buildInputs = { + gzip + bzip2 + python27 + }; +} \ No newline at end of file