Advertisement
Guest User

Untitled

a guest
Feb 28th, 2021
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. [tom@tom:~/nixpkgs]$ nix-shell -E 'with import <nixpkgs>{}; derivation {name="fake";builder="fake";system="x86_64-linux";b=pkgs.llvmPackages_11.stdenv;}'
  2.  
  3. [nix-shell:~/nixpkgs]$ echo "$b"
  4. /nix/store/yd21j0g0ryz73kkb07wn3frgcg6fbanq-stdenv-linux
  5.  
  6. [nix-shell:~/nixpkgs]$ unset PATH; source /nix/store/yd21j0g0ryz73kkb07wn3frgcg6fbanq-stdenv-linux/setup
  7.  
  8. [nix-shell:~/nixpkgs]$ type clang
  9. clang is /nix/store/r1p6ni32bdvbxn2yz2n1mxx39f25w5dw-clang-wrapper-11.0.1/bin/clang
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement