Closed lucc closed 10 months ago
This patch brings me one step further:
diff --git a/.nix/brick.nix b/.nix/brick.nix
index 1db9b3a..ba53c8f 100644
--- a/.nix/brick.nix
+++ b/.nix/brick.nix
@@ -6,8 +6,8 @@
}:
mkDerivation {
pname = "brick";
- version = "1.5";
- sha256 = "6290081719d68c149dc9bd0098f36aac235b615334a3510fda89e19bbdb95f4f";
+ version = "2.1.1";
+ sha256 = "30280d6f7130eb3e6cbf5a55465a06a825169cb536d3b2e91883aec23532b31e";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
diff --git a/.nix/text-zipper.nix b/.nix/text-zipper.nix
index d93fa9d..b852733 100644
--- a/.nix/text-zipper.nix
+++ b/.nix/text-zipper.nix
@@ -2,8 +2,8 @@
}:
mkDerivation {
pname = "text-zipper";
- version = "0.12";
- sha256 = "86aba7244c9ed0d8e24e9d1fa64ee317a062e7bd777018053517daefb0696702";
+ version = "0.13";
+ sha256 = "06521cc7c435f8e85aeb3ed3f2b872000c52087d73518de31e65bdca072a98a9";
enableSeparateDataOutput = true;
libraryHaskellDepends = [ base deepseq text vector ];
testHaskellDepends = [ base hspec QuickCheck text ];
diff --git a/.nix/vty.nix b/.nix/vty.nix
index 16f88b2..68ecbc7 100644
--- a/.nix/vty.nix
+++ b/.nix/vty.nix
@@ -8,8 +8,8 @@
}:
mkDerivation {
pname = "vty";
- version = "5.36";
- sha256 = "f1bb8d161f467801404b60d8754c496af66cb741a3f04e5b013a6890390c04a5";
+ version = "6.1";
+ sha256 = "2fc64b7d09f16bce9c6456e234e6aca3a86be9a40f360435499fc087b94f7bd6";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
build log extract :
@nix { "action": "setPhase", "phase": "setupCompilerEnvironmentPhase" }
setupCompilerEnvironmentPhase
Build with /nix/store/xdahirc0rarz4k39qlm8ykyzqs3axfzd-ghc-9.2.4.
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/1qnxyy9vmjcz1pxc97a5jsqgyq5jagdj-brick-2.1.1.tar.gz
source root is brick-2.1.1
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file brick-2.1.1/tests/Render.hs
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "compileBuildDriverPhase" }
compileBuildDriverPhase
setupCompileFlags: -package-db=/build/tmp.n8uStJ4GjV/setup-package.conf.d -j4 +RTS -A64M -RTS -threaded -rtsopts
[1 of 1] Compiling Main ( Setup.hs, /build/tmp.n8uStJ4GjV/Main.o )
Linking Setup ...
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
configureFlags: --verbose --prefix=/nix/store/bzp1ibm35kynkdik721pwsxbj599ijy3-brick-2.1.1 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/4z71yhyl3z2ysmcy3yxzr8ww2qas5nhy-brick-2.1.1-doc/share/doc/brick-2.1.1 --with-gcc=gcc --package-db=/build/tmp.n8uStJ4GjV/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 --ghc-options=-haddock --extra-lib-dirs=/nix/store/vhgj0kyl1ijq408w9j0n4iq1ycrhhhfl-ncurses-6.3-p20220507/lib --extra-lib-dirs=/nix/store/94p2qrkvb9h0m7h5p0by88z0gzzaxl36-libffi-3.4.2/lib --extra-lib-dirs=/nix/store/14aarvmjm8xcq3ma0mxdfh59xmbpw284-gmp-with-cxx-6.2.1/lib
Using Parsec parser
Configuring brick-2.1.1...
Setup: Encountered missing or private dependencies:
unix-compat, vty-crossplatform, vty-unix
@romanofski could you please take a look at this?
Yeah can confirm. @lucc do you want to file your patch as a PR?
Describe the bug Since e6d2474 the nix flake does not build purepred sucesfully.
To Reproduce
command:
nix build github:purebred-mua/purebred
log:Expected behavior
nix build
should sucesfully build purebred, likenix build github:purebred-mua/purebred/43f5ed3d32b373615ab0c622f14235ca2bb18288
does.Additional context
@frasertweedale I think you forgot to update brick in the .nix folder.