Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • tchoutri/horizon-platform
  • jonge/horizon-platform
  • raoulhc/horizon-platform
  • package-sets/horizon-platform
Show changes
Commits on Source (6)
......@@ -31,3 +31,13 @@ build:
- x86_64-linux
PACKAGE:
- streamly
devour:
stage: devour
script:
- nix build github:srid/devour-flake#packages.$SYSTEM.default -L --no-link --print-out-paths --override-input flake . --keep-going
parallel:
matrix:
- SYSTEM:
- aarch64-darwin
- x86_64-linux
......@@ -63,11 +63,11 @@
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1716818729,
"narHash": "sha256-vb0MX+ipEaFt9ulWGTViBhJ0lprjbUdeL0iLdpGF6bQ=",
"lastModified": 1716825091,
"narHash": "sha256-kx5T+WmWX6b4MKoz2bdA3YxzVL7RB3NaL2RE2RM9Lgc=",
"ref": "refs/heads/master",
"rev": "89600c6b4cacf2f42bb100b19477a1c328312071",
"revCount": 239,
"rev": "6c34844520dfbf559abd34b645aa3a474f6a0c03",
"revCount": 241,
"type": "git",
"url": "https://gitlab.horizon-haskell.net/package-sets/horizon-advance"
},
......
......@@ -14,15 +14,8 @@
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
};
outputs =
inputs@
{ self
, flake-parts
, horizon-advance
, nixpkgs
, ...
}:
flake-parts.lib.mkFlake { inherit inputs; } {
outputs = inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"aarch64-darwin"
"aarch64-linux"
......@@ -32,22 +25,18 @@
imports = [
inputs.horizon-hoogle.flakeModule
];
perSystem = { config, system, ... }:
let
pkgs = nixpkgs.legacyPackages.${system};
in
perSystem = { pkgs, config, system, ... }:
with pkgs.lib;
let
haskellLib = pkgs.haskell.lib;
modifiers = import ./modifiers.nix { inherit pkgs; };
overrides = composeManyExtensions [
(import ./overlay.nix { inherit pkgs; f = _: prev: name: v: if hasAttr name prev then warn "${name} exists in parent set" v else v;})
(import ./overlay.nix { inherit pkgs; f = modifiers; })
(import ./configuration/common.nix { inherit pkgs haskellLib; })
(import (./configuration + "/${system}.nix") { inherit pkgs haskellLib; })
];
legacyPackages = horizon-advance.legacyPackages.${system}.extend overrides;
legacyPackages = inputs.horizon-advance.legacyPackages.${system}.extend overrides;
packages = filterAttrs (_: isDerivation) legacyPackages;
......
{ pkgs, ... }:
with pkgs.lib;
_: prev: name: v: if hasAttr name prev then warn "${name} exists in parent set" v else v