Comments (16)
The mystery thickens: I just tested on the v8.12
branch, and it turns out num
is not a necessary Nix dependency there.
from aac-tactics.
@Zimmi48 so the change was introduced between 8.12+beta1 and 8.12.0? Then it makes sense that I couldn't trigger it with Nix here, since apparently, 8.12
for Nix was then equal to 8.12+beta1, see this Travis job.
from aac-tactics.
Ah OK, since you said
v8.12
I thought you meant thev8.12
branch.
This was my mistake, since I didn't keep track of whether the Nix CI had 8.12
or https://github.com/coq/coq-on-cachix/tarball/v8.12
.
from aac-tactics.
I thought the fix would be as simple as adding num
in default.nix
to read:
buildInputs = with coq.ocamlPackages; [ ocaml findlib num ]
... but this results in every Nix CI run building Coq and everything else from scratch, which takes 20+ minutes.
from aac-tactics.
Your fix is probably unrelated to the rebuilding of Coq. Looking at a failed log, I can see "warning: ignoring untrusted substituter" at the top. This is an independent issue that is likely to show up in other projects as well...
from aac-tactics.
@Zimmi48 so for precision, I did the right thing with num
? And we should have this also in our default.nix.mustache
template?
from aac-tactics.
Yes, but I'm wondering why the need for num
appeared only recently. It could indeed make sense to add it to the template if other plugins are likely to have the same issue.
Regarding the binary cache issue, looking at the build history, this is likely related to the fact that the version of Nix is not pinned in .travis.yml
(contrary to the template): therefore, the Nix build started failing a month ago, then fixed itself when the default version was bumped in Travis recently, but this also triggered this issue and the 30-minute (instead of 3-minute) builds.
from aac-tactics.
Hum no, actually, here is another build failing to use the binary cache despite the pinned Nix version: https://travis-ci.com/github/coq-community/HighSchoolGeometry/jobs/358107996
from aac-tactics.
@palmskog We need to copy these three lines for the Cachix substitution to work again:
Would you mind testing this in your branch before we apply it to the templates?
from aac-tactics.
Works fine for me after adding the three lines, see https://travis-ci.com/github/coq-community/aac-tactics/jobs/360377680
from aac-tactics.
I'm still puzzled by the sudden need for num
though. From what I can see in the dune
file contained in the src
directory, num
shouldn't even be a direct dependency. Furthermore, we reuse the ocamlPackages
from Coq and nothing changed in the master
branch regarding this between June 27th and June 30th, when this started to fail because with this error. It may be something that was changed in nixpkgs but I'm not sure exactly what (and the commit log is hard to browse). Maybe @vbgl would know more.
from aac-tactics.
The mystery thickens: I just tested on the
v8.12
branch, and it turns outnum
is not a necessary Nix dependency there.
Was your v8.12
branch up-to-date? When updating the Coq version from 8.12+beta1 to 8.12.0 in nixpkgs, the addition of the num
dependency to several plugins was required. @vbgl traced back the change to coq/coq#12604.
from aac-tactics.
Ah OK, since you said v8.12
I thought you meant the v8.12
branch.
from aac-tactics.
An explicit dependency on num
is no longer needed. I've removed it from the default.nix
in the master
branch.
from aac-tactics.
@Zimmi48 but it will still be needed for 8.12, right?
from aac-tactics.
No, this fix was also applied in NixOS/nixpkgs#94230 which bumped the nixpkgs version from 8.12+beta1 to 8.12.0, and it will be backported to v8.12
so that people testing on https://github.com/coq/coq-on-cachix/tarball/v8.12 instead of "8.12" from nixpkgs can benefit from it as well.
from aac-tactics.
Related Issues (20)
- Please pick the version you prefer for Coq 8.15 in Coq Platform 2022.02 HOT 5
- Please pick the version you prefer for Coq 8.16 in Coq Platform 2022.09
- Transfer general Instances.v lemma to Stdlib HOT 3
- Please pick the version you prefer for Coq 8.17 in Coq Platform 2023.03
- Please pick the version you prefer for Coq 8.18 in Coq Platform 2023.10
- aac_reflexivity leads to QED blow up in trivial case (just one unit removed) HOT 7
- aac tactics don't handle goal selectors properly HOT 3
- Please pick the version you prefer for Coq 8.19 in Coq Platform 2024.01
- aac_congruence HOT 20
- [warnings] Please fix OCaml warnings
- Deprecated functions to interface with Coq-side of the plugin
- Ugly retyping-hack to solve universe-constrains HOT 4
- Deprecation of Pervasives in OCaml 4.08 and later HOT 1
- Tag for Coq 8.12.0 HOT 4
- Please create a tag for the upcoming release of Coq 8.13 HOT 2
- Build fails with Nix on Coq 8.11 HOT 5
- Quantifying over Type HOT 1
- Please create a tag for the upcoming release of Coq 8.14 HOT 6
- Support for idempotent operations HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aac-tactics.