Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix name of standard library in version 1.5 #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alan-j-hu
Copy link

No description provided.

@jonaprieto
Copy link
Member

jonaprieto commented Mar 15, 2021

The current file for the standard library is taken from committed file v1.5 of https://github.com/agda/agda-stdlib/blob/master/standard-library.agda-lib.
Did your installation fail? I haven't tried yet.

@alan-j-hu
Copy link
Author

Yes, my installation failed.

$ apkg install standard-library
Installing (standard-library) from the index...
Installing from git: https://github.com/agda/agda-stdlib.git
Using temporary directory: /tmp/tmpud5wlzum
Downloading https://github.com/agda/agda-stdlib.git (223.8 KiB)
Git branch: master
|██████████████████████████████| 100%              
Library file detected: standard-library.agda-lib
Library version: v1.5
Adding /home/me/.apkg@agda-2.6.1.3/package-sources/standard-library-1.5@v1.5
error:  No file descriptor for the version v1.5 of standard-library-1.5.
error:  we couldn't install the version you specified.
Unsuccessfully installation (standard-library).
[!] /home/me/.agda/libraries already exists
Do you want to overwrite it? [y/N]: N
[!] /home/me/.agda/defaults already exists
Do you want to overwrite it? [y/N]: N

Installing 1.4 works:

$ apkg install standard-library --version v1.4
Installing (standard-library) from the index...
Installing from git: https://github.com/agda/agda-stdlib.git
Using temporary directory: /tmp/tmpvv6sjh00
Downloading https://github.com/agda/agda-stdlib.git (223.8 KiB)
Git branch: master
|██████████████████████████████| 100%              
Library file detected: standard-library.agda-lib
Library version: v1.4
Adding /home/me/.apkg@agda-2.6.1.3/package-sources/standard-library@v1.4
Successfully installed (standard-library@v1.4).
	Source code available on: /home/me/.apkg@agda-2.6.1.3/package-sources/standard-library@v1.4
[!] /home/me/.agda/libraries already exists
Do you want to overwrite it? [y/N]: Y
Updated (/home/me/.agda/libraries)
[!] /home/me/.agda/defaults already exists
Do you want to overwrite it? [y/N]: Y
Updated (/home/me/.agda/defaults)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants