Skip to content

Commit 3b44930

Browse files
authored
Merge pull request #228 from sorki/srk/release/core07
Release core `0.7`
2 parents 8e2399d + c9a3f5a commit 3b44930

File tree

4 files changed

+30
-11
lines changed

4 files changed

+30
-11
lines changed

hnix-store-core/ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

hnix-store-core/hnix-store-core.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.2
22
name: hnix-store-core
3-
version: 0.6.1.0
3+
version: 0.7.0.0
44
synopsis: Core effects for interacting with the Nix store.
55
description:
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

2324
Common commons
2425
if impl(ghc >= 8.10)

hnix-store-remote/hnix-store-remote.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

overlay.nix

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,32 @@
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
}

0 commit comments

Comments
 (0)