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

Merge branch 'MkModifiers' into 'master'

Re-export MkModifiers

See merge request horizon/horizon-spec!23
parents dff7d4e7 ff138dc9
No related merge requests found
# Changelog for horizon-spec # Changelog for horizon-spec
## v0.6.1
* Re-export MkModifiers constructor.
## v0.6 ## v0.6
* Change Overlay to wrap a `PackageSet` rather than a `PackageList`. The * Change Overlay to wrap a `PackageSet` rather than a `PackageList`. The
......
...@@ -139,16 +139,15 @@ ...@@ -139,16 +139,15 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1670319964, "lastModified": 1676204115,
"narHash": "sha256-g1B2WTztV3vsmHdKTEKy18jyXoM7/7OYgDEknGSQPLQ=", "narHash": "sha256-cYYt6sN9t+lYYYelAbRtM/ioVJ27kMcUtR4unA8jfd4=",
"ref": "tee-check", "ref": "refs/heads/master",
"rev": "c61d8aeff89d492a8615f68d675af7fcecbdd389", "rev": "cc55bca9b25e65f7060de642c99e51bd96dfc190",
"revCount": 42, "revCount": 47,
"type": "git", "type": "git",
"url": "https://gitlab.homotopic.tech/nix/lint-utils" "url": "https://gitlab.homotopic.tech/nix/lint-utils"
}, },
"original": { "original": {
"ref": "tee-check",
"type": "git", "type": "git",
"url": "https://gitlab.homotopic.tech/nix/lint-utils" "url": "https://gitlab.homotopic.tech/nix/lint-utils"
} }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
horizon-platform.url = "git+https://gitlab.homotopic.tech/horizon/horizon-platform"; horizon-platform.url = "git+https://gitlab.homotopic.tech/horizon/horizon-platform";
lint-utils = { lint-utils = {
url = "git+https://gitlab.homotopic.tech/nix/lint-utils?ref=tee-check"; url = "git+https://gitlab.homotopic.tech/nix/lint-utils";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
...@@ -48,16 +48,13 @@ ...@@ -48,16 +48,13 @@
code = "${./.}/dhall/package.dhall"; code = "${./.}/dhall/package.dhall";
}; };
legacyPackages = horizon-platform.legacyPackages.${system}.override overrides = hfinal: hprev:
{ {
overrides = hfinal: hprev: horizon-spec = dontCheck (disableLibraryProfiling (hprev.callCabal2nix "horizon-spec" ./. { }));
{
# Setting -f-with-http should disable http, but it doesn't.
dhall = disableLibraryProfiling (doJailbreak (appendConfigureFlag "-f-with-http" hprev.dhall));
horizon-spec = dontCheck (disableLibraryProfiling (hprev.callCabal2nix "horizon-spec" ./. { }));
};
}; };
legacyPackages = horizon-platform.legacyPackages.${system}.extend overrides;
horizon-spec-tests-wrapper = writeBashBin "horizon-spec-tests-wrapper" '' horizon-spec-tests-wrapper = writeBashBin "horizon-spec-tests-wrapper" ''
DHALL_PRELUDE=${dhall-prelude}/source.dhall ${legacyPackages.horizon-spec}/bin/horizon-spec-tests DHALL_PRELUDE=${dhall-prelude}/source.dhall ${legacyPackages.horizon-spec}/bin/horizon-spec-tests
''; '';
......
cabal-version: 3.0 cabal-version: 3.0
name: horizon-spec name: horizon-spec
version: 0.6 version: 0.6.1
synopsis: Horizon Stable Package Set Type Definitions synopsis: Horizon Stable Package Set Type Definitions
description: description:
This package contains the type definitions for the Horizon stable package set (https://horizon-haskell.net). This is a schema used to define package sets sourcing from hackage and git. This package contains the type definitions for the Horizon stable package set (https://horizon-haskell.net). This is a schema used to define package sets sourcing from hackage and git.
......
...@@ -10,7 +10,7 @@ module Horizon.Spec ...@@ -10,7 +10,7 @@ module Horizon.Spec
, HaskellSource(FromGit, FromHackage, FromTarball, FromLocal) , HaskellSource(FromGit, FromHackage, FromTarball, FromLocal)
, HorizonExport(MakePackageSet, MakeOverlay) , HorizonExport(MakePackageSet, MakeOverlay)
, LocalSource(MkLocalSource, fromLocalSource) , LocalSource(MkLocalSource, fromLocalSource)
, Modifiers(doJailbreak, doBenchmark, doCheck, enableProfiling, includeBenchmarks, includeExecutables, includeTests) , Modifiers(MkModifiers, doJailbreak, doBenchmark, doCheck, enableProfiling, includeBenchmarks, includeExecutables, includeTests)
, Name(MkName, fromName) , Name(MkName, fromName)
, OverlayExportSettings(MkOverlayExportSettings, packagesDir, overlayFile, overlay) , OverlayExportSettings(MkOverlayExportSettings, packagesDir, overlayFile, overlay)
, OverlayFile(MkOverlayFile, fromOverlayFile) , OverlayFile(MkOverlayFile, fromOverlayFile)
......
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