Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created July 12, 2018 02:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/0695a8b733700751c33bad50dd06d018 to your computer and use it in GitHub Desktop.
Save cleverca22/0695a8b733700751c33bad50dd06d018 to your computer and use it in GitHub Desktop.
[clever@amd-nixos:~/nixpkgs]$ nix-shell -p 'python.withPackages (ps: [ ps.tkinter ])'
these paths will be fetched (0.59 MiB download, 3.01 MiB unpacked):
/nix/store/12jg83pxd7axm4bkvid5myvqbi895f0s-python-2.7.15-env
/nix/store/6bji9v9d54ldinxmhxqz8qvmwfgz3gv4-python2.7-tkinter-2.7.15
/nix/store/8w4m980qvndxbvx32s0h5w0x6a9828yi-bash-4.4-p23-dev
/nix/store/aqg5isc84zwhlb73zba9ikkjjpvlc3rl-bash-4.4-p23-man
/nix/store/iwwp7y7y03r1z84qc7hw1shwqj63n9yg-bash-4.4-p23-info
/nix/store/ncgxrgbqbmism63vzhn3xg6jinx9pnwv-bash-4.4-p23-doc
/nix/store/svqz53x33gsjh41h357azm8fk755ynma-bash-interactive-4.4-p23-dev
copying path '/nix/store/ncgxrgbqbmism63vzhn3xg6jinx9pnwv-bash-4.4-p23-doc' from 'https://cache.nixos.org'...
copying path '/nix/store/svqz53x33gsjh41h357azm8fk755ynma-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/8w4m980qvndxbvx32s0h5w0x6a9828yi-bash-4.4-p23-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/6bji9v9d54ldinxmhxqz8qvmwfgz3gv4-python2.7-tkinter-2.7.15' from 'https://cache.nixos.org'...
copying path '/nix/store/aqg5isc84zwhlb73zba9ikkjjpvlc3rl-bash-4.4-p23-man' from 'https://cache.nixos.org'...
copying path '/nix/store/iwwp7y7y03r1z84qc7hw1shwqj63n9yg-bash-4.4-p23-info' from 'https://cache.nixos.org'...
copying path '/nix/store/12jg83pxd7axm4bkvid5myvqbi895f0s-python-2.7.15-env' from 'https://cache.nixos.org'...
[nix-shell:~/nixpkgs]$ python
Python 2.7.15 (default, Apr 29 2018, 23:18:59)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import _tkinter
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment