Closed lucc closed 1 year ago
I think the offending commit is e7f0b93974f087438bcf4fe50181eafe95312abd because the file .nix/brick.nix
was not updated:
nix build github:purebred-mua/purebred?rev=e7f0b93974f087438bcf4fe50181eafe95312abd
failesnix build github:purebred-mua/purebred?rev=93e7f6294afd85fa14246663d80b2275ea8a8559
succeeds (93e7f6294afd85f = e7f0b93974f0874~1)I tried this patch
diff --git a/.nix/brick.nix b/.nix/brick.nix
index 5e699aa..21b4e87 100644
--- a/.nix/brick.nix
+++ b/.nix/brick.nix
@@ -6,8 +6,8 @@
}:
mkDerivation {
pname = "brick";
- version = "0.73";
- sha256 = "741c8d0717f0ab5addd5d3acc88cb36d645a0c73907bde509b2fd9d9bc02039c";
+ version = "1.0";
+ sha256 = "sha256-c4EgdcHCEXYbrWVHjcfhi/geFwO5hYMTOvlvDxjVIAM=";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
but then I get an error when compiling brick:
@nix { "action": "setPhase", "phase": "setupCompilerEnvironmentPhase" }
setupCompilerEnvironmentPhase
Build with /nix/store/3mkv7bqwqj6s5hqgf4lyrzq0bxi9qs7y-ghc-9.0.1.
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/s22jmzwin46rmmbx971vga8qsa1zzn3p-brick-1.0.tar.gz
source root is brick-1.0
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file brick-1.0/tests/Render.hs
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "compileBuildDriverPhase" }
compileBuildDriverPhase
setupCompileFlags: -package-db=/build/setup-package.conf.d -j4 +RTS -A64M -RTS -threaded -rtsopts
[1 of 1] Compiling Main ( Setup.hs, /build/Main.o )
Linking Setup ...
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
configureFlags: --verbose --prefix=/nix/store/2bal0s5kisvqbbhbm8xhazcd4j4kfiw3-brick-1.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/z5byv8gb129a6h5a6nk73nz0yhx68r60-brick-1.0-doc/share/doc/brick-1.0 --with-gcc=gcc --package-db=/build/package.conf.d --ghc-options=-j4 +RTS -A64M -RTS --disable-split-objs --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --ghc-option=-split-sections --extra-lib-dirs=/nix/store/jzjqfff4cldlm2wpld313a2s1v6r3ycb-ncurses-6.2/lib --extra-lib-dirs=/nix/store/2z8hacx9dphisbf7syd9hvkiw4578r23-libffi-3.4.2/lib --extra-lib-dirs=/nix/store/cwpvavf3z4dyrxmgm8jayadfr1ra8fkp-gmp-6.2.1/lib
Using Parsec parser
Configuring brick-1.0...
Setup: Encountered missing or private dependencies:
bimap >=0.5 && <0.6
At a first glance bimap seems to be a new dependency for brick 1.0 (at least it is not yet mentioned in the nix code) so I hope that @frasertweedale can take over from here.
@lucc mind trying out the fix/nix-CI-runs
branch? I'm currently having trouble with the CI but happy to merge this first, even tho it wouldn't fix CI.
Sorry I only checked for existing issues. Yes this will be fixed by #478.
PS: no hurry, I can wait until #478 is finished.
Describe the bug
The nix build is broken. It errors during compilation.
To Reproduce
Run
nix build github:purebred-mua/purebred
.The log:
Expected behavior
The build should succeed and put the compiled executable in
result/bin/purebred