on master help sign in
add nix highligh
commit0a9744ac95d37b4c1bd7008e08ff5d269432e4aa authorHorki <ivanzvonimirhorvat@gmail.com> dateSun 25 Oct 2020, 19:06 (6 years ago) parent95954b7
2 files changed+34
tests/syntax-tests/highlighted/nix/test.nix+17 tests/syntax-tests/source/nix/test.nix+17
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+}