Skip to content

Instantly share code, notes, and snippets.

@Kiwi
Created October 29, 2019 10:05
Show Gist options
  • Save Kiwi/75b6a7586c421e656b570a2a35bdfaff to your computer and use it in GitHub Desktop.
Save Kiwi/75b6a7586c421e656b570a2a35bdfaff to your computer and use it in GitHub Desktop.
installing do-agent from a channel from someones branch for a pull request
09:59:59 [kiwi@mvp-nixos nixpkgs]$ sudo nix-channel --add https://github.com/yvt/nixpkgs/archive/init-do-agent-2.tar.gz do-agent
[sudo] password for kiwi:
10:00:14 [kiwi@mvp-nixos nixpkgs]$ sudo nix-channel --update
these derivations will be built:
/nix/store/j1w83jk2mip8lgl64zlk0yh4dsapq9d2-do-agent-2.drv
building '/nix/store/j1w83jk2mip8lgl64zlk0yh4dsapq9d2-do-agent-2.drv'...
unpacking channels...
created 7 symlinks in user environment
10:03:15 [kiwi@mvp-nixos nixpkgs]$ nix-env -iAS do-agent.do-agent
do-agent.do-agent
10:03:15 [kiwi@mvp-nixos nixpkgs]$ nix-env -iA do-agent.do-agent
installing 'do-agent-3.5.6'
these derivations will be built:
/nix/store/9i8qcrfy73by9a96pnykwkbf8i4k4j54-remove-references-to.drv
/nix/store/hi9vps0sm5kkplmlna6vgkdf6jcx619s-do-agent-3.5.6.drv
these paths will be fetched (104.58 MiB download, 392.99 MiB unpacked):
/nix/store/3y5iwwjyhgflidl631w9nk3s6ckw5l9d-do-agent-3.5.6-go-modules
/nix/store/4283gl7379f6dwvm98wy6673hw8mj87v-go-1.12.9
/nix/store/k7yalpjh53xra535xaip1pfq6q4jgsc0-stdenv-linux
/nix/store/sv0d4mvcmxdbddg5g8j96g7m857iq9mq-source
copying path '/nix/store/3y5iwwjyhgflidl631w9nk3s6ckw5l9d-do-agent-3.5.6-go-modules' from 'https://cache.nixos.org'...
copying path '/nix/store/sv0d4mvcmxdbddg5g8j96g7m857iq9mq-source' from 'https://cache.nixos.org'...
copying path '/nix/store/4283gl7379f6dwvm98wy6673hw8mj87v-go-1.12.9' from 'https://cache.nixos.org'...
copying path '/nix/store/k7yalpjh53xra535xaip1pfq6q4jgsc0-stdenv-linux' from 'https://cache.nixos.org'...
building '/nix/store/9i8qcrfy73by9a96pnykwkbf8i4k4j54-remove-references-to.drv'...
building '/nix/store/hi9vps0sm5kkplmlna6vgkdf6jcx619s-do-agent-3.5.6.drv' on 'ssh://dell-nixos'...
copying 1 paths...
copying path '/nix/store/vjq404av81rmdgwki83s1dwq2l2srsh7-do-agent-3.5.6' from 'ssh://dell-nixos'...
building '/nix/store/y640s31yi7fzp7s50k2w7nxsriqnp9k6-user-environment.drv'...
created 138 symlinks in user environment
10:03:42 [kiwi@mvp-nixos nixpkgs]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment