Created
June 16, 2019 02:09
-
-
Save samueldr/8e43824e8f459306f95f62310d1da9db to your computer and use it in GitHub Desktop.
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
~ $ nix-channel --add https://nixos.org/channels/nixos-unstable foobar | |
~ $ nix-channel --update | |
unpacking channels... | |
created 2 symlinks in user environment | |
~ $ nix repl | |
Welcome to Nix version 2.2.2. Type :? for help. | |
nix-repl> <foobar> | |
/Users/samuel/.nix-defexpr/channels/foobar | |
nix-repl> x = import <foobar> {} | |
nix-repl> x.hello | |
«derivation /nix/store/qfcp8vgqcb74msd71qhiwghi5zx085hw-hello-2.10.drv» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment