File tree Expand file tree Collapse file tree 4 files changed +30
-11
lines changed Expand file tree Collapse file tree 4 files changed +30
-11
lines changed Original file line number Diff line number Diff line change 11# ChangeLog
22
3- ## Unreleased 202y-mm-dd
3+ ## [ 0.7.0.0 ] ( https://github.com/haskell-nix/hnix-store/compare/core-0.6.1.0...core-0.7.0.0 ) 2023-11-15
44
55* Breaking:
66 * [ (link)] ( https://github.com/haskell-nix/hnix-store/pull/216 ) ` StorePath ` no longer carries ` storePathRoot ` field and we
Original file line number Diff line number Diff line change 11cabal-version : 2.2
22name : hnix-store-core
3- version : 0.6.1 .0
3+ version : 0.7.0 .0
44synopsis : Core effects for interacting with the Nix store.
55description :
66 This package contains types and functions needed to describe
@@ -19,6 +19,7 @@ extra-source-files:
1919 , README.md
2020 , tests/samples/example0.drv
2121 , tests/samples/example1.drv
22+ , tests/fixtures/case-conflict.nar
2223
2324Common commons
2425 if impl(ghc >= 8.10 )
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ library
5858 , nix-derivation >= 1.1.1 && < 2
5959 , mtl
6060 , unordered-containers
61- , hnix-store-core >= 0.6 && < 0.7
61+ , hnix-store-core >= 0.7 && < 0.8
6262 , transformers
6363 mixins :
6464 base hiding (Prelude)
Original file line number Diff line number Diff line change 1- pkgs : hlib : helf : huper : {
1+ pkgs : hlib : helf : huper :
2+ let
3+ lib = pkgs . lib ;
4+ in
5+ {
26 hnix-store-core =
3- helf . callCabal2nix "hnix-store-core" ./hnix-store-core { } ;
7+ lib . pipe
8+ ( helf . callCabal2nix "hnix-store-core" ./hnix-store-core { } )
9+ [
10+ hlib . compose . buildFromSdist
11+ ] ;
412 hnix-store-remote =
5- if pkgs . stdenv . isDarwin
6- then helf . callCabal2nix "hnix-store-remote" ./hnix-store-remote { }
7- else
8- ( helf . callCabal2nixWithOptions "hnix-store-remote" ./hnix-store-remote "-fio-testsuite" { }
9- ) . overrideAttrs ( attrs : {
13+ lib . pipe
14+ # enable -fio-testsuite for Linux systems as
15+ # it requires linux-namespaces
16+ # NOTE: we cannot use hlib.compose.enableCabalFlag
17+ # as the testsuite deps won't get picked up
18+ # after cabal2nix step
19+ (
20+ if pkgs . stdenv . isDarwin
21+ then helf . callCabal2nix "hnix-store-remote" ./hnix-store-remote { }
22+ else helf . callCabal2nixWithOptions "hnix-store-remote" ./hnix-store-remote "-fio-testsuite" { }
23+ )
24+ [
25+ hlib . compose . buildFromSdist
26+ ( pkg : pkg . overrideAttrs ( attrs : {
1027 buildInputs = attrs . buildInputs ++ [
1128 pkgs . nix
1229 ] ;
13- } ) ;
30+ } ) )
31+ ] ;
1432}
You can’t perform that action at this time.
0 commit comments