Created
June 25, 2019 18:38
-
-
Save georgyo/a85061941d9b225721591dc1f077d406 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
% nix-build default.nix -A ntpsec :( | |
/nix/store/in8dvdi5a8w6cybm3vxw4ys27kaz93iq-ntpsec-1.1.4 | |
% ./result/bin/ntpq | |
ntpq: can't find Python NTP library -- check PYTHONPATH. | |
No module named ntp.control | |
% head -n 1 ./result/bin/ntpq :( | |
#!/nix/store/k4gf6ajykc2i8zp2zk5x0h7mf4r08cv6-python-2.7.16/bin/python | |
% /nix/store/k4gf6ajykc2i8zp2zk5x0h7mf4r08cv6-python-2.7.16/bin/python :( | |
Python 2.7.16 (default, Mar 2 2019, 18:34:01) | |
[GCC 7.4.0] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import sys | |
>>> sys.path | |
['', '/nix/store/k4gf6ajykc2i8zp2zk5x0h7mf4r08cv6-python-2.7.16/lib/python27.zip', '/nix/store/k4gf6ajykc2i8zp2zk5x0h7mf4r08cv6-python-2.7.16/lib/python2.7', '/nix/store/k4gf6ajykc2i8zp2zk5x0h7mf4r08cv6-python-2.7.16/lib/python2.7/plat-linux2', '/nix/store/k4gf6ajykc2i8zp2zk5x0h7mf4r08cv6-python-2.7.16/lib/python2.7/lib-tk', '/nix/store/k4gf6ajykc2i8zp2zk5x0h7mf4r08cv6-python-2.7.16/lib/python2.7/lib-old', '/nix/store/k4gf6ajykc2i8zp2zk5x0h7mf4r08cv6-python-2.7.16/lib/python2.7/lib-dynload', '/nix/store/k4gf6ajykc2i8zp2zk5x0h7mf4r08cv6-python-2.7.16/lib/python2.7/site-packages'] | |
% ls result/lib/python2.7/site-packages | |
ntp ntp-1.1.4.egg-info | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment