Created
October 20, 2017 13:22
-
-
Save disassembler/341fe67307e6e7ab226ea9b9c8a5af25 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, smartmontools, pciutils }: | |
stdenv.mkDerivation { | |
name = "hello-a"; | |
src = ./hello-2.9.tar.gz; | |
buildInputs = [ smartmontools ]; | |
propagatedBuildInputs = [ pciutils ]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, a }: | |
stdenv.mkDerivation { | |
name = "hello-b"; | |
src = ./hello-2.9.tar.gz; | |
buildInputs = [ a hdparm ]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, b }: | |
stdenv.mkDerivation { | |
name = "hello-c"; | |
src = ./hello-2.9.tar.gz; | |
buildInputs = [ b ]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
rec { | |
a = callPackage ./a.nix { }; | |
b = callPackage ./b.nix { inherit a; }; | |
c = callPackage ./c.nix { inherit b; }; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment