Skip to content

Instantly share code, notes, and snippets.

@colemickens
Created October 24, 2018 22:10
Show Gist options
  • Save colemickens/8cc972a8972aac7c5033bb83250531ba to your computer and use it in GitHub Desktop.
Save colemickens/8cc972a8972aac7c5033bb83250531ba to your computer and use it in GitHub Desktop.
[cole@xeep:/tmp/adfadsf]$ nix-env --uninstall wlroots
[cole@xeep:/tmp/adfadsf]$ ls -al $(which rootston)
which: no rootston in (/home/cole/.local/bin:/home/cole/.local/bin:/home/cole/bin:/run/wrappers/bin:/home/cole/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/home/cole/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/cole/bin)
total 0
drwxr-xr-x 2 cole cole 40 Oct 24 15:08 .
drwxrwxrwt 16 root root 400 Oct 24 15:08 ..
[cole@xeep:/tmp/adfadsf]$ nix-env -f /etc/nixpkgs-pr-wlroots/ -iA 'wlroots.examples'
installing 'wlroots-0.1'
[cole@xeep:/tmp/adfadsf]$ ls -al $(which rootston) | rg -- "wlroots(.+)-bin"
lrwxrwxrwx 1 root root 72 Dec 31 1969 /home/cole/.nix-profile/bin/rootston -> /nix/store/jzav7izmxdwf875rcz8i976rzch8kwz0-wlroots-0.1-bin/bin/rootston
"wlroots-0.1-bin" is highlighted...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment