Skip to content

Instantly share code, notes, and snippets.

@cessationoftime
Created July 28, 2014 00:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cessationoftime/083301871b7c980979c4 to your computer and use it in GitHub Desktop.
Save cessationoftime/083301871b7c980979c4 to your computer and use it in GitHub Desktop.
Example Nix expression, with python and python dependency
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