Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
fe33ca6c
Commit
fe33ca6c
authored
3 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
[ci] going back to pristine why3 1.4.0
package constraints have now been fixed upstream
parent
ab8a6bdc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nix/default.nix
+2
-17
2 additions, 17 deletions
nix/default.nix
with
2 additions
and
17 deletions
nix/default.nix
+
2
−
17
View file @
fe33ca6c
...
@@ -12,29 +12,14 @@ let mydir = builtins.getEnv("PWD");
...
@@ -12,29 +12,14 @@ let mydir = builtins.getEnv("PWD");
};
};
mk-opam-selection
=
{
name
,
opamSrc
?
{},
...
}:
{
mk-opam-selection
=
{
name
,
opamSrc
?
{},
...
}:
{
inherit
ocaml
;
inherit
ocaml
;
src
=
{
why3
=
why3
;
why3-coq
=
why3
;
}
//
opamSrc
;
src
=
opamSrc
;
override
=
{
pkgs
,
selection
}:
{
why3
=
super
:
super
.
overrideAttrs
(
attrs
:
{
prePatch
=
"ln -s opam/why3.opam why3.opam; "
+
attrs
.
prePatch
;
configurePhase
=
"autoconf; "
;
buildInputs
=
[
pkgs
.
autoconf
];
});
why3-coq
=
super
:
super
.
overrideAttrs
(
attrs
:
{
prePatch
=
"ln -s opam/why3-coq.opam why3-coq.opam; "
+
attrs
.
prePatch
;
buildPhase
=
"autoconf; "
+
attrs
.
buildPhase
;
buildInputs
=
[
pkgs
.
autoconf
];
}
);
}
;
selection
=
"
${
mydir
}
/
${
name
}
-
${
ocaml
.
version
}
-opam-selection.nix"
;
selection
=
"
${
mydir
}
/
${
name
}
-
${
ocaml
.
version
}
-opam-selection.nix"
;
};
};
opamPackages
=
opamPackages
=
[
"ocamlfind"
"zarith"
"ocamlgraph"
"yojson"
"zmq"
[
"ocamlfind"
"zarith"
"ocamlgraph"
"yojson"
"zmq"
"ppx_deriving"
"ppx_deriving_yojson"
"ppx_deriving"
"ppx_deriving_yojson"
"coq=8.13.0"
"alt-ergo=2.2.0"
"coq=8.13.0"
"alt-ergo=2.2.0"
"
${
why3
}
/opam/why3.opam"
"
${
why3
}
/opam/
why3-coq
.opam
"
"why3
=1.4.0"
"
why3-coq
=1.4.0
"
];
];
# only pure nix packages. See mk_deriv below for adding opam2nix packages
# only pure nix packages. See mk_deriv below for adding opam2nix packages
mk_buildInputs
=
{
nixPackages
?
[]
}
:
mk_buildInputs
=
{
nixPackages
?
[]
}
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment