Skip to content
Snippets Groups Projects
Commit 2d4e413e authored by Daniel Firth's avatar Daniel Firth
Browse files

add feedback.yaml

switch to horizon-gen-nix-0.2.1 with horizon-spec 0.2
parent 24124541
No related merge requests found
let Prelude =
env:DHALL_PRELUDE
? https://raw.githubusercontent.com/dhall-lang/dhall-lang/v20.1.0/Prelude/package.dhall
sha256:26b0ef498663d269e4dc6a82b0ee289ec565d683ef4c00d0ebdd25333a5a3c98
let H = ./horizon-spec.dhall
let toStep
: Text → Text
= λ(x : Text) → ".#${x}"
let input =
Prelude.Map.keys Text H.HaskellPackage.Type (./horizon.dhall).packages
let packages = Prelude.List.map Text Text toStep (input : List Text)
in "nix build -L"
++ Prelude.List.fold
Text
packages
Text
(λ(x : Text) → λ(y : Text) → x ++ " " ++ y)
""
loops:
build:
command: cat .build-all.dhall | dhall text | bash
filter:
find: '*.nix'
check: nix flake check -L
gen:
command: nix run .#horizon-gen-nix make-package-set
filter:
find: horizon.dhall
......@@ -47,15 +47,16 @@
"horizon-gen-nix": {
"flake": false,
"locked": {
"lastModified": 1668479525,
"narHash": "sha256-9mG9K6vcT3cCnAMz1IPKAWQnESMQO730ImoUEqOcTsU=",
"lastModified": 1668875420,
"narHash": "sha256-7t+XGc6dyLlqi1lwLyRAOp0BIyllrZkuCyWOAye/c0U=",
"ref": "refs/heads/master",
"rev": "db65485cc0cb0c462b84c21dff3786507de6821c",
"revCount": 50,
"rev": "066b21b5b0c3b7b2bee1b5954f89ae0b7845ade9",
"revCount": 87,
"type": "git",
"url": "https://gitlab.homotopic.tech/horizon/horizon-gen-nix"
},
"original": {
"rev": "066b21b5b0c3b7b2bee1b5954f89ae0b7845ade9",
"type": "git",
"url": "https://gitlab.homotopic.tech/horizon/horizon-gen-nix"
}
......
......@@ -3,8 +3,8 @@
get-flake.url = "github:ursi/get-flake";
lint-utils.url = "git+https://gitlab.homotopic.tech/nix/lint-utils";
horizon-gen-nix = {
url = "git+https://gitlab.homotopic.tech/horizon/horizon-gen-nix?rev=066b21b5b0c3b7b2bee1b5954f89ae0b7845ade9";
flake = false;
url = "git+https://gitlab.homotopic.tech/horizon/horizon-gen-nix";
};
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
};
......@@ -38,7 +38,7 @@
configurationNix = { pkgs, haskellLib }: self: super: { };
ghc = pkgs.haskell.compiler.ghc942;
inherit haskellLib;
initialPackages = import ./overlay.nix;
initialPackages = import ./initial-packages.nix;
nonHackagePackages = self: super: { };
};
......
https://gitlab.homotopic.tech/horizon/horizon-spec/-/raw/0.2.1/dhall/package.dhall
sha256:cfa9ee0679c61d8ac9daef43581b8edd61219afbbea9b74627057e33fe5d1abb
This diff is collapsed.
File moved
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment