Created
March 3, 2019 16:24
-
-
Save EvanMisshula/d445f9f119ec469e0f33118e18eea5fb to your computer and use it in GitHub Desktop.
release.nix
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
contianers-unicode-syntax.nix follows: | |
{ mkDerivation, base, base-unicode-symbols, containers, stdenv }: | |
mkDerivation { | |
pname = "containers-unicode-symbols"; | |
version = "0.3.1.1"; | |
sha256 = "4655f286a2d116cb5f2b89f472df54df739bf904ac8e932b2fd34d3f713e9b31"; | |
libraryHaskellDepends = [ base base-unicode-symbols containers ]; | |
jailbreak = true; | |
doCheck = false; | |
homepage = "http://haskell.org/haskellwiki/Unicode-symbols"; | |
description = "Unicode alternatives for common functions and operators"; | |
license = stdenv.lib.licenses.bsd3; | |
} | |
release2.nix follows: | |
let | |
config = { | |
packageOverrides = pkgs: rec { | |
haskellPackages = pkgs.haskellPackages.override { | |
overrides = haskellPackagesNew: haskellPackagesOld: rec { | |
containers-unicode-symbols = | |
haskellPackagesNew.callPackage ./containers-unicode-symbols.nix { }; | |
project0 = | |
haskellPackagesNew.callPackage ./default.nix { }; | |
}; | |
}; | |
}; | |
}; | |
pkgs = import <nixpkgs> { inherit config; }; | |
in | |
{ | |
containers-unicode-symbols = pkgs.haskellPackages.containers-unicode-symbols; | |
project0 = pkgs.haskellPackages.project0; | |
} | |
feedback from the build in the shell follows: | |
minsky:haskell-katas evan$ nix-shell --attr project0 release2.nix | |
these derivations will be built: | |
/nix/store/hn2mqpqz94nmyjcs4pbvarq4gcxq5vxa-containers-unicode-symbols-0.3.1.1.drv | |
building '/nix/store/hn2mqpqz94nmyjcs4pbvarq4gcxq5vxa-containers-unicode-symbols-0.3.1.1.drv'... | |
setupCompilerEnvironmentPhase | |
Build with /nix/store/a1841jy51gbsqm9jqp7ma1ga89gjvnka-ghc-8.6.3. | |
unpacking sources | |
unpacking source archive /nix/store/6av4g7613kdbnw9pd35ipnjw67zwzwa8-containers-unicode-symbols-0.3.1.1.tar.gz | |
source root is containers-unicode-symbols-0.3.1.1 | |
setting SOURCE_DATE_EPOCH to timestamp 1365544103 of file containers-unicode-symbols-0.3.1.1/containers-unicode-symbols.cabal | |
patching sources | |
Run jailbreak-cabal to lift version restrictions on build inputs. | |
compileBuildDriverPhase | |
setupCompileFlags: -package-db=/private/var/folders/s6/sjyvttp568s3sj22dgrtk8tm0000gn/T/nix-build-containers-unicode-symbols-0.3.1.1.drv-0/setup-package.conf.d -j4 -threaded | |
[1 of 1] Compiling Main ( Setup.hs, /private/var/folders/s6/sjyvttp568s3sj22dgrtk8tm0000gn/T/nix-build-containers-unicode-symbols-0.3.1.1.drv-0/Main.o ) | |
Linking Setup ... | |
configuring | |
configureFlags: --verbose --prefix=/nix/store/y026741xlj4ywmqw9wnsvgjswlw7f85i-containers-unicode-symbols-0.3.1.1 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/iz3naxzn1a7w3kvpwbvqrvr1npkknyfa-containers-unicode-symbols-0.3.1.1-doc/share/doc/containers-unicode-symbols-0.3.1.1 --with-gcc=clang --package-db=/private/var/folders/s6/sjyvttp568s3sj22dgrtk8tm0000gn/T/nix-build-containers-unicode-symbols-0.3.1.1.drv-0/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 --disable-tests --disable-benchmarks --enable-library-vanilla --enable-library-for-ghci --extra-include-dirs=/nix/store/bh0kcvcv4rgjh53r2xi7l0n9x6fhk0ad-libc++-5.0.2/include --extra-lib-dirs=/nix/store/bh0kcvcv4rgjh53r2xi7l0n9x6fhk0ad-libc++-5.0.2/lib --extra-include-dirs=/nix/store/mgbn39mdv4mmzcsd4ix3x8sngvz8a8mm-libc++abi-5.0.2/include --extra-lib-dirs=/nix/store/mgbn39mdv4mmzcsd4ix3x8sngvz8a8mm-libc++abi-5.0.2/lib --extra-include-dirs=/nix/store/ldh9yl3f077l8nh12glnzf5bmzljrz3y-compiler-rt-5.0.2-dev/include --extra-lib-dirs=/nix/store/9y5fwqirqwic6rjj09lk2byw81ppv2j6-compiler-rt-5.0.2/lib --extra-lib-dirs=/nix/store/vv2b0p5cfjinnr6vx6i73958x15syrs3-ncurses-6.1-20181027/lib --extra-lib-dirs=/nix/store/894v1yfgfw67lbzmv4kpbzafsri715d2-libffi-3.2.1/lib --extra-lib-dirs=/nix/store/qdxpdbxd3l2rnr7ma66d4xgdvfrgxqvx-gmp-6.1.2/lib --extra-include-dirs=/nix/store/5lp3h8zfkp6h1h1ypwcjjn75iggk8fj7-libiconv-osx-10.11.6/include --extra-lib-dirs=/nix/store/5lp3h8zfkp6h1h1ypwcjjn75iggk8fj7-libiconv-osx-10.11.6/lib --extra-framework-dirs=/nix/store/dygglfz7pkz8pj12dcna1ii24vmzghrx-swift-corefoundation/Library/Frameworks | |
Using Parsec parser | |
Configuring containers-unicode-symbols-0.3.1.1... | |
CallStack (from HasCallStack): | |
die', called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:950:20 in Cabal-2.4.0.1:Distribution.Simple.Configure | |
configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:460:12 in Cabal-2.4.0.1:Distribution.Simple.Configure | |
configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:596:20 in Cabal-2.4.0.1:Distribution.Simple | |
confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:67:5 in Cabal-2.4.0.1:Distribution.Simple.UserHooks | |
configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:178:19 in Cabal-2.4.0.1:Distribution.Simple | |
defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:115:27 in Cabal-2.4.0.1:Distribution.Simple | |
defaultMain, called at Setup.hs:3:8 in main:Main | |
Setup: Encountered missing dependencies: | |
containers >=0.4 && <0.6 | |
builder for '/nix/store/hn2mqpqz94nmyjcs4pbvarq4gcxq5vxa-containers-unicode-symbols-0.3.1.1.drv' failed with exit code 1 | |
error: build of '/nix/store/hn2mqpqz94nmyjcs4pbvarq4gcxq5vxa-containers-unicode-symbols-0.3.1.1.drv' failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment