Created
July 28, 2014 00:05
-
-
Save cessationoftime/083301871b7c980979c4 to your computer and use it in GitHub Desktop.
Example Nix expression, with python and python dependency
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
let | |
pkgs = import <nixpkgs> {}; | |
in | |
{ stdenv ? pkgs.stdenv, python ? pkgs.python, pythonIRClib ? pkgs.pythonIRClib }: | |
stdenv.mkDerivation { | |
name = "python-nix"; | |
version = "0.1.0.0"; | |
src = ./.; | |
buildInputs = [ python pythonIRClib ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment