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

Add leksah build job #6

Open
wants to merge 73 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
15e17f6
Add leksah build job
hamishmack Jun 2, 2019
e073c9e
Bump leksah
hamishmack Jun 3, 2019
56cff7d
Bump leksah
hamishmack Jun 3, 2019
e574c5e
Bump leksah
hamishmack Jun 3, 2019
c34619a
Bump leksah
hamishmack Jun 10, 2019
c5c13a0
Bump leksah
hamishmack Jun 10, 2019
3db48e9
Bump leksah
hamishmack Jun 10, 2019
3b69a9d
Bump leksah
hamishmack Jun 11, 2019
9b3ce28
Bump leksah
hamishmack Jun 11, 2019
1e39b15
Try cross compiling leksah
hamishmack Jun 15, 2019
8b648d5
Just try to build nix-tools
hamishmack Jun 15, 2019
57bb059
Just update nixpkgs and iohk-nix
hamishmack Jun 15, 2019
862b9da
Update to ghc865
hamishmack Jun 15, 2019
29e011c
Try cross compiling leksah
hamishmack Jun 15, 2019
bc3f86e
Bump leksah
hamishmack Jun 16, 2019
d75ef67
Build unpatched nixpkgs ghc
hamishmack Jun 16, 2019
0684b4c
Try to build nix-tools
hamishmack Jun 16, 2019
43c4290
Add overlay
hamishmack Jun 16, 2019
2c7ed9e
Set haskellCompiler
hamishmack Jun 16, 2019
d4d7851
Remove nix-tools
hamishmack Jun 16, 2019
35dba77
Try building leksah release.nix
hamishmack Jun 16, 2019
48385b3
Stop failing build
hamishmack Jun 16, 2019
d82322b
Build just the leksah plan
hamishmack Jun 16, 2019
3c887a0
Bump leksah
hamishmack Jun 30, 2019
8ef1cdc
Just the plans
hamishmack Jun 30, 2019
33fb3f9
Plans + the rest
hamishmack Jun 30, 2019
c044baf
Bump leksah
hamishmack Jul 1, 2019
4e268fd
Try mingw32 cross compile
hamishmack Jul 6, 2019
420eed7
Try mingw32 cross compile
hamishmack Jul 6, 2019
8aebba6
Just the plans
hamishmack Jul 21, 2019
bc8c975
Plans + the rest
hamishmack Jul 21, 2019
8ab797f
Bump leksah
hamishmack Jul 26, 2019
d8a7d67
Just the plans
hamishmack Jul 26, 2019
82d9e51
Bump leksah
hamishmack Jul 26, 2019
4afbfd1
Plans + the rest
hamishmack Jul 27, 2019
c0561ee
Trigger rebuild
hamishmack Jul 27, 2019
e31c48c
Add jsaddle-dom on macOS as explicit job
hamishmack Jul 27, 2019
bf3b868
Add jsaddle-dom on macOS as explicit job
hamishmack Jul 27, 2019
35f4200
Focus on jsaddle-dom
hamishmack Jul 27, 2019
e896f0a
Trigger rebuild
hamishmack Jul 27, 2019
3d9ae46
jsaddle-dom timeout fix
hamishmack Jul 28, 2019
7c49396
Just the plans
hamishmack Jul 28, 2019
fd60891
Plans + the rest
hamishmack Jul 28, 2019
dce9ed4
Bump leksah
hamishmack Jul 30, 2019
2cce12f
Bump leksah and build just the plans
hamishmack Sep 15, 2019
3f4530e
Rename releas.nix ci.nix
hamishmack Sep 15, 2019
5f3aa45
Bump leksah
hamishmack Sep 15, 2019
77b87c7
Rename ci.nix releas.nix
hamishmack Sep 15, 2019
c511dc4
Bump leksah
hamishmack Sep 15, 2019
0e0def1
Bump leksah
hamishmack Sep 15, 2019
be4cbaa
Enable builds
hamishmack Sep 15, 2019
1adbfc9
Bump leksah
hamishmack Sep 16, 2019
2282e62
Bump leksah
hamishmack Sep 22, 2019
f354e27
Bump leksah
hamishmack Oct 22, 2019
db4fccd
Bump leksah
hamishmack Oct 26, 2019
ce6d924
Bump leksah
hamishmack Oct 26, 2019
6fe9a6c
Bump leksah
hamishmack Oct 26, 2019
1a66c9e
Bump leksah
hamishmack Nov 3, 2019
77ef6cb
Bump leksah
hamishmack Nov 9, 2019
80b5e6b
Bump leksah
hamishmack Nov 10, 2019
bf77f4f
Bump leksah
hamishmack Nov 24, 2019
cb74fc1
Bump leksah
hamishmack Nov 30, 2019
ab87db2
Bump leksah
hamishmack Nov 30, 2019
95d92b8
Bump leksah
hamishmack Nov 30, 2019
09c4d30
Build leksah with ghc 8.8.1
hamishmack Dec 27, 2019
52e7215
Build leksah with ghc 8.8.1
hamishmack Dec 27, 2019
6223a6e
Bump leksah
hamishmack Dec 27, 2019
0340a23
Bump leksah
hamishmack Jan 1, 2020
422d8c0
Bump leksah
hamishmack Jan 2, 2020
b4103d7
Bump leksah and use ghc 8.8.2
hamishmack Jan 18, 2020
bcdf77e
Bump leksah
hamishmack Jan 18, 2020
6d3200d
Bump leksah and use ghc 8.8.3
hamishmack Mar 22, 2020
811c58c
Bump leksah
hamishmack Mar 22, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pins/haskell-nix-src.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"url": "https://github.com/input-output-hk/haskell.nix",
"rev": "b54de7b002026d70666ec7d0bee8f20cc53ceb23",
"date": "2019-06-11T10:59:50+12:00",
"sha256": "0k9psmmds5bqwwa3bn3qm0mwpq2grjrvcz0665df8xxl6n11salp",
"fetchSubmodules": false
}
6 changes: 3 additions & 3 deletions pins/iohk-nix-src.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"url": "https://github.com/input-output-hk/iohk-nix",
"rev": "4608304d2e02f0f8384d3aa7b7d89ffd2929dab7",
"date": "2019-05-15T17:20:14+08:00",
"sha256": "0kcaw0dan3gq7gigymgi96sgn46ibw6mgq5phz24jczn5ghsiai0",
"rev": "215ab49ae751301f8d8713c7259da11a5c75458e",
"date": "2019-06-12T15:07:48+00:00",
"sha256": "0lp8hc86zs4xv2hvwnywxkklc2s4iaqgriqz3vqfd6bcds2shp1m",
"fetchSubmodules": false
}
8 changes: 4 additions & 4 deletions pins/nixpkgs-src.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"url": "https://github.com/input-output-hk/nixpkgs",
"rev": "c96f5924811f5a8576c9f03d3a630c491fbaf7a3",
"date": "2019-05-10T15:32:41+08:00",
"sha256": "0iagdz0q37ffkpzyh2f21wjb7x4gx257adlranchzc43460x65c1",
"url": "https://github.com/NixOS/nixpkgs",
"rev": "61f0936d1cd73760312712615233cd80195a9b47",
"date": "2019-05-28T23:19:24-04:00",
"sha256": "1fkmp99lxd827km8mk3cqqsfmgzpj0rvaz5hgdmgzzyji70fa2f8",
"fetchSubmodules": false
}
52 changes: 21 additions & 31 deletions release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,14 @@ let
# cross system settings
mingwW64 = pkgs.lib.systems.examples.mingwW64;

# import iohk-nix with the same pin as the nixpkgs above.
config = { allowUnfree = false; inHydra = true; allowUnsupportedSystem = true; };
leksah-src = pkgs.fetchgit {
url = "https://github.com/leksah/leksah";
rev = "c179b31ecfa305044a2fd233aace0d48e7aa3a77";
sha256 = "19fqr00rg2mx9dpy20brkviz2gfnvamccaln99svbjxmdfyjfklx";
fetchSubmodules = true;
};

# linux packages
x86_64-linux = importPinned "iohk-nix"
{ inherit config; nixpkgsJsonOverride = ./pins/nixpkgs-src.json; system = "x86_64-linux"; };

# macos packages
x86_64-macos = importPinned "iohk-nix"
{ inherit config; nixpkgsJsonOverride = ./pins/nixpkgs-src.json; system = "x86_64-darwin"; };

# windows cross compiled on linux
x86_64-mingw32 = importPinned "iohk-nix"
{ inherit config; nixpkgsJsonOverride = ./pins/nixpkgs-src.json; system = "x86_64-linux"; crossSystem = mingwW64; };
leksah-mingw32 = import leksah-src { system = "x86_64-linux"; crossSystem = mingwW64; };

# jobs contain a key -> value mapping that tells hydra which
# derivations to build. There are some predefined helpers in
Expand All @@ -30,23 +24,19 @@ let
#
# It is however not necessary to use those.
#
jobs = rec {
# a very simple job. All it does is call a shell script that print Hello World.
hello-world = import ./jobs/trivial-hello-world { inherit pkgs; };

# this should give us our patched compiler. (e.g. the one
# from the pinned nixpkgs set with all the iohk-nix
# patches applied.

# linux
ghc864.x86_64-linux = x86_64-linux.pkgs.haskell.compiler.ghc864;

# macOS
ghc864.x86_64-macos = x86_64-macos.pkgs.haskell.compiler.ghc864;

# linux -> win32
# Note: we want to build the cross-compiler. As such we want something from the buildPackages!
"${mingwW64.config}-ghc864".x86_64-linux = x86_64-mingw32.pkgs.buildPackages.haskell.compiler.ghc864;
};
jobs = builtins.mapAttrs (_: args:
let leksah = import leksah-src args;
in builtins.mapAttrs (_: pkgs.recurseIntoAttrs) {
leksah-plan-nix = leksah.pkgs.haskell-nix.withInputs leksah.plan-nix;

wrapped-leksah = leksah.wrapped-leksah;
leksah-shells = leksah.shells;
leksah-haskell-nix-roots = leksah.pkgs.haskell-nix.haskellNixRoots;
}) {
linux-ghc865 = { system = "x86_64-linux"; haskellCompiler = "ghc865"; };
linux-ghc883 = { system = "x86_64-linux"; haskellCompiler = "ghc883"; };
macos-ghc865 = { system = "x86_64-darwin"; haskellCompiler = "ghc865"; };
macos-ghc883 = { system = "x86_64-darwin"; haskellCompiler = "ghc883"; };
};
in
jobs