Created
May 31, 2020 10:09
-
-
Save freeman42x/5f7e3a367bd7cd81db11ee292a9ea257 to your computer and use it in GitHub Desktop.
uuid-orphans-1.4.4 is broken
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
neo@nixos ~/P/LagdaMdToLagda> sudo nixos-rebuild switch | |
[sudo] password for neo: | |
building Nix... | |
building the system configuration... | |
these derivations will be built: | |
/nix/store/jjd82mda9yy9wxldffgwamg65mfdqm33-uuid-orphans-1.4.4.drv | |
/nix/store/1cl4ywwqvcjlp5f3vqi2riz9l1s0kg9k-sr-extra-1.64.drv | |
/nix/store/lrj6251b0z4yidbkxn3862i1y0y4ykfc-ipprint-0.6.drv | |
/nix/store/p2mkah5q4wk242mmgd8w28xh8a6lkxcq-ghc-8.6.5-with-packages.drv | |
/nix/store/qbcik0myxajpq6clird9ybd0n95fks6y-system-path.drv | |
/nix/store/cd1ach5l7dg6gzpvgngr300ggbrbpsh1-unit-systemd-fsck-.service.drv | |
/nix/store/gnsg1cpmhmlw3l7ilfg5k2g525qsn0rl-unit-polkit.service.drv | |
/nix/store/wznim8zdzrbc6ivgxa0gwdqyp9z643ql-dbus-1.drv | |
/nix/store/hfc6c5acpnq84fhf74hin93j3hkjnria-unit-dbus.service.drv | |
/nix/store/5xmisyyq81skmlzbz0674cpz4rdhzqh3-system-units.drv | |
/nix/store/mzxqqc6xq82jhgh4p5rqhlscglq0ci83-unit-dbus.service.drv | |
/nix/store/akjqlzp1pjidzcl3s8d9hk5j87d99gy0-user-units.drv | |
/nix/store/jk310gn5p0cqqm6jj1cwhrsvsnc0y1c2-ghc-8.6.5-with-packages_fish-completions.drv | |
/nix/store/azdfh4225km4qp2x5n67bxsfp2hjkcvc-system_fish-completions.drv | |
/nix/store/fi2i7kvbqzv0nhynpbjp6crs5y810h53-etc.drv | |
/nix/store/glnr91nhsbvn42md8fdyjxsd1n04caq7-nixos-system-nixos-20.03.2015.e7752db2fb6.drv | |
building '/nix/store/jjd82mda9yy9wxldffgwamg65mfdqm33-uuid-orphans-1.4.4.drv'... | |
setupCompilerEnvironmentPhase | |
Build with /nix/store/v2irxsz710ghkw0whk3n36lkb31msw06-ghc-8.6.5. | |
unpacking sources | |
unpacking source archive /nix/store/vyz8836znlf7dn9709ry7iqawjb45yii-uuid-orphans-1.4.4.tar.gz | |
source root is uuid-orphans-1.4.4 | |
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file uuid-orphans-1.4.4/uuid-orphans.cabal | |
patching sources | |
compileBuildDriverPhase | |
setupCompileFlags: -package-db=/build/setup-package.conf.d -j4 -threaded | |
[1 of 1] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /build/Main.o ) | |
Linking Setup ... | |
configuring | |
configureFlags: --verbose --prefix=/nix/store/rrhc0ldddn853ggm2xci6x6w3083vv03-uuid-orphans-1.4.4 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/1y0ci0qp32jmvbv6xdgvk3kw6zvvqpl6-uuid-orphans-1.4.4-doc/share/doc/uuid-orphans-1.4.4 --with-gcc=gcc --package-db=/build/package.conf.d --ghc-option=-j4 --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/kpw4kmc74djprg3bjc5rxblij46jdmnf-ncurses-6.1-20190112/lib --extra-lib-dirs=/nix/store/x6sc334nvkl7pr3yqiqs3dzhfsbsgqcd-libffi-3.3/lib --extra-lib-dirs=/nix/store/gldhjyzsj475ymgax9ycv8m1wf6rkc02-gmp-6.2.0/lib | |
Using Parsec parser | |
Configuring uuid-orphans-1.4.4... | |
Dependency base >=4.8 && <5: using base-4.12.0.0 | |
Dependency safecopy -any: using safecopy-0.9.4.3 | |
Dependency text -any: using text-1.2.3.1 | |
Dependency th-lift -any: using th-lift-0.8.1 | |
Dependency uuid-types >=1.0.2: using uuid-types-1.0.3 | |
Dependency web-routes -any: using web-routes-0.27.14.3 | |
Source component graph: component lib | |
Configured component graph: | |
component uuid-orphans-1.4.4-7EcgAZfkd5282CVET7OynR | |
include base-4.12.0.0 | |
include safecopy-0.9.4.3-FTZ8MXIuSqmIqp48B11POp | |
include text-1.2.3.1 | |
include th-lift-0.8.1-JflzVlX8OqFGyXRZTILHun | |
include uuid-types-1.0.3-KpNwoKzz6W2KqUmiWomfSx | |
include web-routes-0.27.14.3-HUMPAcfxe1JA2BSi1gUmmh | |
Linked component graph: | |
unit uuid-orphans-1.4.4-7EcgAZfkd5282CVET7OynR | |
include base-4.12.0.0 | |
include safecopy-0.9.4.3-FTZ8MXIuSqmIqp48B11POp | |
include text-1.2.3.1 | |
include th-lift-0.8.1-JflzVlX8OqFGyXRZTILHun | |
include uuid-types-1.0.3-KpNwoKzz6W2KqUmiWomfSx | |
include web-routes-0.27.14.3-HUMPAcfxe1JA2BSi1gUmmh | |
Data.UUID.Orphans=uuid-orphans-1.4.4-7EcgAZfkd5282CVET7OynR:Data.UUID.Orphans | |
Ready component graph: | |
definite uuid-orphans-1.4.4-7EcgAZfkd5282CVET7OynR | |
depends base-4.12.0.0 | |
depends safecopy-0.9.4.3-FTZ8MXIuSqmIqp48B11POp | |
depends text-1.2.3.1 | |
depends th-lift-0.8.1-JflzVlX8OqFGyXRZTILHun | |
depends uuid-types-1.0.3-KpNwoKzz6W2KqUmiWomfSx | |
depends web-routes-0.27.14.3-HUMPAcfxe1JA2BSi1gUmmh | |
Using Cabal-2.4.0.1 compiled by ghc-8.6 | |
Using compiler: ghc-8.6.5 | |
Using install prefix: | |
/nix/store/rrhc0ldddn853ggm2xci6x6w3083vv03-uuid-orphans-1.4.4 | |
Executables installed in: | |
/nix/store/rrhc0ldddn853ggm2xci6x6w3083vv03-uuid-orphans-1.4.4/bin | |
Libraries installed in: | |
/nix/store/rrhc0ldddn853ggm2xci6x6w3083vv03-uuid-orphans-1.4.4/lib/ghc-8.6.5/x86_64-linux-ghc-8.6.5/uuid-orphans-1.4.4-7EcgAZfkd5282CVET7OynR | |
Dynamic Libraries installed in: | |
/nix/store/rrhc0ldddn853ggm2xci6x6w3083vv03-uuid-orphans-1.4.4/lib/ghc-8.6.5/x86_64-linux-ghc-8.6.5 | |
Private executables installed in: | |
/nix/store/rrhc0ldddn853ggm2xci6x6w3083vv03-uuid-orphans-1.4.4/libexec/x86_64-linux-ghc-8.6.5/uuid-orphans-1.4.4 | |
Data files installed in: | |
/nix/store/rrhc0ldddn853ggm2xci6x6w3083vv03-uuid-orphans-1.4.4/share/x86_64-linux-ghc-8.6.5/uuid-orphans-1.4.4 | |
Documentation installed in: | |
/nix/store/1y0ci0qp32jmvbv6xdgvk3kw6zvvqpl6-uuid-orphans-1.4.4-doc/share/doc/uuid-orphans-1.4.4 | |
Configuration files installed in: | |
/nix/store/rrhc0ldddn853ggm2xci6x6w3083vv03-uuid-orphans-1.4.4/etc | |
No alex found | |
Using ar found on system at: | |
/nix/store/1zf4cnaaidjajwb4gx4mnkqc5dypkcdy-binutils-2.31.1/bin/ar | |
No c2hs found | |
No cpphs found | |
No doctest found | |
Using gcc version 9.2.0 given by user at: | |
/nix/store/xh3bh8nir5d45zk45dz9xxfs2j95cby4-gcc-wrapper-9.2.0/bin/gcc | |
Using ghc version 8.6.5 found on system at: | |
/nix/store/v2irxsz710ghkw0whk3n36lkb31msw06-ghc-8.6.5/bin/ghc | |
Using ghc-pkg version 8.6.5 found on system at: | |
/nix/store/v2irxsz710ghkw0whk3n36lkb31msw06-ghc-8.6.5/bin/ghc-pkg | |
No ghcjs found | |
No ghcjs-pkg found | |
No greencard found | |
Using haddock version 2.22.0 found on system at: | |
/nix/store/v2irxsz710ghkw0whk3n36lkb31msw06-ghc-8.6.5/bin/haddock | |
No happy found | |
Using haskell-suite found on system at: haskell-suite-dummy-location | |
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location | |
No hmake found | |
Using hpc version 0.67 found on system at: | |
/nix/store/v2irxsz710ghkw0whk3n36lkb31msw06-ghc-8.6.5/bin/hpc | |
Using hsc2hs version 0.68.5 found on system at: | |
/nix/store/v2irxsz710ghkw0whk3n36lkb31msw06-ghc-8.6.5/bin/hsc2hs | |
Using hscolour version 1.24 found on system at: | |
/nix/store/sbaw5gk27a7lzskw2pgp3qvf1f3ynb9a-hscolour-1.24.4/bin/HsColour | |
No jhc found | |
Using ld found on system at: | |
/nix/store/axkkr27z9cjzxac1c9s6ngda73kbz063-binutils-wrapper-2.31.1/bin/ld.gold | |
No pkg-config found | |
Using runghc version 8.6.5 found on system at: | |
/nix/store/v2irxsz710ghkw0whk3n36lkb31msw06-ghc-8.6.5/bin/runghc | |
Using strip version 2.31 found on system at: | |
/nix/store/1zf4cnaaidjajwb4gx4mnkqc5dypkcdy-binutils-2.31.1/bin/strip | |
Using tar found on system at: | |
/nix/store/c98k0shcp2yp69g81mqhbqw3xbxvnk0r-gnutar-1.32/bin/tar | |
No uhc found | |
building | |
Preprocessing library for uuid-orphans-1.4.4.. | |
Building library for uuid-orphans-1.4.4.. | |
[1 of 1] Compiling Data.UUID.Orphans ( Data/UUID/Orphans.hs, dist/build/Data/UUID/Orphans.o ) | |
Data/UUID/Orphans.hs:17:1: error: | |
Illegal standalone deriving declaration | |
Use StandaloneDeriving to enable this extension | |
| | |
17 | deriving instance Generic UUID | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
builder for '/nix/store/jjd82mda9yy9wxldffgwamg65mfdqm33-uuid-orphans-1.4.4.drv' failed with exit code 1 | |
cannot build derivation '/nix/store/p2mkah5q4wk242mmgd8w28xh8a6lkxcq-ghc-8.6.5-with-packages.drv': 1 dependencies couldn't be built | |
cannot build derivation '/nix/store/jk310gn5p0cqqm6jj1cwhrsvsnc0y1c2-ghc-8.6.5-with-packages_fish-completions.drv': 1 dependencies couldn't be built | |
cannot build derivation '/nix/store/qbcik0myxajpq6clird9ybd0n95fks6y-system-path.drv': 1 dependencies couldn't be built | |
cannot build derivation '/nix/store/glnr91nhsbvn42md8fdyjxsd1n04caq7-nixos-system-nixos-20.03.2015.e7752db2fb6.drv': 1 dependencies couldn't be built | |
error: build of '/nix/store/glnr91nhsbvn42md8fdyjxsd1n04caq7-nixos-system-nixos-20.03.2015.e7752db2fb6.drv' failed |
Why are you putting overlays
in config
?
nixpkgs.overlays = [
(final: prev: {
haskellPackages = prev.haskellPackages.override {
overrides = hfinal: hprev: { uuid-orphans = hprev.uuid-orphans.overrideAttrs (_: { src = final.fetchFromGitHub {
owner = "seereason";
repo = "uuid-orphans";
rev = "5013f093c4f59268a99cfb96d76ce19936151d9b";
sha256 = "015xshjz9bb35gv67hxphcpqnf1srm6kib1i1rgy1nqy1df94prz";
}; }); };
};
})];
Tried using following and it still throws same error:
nixpkgs = {
config = {
allowUnfree = true;
allowBroken = true;
oraclejdk.accept_license = true;
packageOverrides = pkgs: {
unstable = import unstableTarball {
config = config.nixpkgs.config;
};
};
};
overlays = [
(final: prev: {
haskellPackages = prev.haskellPackages // {
overrides = hfinal: hprev: { uuid-orphans = hprev.uuid-orphans.overrideAttrs (_: { src = final.fetchFromGitHub {
owner = "seereason";
repo = "uuid-orphans";
rev = "5013f093c4f59268a99cfb96d76ce19936151d9b";
sha256 = "015xshjz9bb35gv67hxphcpqnf1srm6kib1i1rgy1nqy1df94prz";
}; }); };
};
})];
};
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using the following overlay and it still uses v 1.4.4 instead of 1.4.5: