File tree Expand file tree Collapse file tree 8 files changed +48
-22
lines changed Expand file tree Collapse file tree 8 files changed +48
-22
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,18 @@ in haskellCi.generalCi
1010 with extraSteps. pre
1111 =
1212 defSteps. extraSteps. pre
13- # [ haskellCi. installCachixStep " hnix-store" ]
13+ # [ haskellCi. installCachixStep " hnix-store"
14+ , haskellCi. BuildStep. NameIf
15+ { name = " Allow unprivileged userns"
16+ , run =
17+ " sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0"
18+ , `if` = " matrix.os == 'ubuntu-latest'"
19+ }
20+ ]
1421 )
1522 )
1623 haskellCi. DhallMatrix :: {
17- , ghc = [ haskellCi. GHC. GHC982 , haskellCi. GHC. GHC966 ]
24+ , ghc = [ haskellCi. GHC. GHC9102 , haskellCi. GHC. GHC984 ]
1825 , os = [ haskellCi. OS. Ubuntu , haskellCi. OS. MacOS ]
1926 }
2027 : haskellCi. CI. Type
Original file line number Diff line number Diff line change 11let haskellCi =
22 https://raw.githubusercontent.com/sorki/github-actions-dhall/main/haskell-ci.dhall
3- sha256:eff4d52e4243777fbe2c800778b24092ace8cd83165cf46b90d5c22e3ebfdd81
3+ sha256:1f1a5102e99ea92eb585b4d36aaeabb0bd93d39e62ba82f3080250fdc234e33a
44
55let defSteps = haskellCi.defaultCabalSteps
66
@@ -11,11 +11,18 @@ in haskellCi.generalCi
1111 with extraSteps.pre
1212 =
1313 defSteps.extraSteps.pre
14- # [ haskellCi.installCachixStep "hnix-store" ]
14+ # [ haskellCi.installCachixStep "hnix-store"
15+ , haskellCi.BuildStep.NameIf
16+ { name = "Allow unprivileged userns"
17+ , run =
18+ "sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0"
19+ , `if` = "matrix.os == 'ubuntu-latest'"
20+ }
21+ ]
1522 )
1623 )
1724 haskellCi.DhallMatrix::{
18- , ghc = [ haskellCi.GHC.GHC982 , haskellCi.GHC.GHC966 ]
25+ , ghc = [ haskellCi.GHC.GHC9102 , haskellCi.GHC.GHC984 ]
1926 , os = [ haskellCi.OS.Ubuntu, haskellCi.OS.MacOS ]
2027 }
2128 : haskellCi.CI.Type
Original file line number Diff line number Diff line change 44 name : " GHC ${{ matrix.ghc }}, Cabal ${{ matrix.cabal }}, OS ${{ matrix.os }}"
55 " runs-on " : " ${{ matrix.os }}"
66 steps :
7- - uses : " cachix/install-nix-action@v27 "
7+ - uses : " cachix/install-nix-action@v31 "
88 with :
99 nix_path : " nixpkgs=channel:nixos-unstable"
1010 - uses : " cachix/cachix-action@v15"
1111 with :
1212 name : " hnix-store"
1313 signingKey : " ${{ secrets.CACHIX_SIGNING_KEY }}"
14+ - if : " matrix.os == 'ubuntu-latest'"
15+ name : Allow unprivileged userns
16+ run : sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0
1417 - uses : " actions/checkout@v4"
1518 with :
1619 submodules : recursive
@@ -45,10 +48,10 @@ jobs:
4548 strategy :
4649 matrix :
4750 cabal :
48- - ' 3.12 '
51+ - ' 3.16 '
4952 ghc :
50- - ' 9.8 .2'
51- - ' 9.6.6 '
53+ - ' 9.10 .2'
54+ - ' 9.8.4 '
5255 os :
5356 - " ubuntu-latest"
5457 - " macos-latest"
Original file line number Diff line number Diff line change @@ -10,10 +10,6 @@ packages:
1010 ./hnix-store-remote/hnix-store-remote.cabal
1111 ./hnix-store-tests/hnix-store-tests.cabal
1212
13- -- till https://github.com/obsidiansystems/dependent-sum/pull/80
14- allow-newer :
15- dependent-sum :some
16-
1713package hnix-store-db
1814 flags : +build-readme +build-bench
1915
Original file line number Diff line number Diff line change 1- { pkgs ? import <nixpkgs> { }
1+ { pkgs ? import ( fetchTarball {
2+ url = "https://github.com/NixOS/nixpkgs/tarball/c23193b943c6c689d70ee98ce3128239ed9e32d1" ; # nixos-unstable
3+ sha256 = "0vgk8mrprrh6w7zw2id3hc858kqw5pwdc52ma2f95rz36gchxcc4" ;
4+ } ) { }
25, compiler ? null
36} :
47let
Original file line number Diff line number Diff line change 1+ # [ 0.1.0.1] ( https://github.com/haskell-nix/hnix-store/compare/db-0.1.0.0...db-0.1.0.1 ) 2025-09-03
2+
3+ * Relax upper bounds on ` esqueleto ` and ` persistent ` [ #294 ] ( https://github.com/haskell-nix/hnix-store/pull/294 )
4+
15# 0.1.0.0 2024-07-31
26
37* Initial release
Original file line number Diff line number Diff line change 11cabal-version : 2.2
22name : hnix-store-db
3- version : 0.1.0.0
3+ version : 0.1.0.1
44synopsis : Nix store database support
55description : Implementation of the Nix store database
66homepage : https://github.com/haskell-nix/hnix-store
@@ -80,8 +80,8 @@ library
8080 , data-default-class
8181 , text
8282 , time
83- , esqueleto >= 3.5.10 && < 3.6
84- , persistent >= 2.14.5 && < 2.15
83+ , esqueleto >= 3.5.10 && < 3.7
84+ , persistent >= 2.14.5 && < 2.18
8585 , persistent-sqlite >= 2.13.1 && < 2.14
8686 , template-haskell
8787 , monad-logger
Original file line number Diff line number Diff line change 1515 } // ( lib . filterAttrs ( n : v : n != "url" ) x ) ) ;
1616in
1717{
18- # srk 2024-07-28: allow template-haskell 2.22 (GHC 9.8)
19- # https://github.com/obsidiansystems/dependent-sum-template/pull/13
20- dependent-sum-template =
21- haskellLib . doJailbreak
22- hsuper . dependent-sum-template_0_2_0_1 ;
18+ # srk 2025-09-03: until revised version lands in unstable
19+ # (due to filepath bound https://github.com/Gabriella439/Haskell-Nix-Derivation-Library/pull/29)
20+ nix-derivation = hself . callHackageDirect
21+ { pkg = "nix-derivation" ;
22+ ver = "1.1.3" ;
23+ sha256 = "sha256-pklIwd0Atp45AT9x2n3PWAV7tFRqTzv89ViG2iAjoe0=" ;
24+ rev =
25+ { revision = "2" ;
26+ sha256 = "sha256-Vv0NIHevaQOyFWBn79Q8OAYZa/Yhas/N1lBHfjANAm4=" ;
27+ } ;
28+ } { } ;
2329
2430 hnix-store-core =
2531 lib . pipe
You can’t perform that action at this time.
0 commit comments