Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stefan Gränitz
Frama Clang
Commits
35d35a3c
Commit
35d35a3c
authored
Aug 05, 2019
by
François Bobot
Committed by
Virgile Prevosto
Jul 06, 2021
Browse files
Update nix/frama-ci.*
parent
475a0e01
Changes
2
Hide whitespace changes
Inline
Side-by-side
nix/frama-ci.nix
0 → 100644
View file @
35d35a3c
#To copy in other repository
{
pkgs
?
import
<
nixpkgs
>
{},
password
}:
let
src
=
builtins
.
fetchGit
{
"url"
=
"https://bobot:
${
password
}
@git.frama-c.com/frama-c/Frama-CI.git"
;
"name"
=
"Frama-CI"
;
"rev"
=
"8bb9694075309fb38c7d7cb28e831132de34ba04"
;
"ref"
=
"feature/frama-clang-ci"
;
};
in
{
src
=
src
;
compiled
=
pkgs
.
callPackage
"
${
src
}
/compile.nix"
{
inherit
pkgs
;
};
}
nix/frama-ci.sh
0 → 100644
View file @
35d35a3c
#!/bin/sh -eu
DIR
=
$(
dirname
$0
)
export
FRAMA_CI_NIX
=
$DIR
/frama-ci.nix
export
FRAMA_CI
=
$(
nix-instantiate
--eval
-E
"((import <nixos-19.03> {}).callPackage
$FRAMA_CI_NIX
{ password =
\"
$TOKEN_FOR_API
\"
;}).src.outPath"
)
FRAMA_CI
=
${
FRAMA_CI
#\
"}
FRAMA_CI=
${
FRAMA_CI
%\
"}
$FRAMA_CI
/compile.sh
$@
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment