Created
January 13, 2018 00:23
-
-
Save LisannaAtHome/416d7a4154acfadfdefbf6999f2b1da9 to your computer and use it in GitHub Desktop.
Allows you to directly switch into a Nix environment built with buildEnv
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
#!/usr/bin/env bash | |
nix-env -ir -E "args: (import <nixpkgs> {}).lib.toDerivation $1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment