Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Forked from spacekitteh/shell.nix
Created March 8, 2017 01:24
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 cleverca22/1a0242f1e8cb50ca7ca8308b72fc5fd8 to your computer and use it in GitHub Desktop.
Save cleverca22/1a0242f1e8cb50ca7ca8308b72fc5fd8 to your computer and use it in GitHub Desktop.
trying to figure out nix shell
{ pkgs ? import <nixpkgs> {}, pkgs_i686 ? pkgs.pkgsi686Linux }:
rec {
myGit = pkgs.git.overrideDerivation (attrs: {
src = ./.;
withManual = false;
guiSupport = false;
tcl=null;
});
env = runCommand "env" { buildInputs = [ myGit ]; } "";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment