Created
January 15, 2020 14:09
-
-
Save ryantm/bf88b89f7eac126710a208b898b4d25f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
[ryantm@home1:~/p]$ cd nixpkgs-update-github-releases/ | |
[ryantm@home1:~/p/nixpkgs-update-github-releases]$ ls | |
loadMetaFromPath.nix main.py | |
[ryantm@home1:~/p/nixpkgs-update-github-releases]$ ./main.py | |
these derivations will be built: | |
/nix/store/3mfkyds29036s600bqcg7iwsg8afi11z-python3-3.7.5-env.drv | |
building '/nix/store/3mfkyds29036s600bqcg7iwsg8afi11z-python3-3.7.5-env.drv'... | |
created 270 symlinks in user environment | |
unpacking 'https://github.com/nixos/nixpkgs/archive/master.tar.gz'... | |
error: cannot convert a function to JSON | |
Traceback (most recent call last): | |
File "./main.py", line 139, in <module> | |
main() | |
File "./main.py", line 133, in main | |
meta = loadVersions() | |
File "./main.py", line 35, in loadVersions | |
'--eval', '--json', | |
File "/nix/store/d89hv7fvmky59qqgzb1yiwagv34i1q75-python3-3.7.5/lib/python3.7/subprocess.py", line 411, in check_output | |
**kwargs).stdout | |
File "/nix/store/d89hv7fvmky59qqgzb1yiwagv34i1q75-python3-3.7.5/lib/python3.7/subprocess.py", line 512, in run | |
output=stdout, stderr=stderr) | |
subprocess.CalledProcessError: Command '['nix-instantiate', '/home/ryantm/p/nixpkgs-update-github-releases/loadMetaFromPath.nix', '--arg', 'url', 'https://github.com/nixos/nixpkgs/archive/master.tar.gz', '--eval', '--json']' returned non-zero exit status 1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment