add nix highligh

This commit is contained in:
Horki 2020-10-25 19:06:05 +01:00 committed by David Peter
parent 95954b7c57
commit 0a9744ac95
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,17 @@
{ nixpkgs ? <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
 };
}

View File

@ -0,0 +1,17 @@
{ nixpkgs ? <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
};
}