You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[snap won't run because it uses systemd and I don't]
[nix does install but won't build clash 1.0 because of some weird dependency loop.]
% nix-shell clash-compiler-1.0/shell.nix
....
checking for references to /build/ in /nix/store/mfrwa1fphckp9c0l8jwia93phszzhw2g-hackage-db-2.0.1...
shrinking RPATHs of ELF executables and libraries in /nix/store/x9x5xpkqg1ab1rkzr5mb893i6qirlnad-hackage-db-2.0.1-doc
strip is /nix/store/jnky2ba7kb4rq494g5kgdprhxkrb40l7-binutils-2.31.1/bin/strip
patching script interpreter paths in /nix/store/x9x5xpkqg1ab1rkzr5mb893i6qirlnad-hackage-db-2.0.1-doc
checking for references to /build/ in /nix/store/x9x5xpkqg1ab1rkzr5mb893i6qirlnad-hackage-db-2.0.1-doc...
cycle detected in the references of '/nix/store/mfrwa1fphckp9c0l8jwia93phszzhw2g-hackage-db-2.0.1' from '/nix/store/x9x5xpkqg1ab1rkzr5mb893i6qirlnad-hackage-db-2.0.1-doc'
cannot build derivation '/nix/store/c81sbqlha1bwy045b563vsi30wgq5n2q-cabal2nix-2.14.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/n3gwfavrr3qd3qxfskl68vmsf8m6337f-cabal2nix-niv.drv': 1 dependencies couldn't be built
error: build of '/nix/store/n3gwfavrr3qd3qxfskl68vmsf8m6337f-cabal2nix-niv.drv' failed
(use '--show-trace' to show detailed location information)
[--show-trace doesn't help me, it just had (even) more paths in]
[This is devuan testing, which is debian testing with systemd stripped out.]
The text was updated successfully, but these errors were encountered:
I've dist-upgraded the machine to debian/devuan unstable and the same nix fail happens.
In unstable, only five haskell modules are missing from those needed to build clash (turns out it is clash 1.1.0, not 1.0, as I can run clash --version now and it tells me that!).
Everything else needed comes with debian/devuan unstable. I've made debian packages with cabal-debian.
Debian/devuan unstable comes with cabal 2.4.0.0, and I have upgraded that to 2.4.1.0 (it seemed impossible, because the debian package build failed a dozen different ways, but apparently I did it once before and I still have the binary package and that still works, so thank you to me). With those, the "inplace" build for clashi/clash using cabal works, and has no dependencies other than its own build components.
Debian/devuan unstable also has ghc 8.6.5 which your docs say is contraindicated, but it worked to build clash/clashi.
I have hacked the environment file and the clash/clashi binaries to change their embedded paths to make everything work multiuser (and it does) without reference to the build directory.
[snap won't run because it uses systemd and I don't]
[nix does install but won't build clash 1.0 because of some weird dependency loop.]
% nix-shell clash-compiler-1.0/shell.nix
....
checking for references to /build/ in /nix/store/mfrwa1fphckp9c0l8jwia93phszzhw2g-hackage-db-2.0.1...
shrinking RPATHs of ELF executables and libraries in /nix/store/x9x5xpkqg1ab1rkzr5mb893i6qirlnad-hackage-db-2.0.1-doc
strip is /nix/store/jnky2ba7kb4rq494g5kgdprhxkrb40l7-binutils-2.31.1/bin/strip
patching script interpreter paths in /nix/store/x9x5xpkqg1ab1rkzr5mb893i6qirlnad-hackage-db-2.0.1-doc
checking for references to /build/ in /nix/store/x9x5xpkqg1ab1rkzr5mb893i6qirlnad-hackage-db-2.0.1-doc...
cycle detected in the references of '/nix/store/mfrwa1fphckp9c0l8jwia93phszzhw2g-hackage-db-2.0.1' from '/nix/store/x9x5xpkqg1ab1rkzr5mb893i6qirlnad-hackage-db-2.0.1-doc'
cannot build derivation '/nix/store/c81sbqlha1bwy045b563vsi30wgq5n2q-cabal2nix-2.14.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/n3gwfavrr3qd3qxfskl68vmsf8m6337f-cabal2nix-niv.drv': 1 dependencies couldn't be built
error: build of '/nix/store/n3gwfavrr3qd3qxfskl68vmsf8m6337f-cabal2nix-niv.drv' failed
(use '--show-trace' to show detailed location information)
[--show-trace doesn't help me, it just had (even) more paths in]
[This is devuan testing, which is debian testing with systemd stripped out.]
The text was updated successfully, but these errors were encountered: