on master help sign in
add nix highligh
0a9744aHorki
tests/syntax-tests/highlighted/nix/test.nixnew file+17
@@ -0,0 +1,17 @@
1+{ nixpkgs ? <nixpkgs>
2+, nixpkgs' ? import nixpkgs {}}: with nixpkgs';
3+
4+# some comment
5+stdenv.mkDerivation rec {
6+ pname = "test";
7+ version = "0.2.3";
8+ name = "${pname}-${version}";
9+
10+ src = ./;
11+
12+ buildInputs = {
13+ gzip
14+ bzip2
15+ python27
16+ };
17+}
tests/syntax-tests/source/nix/test.nixnew file+17
@@ -0,0 +1,17 @@
1+{ nixpkgs ? <nixpkgs>
2+, nixpkgs' ? import nixpkgs {}}: with nixpkgs';
3+
4+# some comment
5+stdenv.mkDerivation rec {
6+ pname = "test";
7+ version = "0.2.3";
8+ name = "${pname}-${version}";
9+
10+ src = ./;
11+
12+ buildInputs = {
13+ gzip
14+ bzip2
15+ python27
16+ };
17+}