Last active
August 29, 2015 14:04
-
-
Save cessationoftime/96542fb32f302cd2082e to your computer and use it in GitHub Desktop.
Nix, with python, bad expression
This file contains hidden or 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
#this is a bad version of a python NIX expression, with pythonIRClib dependency. | |
#arguments for the nix expression, syntax is { argname ? defaultvalue, argname ? defaultvalue } | |
{ stdenv ? (import <nixpkgs> {}).stdenv ,python ? (import <nixpkgs> {}).python, pythonPackages ? (import <nixpkgs> {}).pythonPackages, pythonIRClib ? (import <nixpkgs> {}).pythonIRClib }: | |
stdenv.mkDerivation { | |
name = "python-nix"; | |
version = "0.1.0.0"; | |
src = ./.; | |
buildDepends = [ pythonIRClib ]; #buildDepends is wrong unless working with Haskell. | |
buildTools = [ python ]; | |
PYTHONPATH="${pythonIRClib}/lib/python2.7/site-packages"; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment