Created
July 31, 2017 04:55
-
-
Save cleverca22/872b21404062218409315a39a080091a 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
[clever@amd-nixos:~]$ nix-repl | |
Welcome to Nix version 1.11.11. Type :? for help. | |
nix-repl> :l <nixpkgs> | |
Added 7733 variables. | |
nix-repl> stdenv.system | |
"x86_64-linux" | |
nix-repl> libs = { | |
"i686-linux" = [ | |
stdenv.cc.cc | |
qt4 | |
libxml2 | |
glibc | |
sane-backends | |
xorg.libXext | |
xorg.libX11 | |
xorg.libXdmcp | |
xorg.libXau | |
xorg.libxcb | |
]; | |
"x86_64-linux" = [ | |
stdenv.cc.cc | |
qt5 | |
libxml2 | |
glibc | |
sane-backends | |
xorg.libXext | |
xorg.libX11 | |
xorg.libXdmcp | |
xorg.libXau | |
xorg.libxcb | |
]; | |
} | |
nix-repl> libs | |
{ i686-linux = [ ... ]; x86_64-linux = [ ... ]; } | |
nix-repl> libs."${stdenv.system}" | |
[ «derivation /nix/store/zqfdl228pbbdibjby1a7jxvf95h97v0w-gcc-5.4.0.drv» { ... } «deriv.... | |
nix-repl> qt5 | |
{ callPackage = «lambda»; env = { ... }; full = «derivation /nix/s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment