Skip to content

Instantly share code, notes, and snippets.

@expipiplus1
Created August 9, 2016 09:41
Show Gist options
  • Save expipiplus1/f41b192f4ccf0329cddaab1e77d4b7f6 to your computer and use it in GitHub Desktop.
Save expipiplus1/f41b192f4ccf0329cddaab1e77d4b7f6 to your computer and use it in GitHub Desktop.
Derive
( [ ( "out"
, "/nix/store/n3hm9i6yacm4qzzikqby57nccm8jizhq-update-nix-fetchgit-0.1.0.0"
, ""
, ""
)
]
, [ ( "/nix/store/172gppycv8zp1kz5593hb9hpmf0r1xpy-data-fix-0.0.3.drv"
, [ "out" ]
)
, ( "/nix/store/4nb3syg0bwi3vc4msvz5sh6hzs7pp8h0-aeson-0.11.2.0.drv"
, [ "out" ]
)
, ( "/nix/store/53mfvqmqrgxkypsqrw8q01x8pwinb0v3-async-2.1.0.drv"
, [ "out" ]
)
, ( "/nix/store/7658naklxb13a20rfy8xf01094dg93n2-ansi-wl-pprint-0.6.7.3.drv"
, [ "out" ]
)
, ( "/nix/store/7d5w3347pikc41fj9p9yx4saykb5qijy-stdenv.drv"
, [ "out" ]
)
, ( "/nix/store/8qg9kbxa8r41c2pdrzybh56ynyp2ycgr-gnused-4.2.2.drv"
, [ "out" ]
)
, ( "/nix/store/f5m5h3b4w3kma5k8i41dqydq6bx0y9ak-ghc-7.10.3.drv"
, [ "out" ]
)
, ( "/nix/store/iwnbh4wvqn1wc04x2c6hn23w3abdvvn3-glibc-locales-2.23.drv"
, [ "out" ]
)
, ( "/nix/store/kszhg5pb7q3m2hfdi18bssv773mi860s-coreutils-8.25.drv"
, [ "out" ]
)
, ( "/nix/store/mafvks9ypd21hzsq2appf2n94ig4ihvf-hscolour-1.24.1.drv"
, [ "out" ]
)
, ( "/nix/store/pnn049pby0dqxci2cic60dqk1n9mb4ab-uniplate-1.6.12.drv"
, [ "out" ]
)
, ( "/nix/store/rcinx4ivn3f432aa5as1dbhhy2mp57h2-hnix-0.3.1.drv"
, [ "out" ]
)
, ( "/nix/store/y6d5sj2pqzdjz7ng99shyc9vmnz0m280-text-1.2.2.1.drv"
, [ "out" ]
)
, ( "/nix/store/yc686w0b92s9av3y2qnz7vd85l3dzqfi-gnugrep-2.25.drv"
, [ "out" ]
)
, ( "/nix/store/yrmiiqgwivlrcq1bs9hiydh0nbfcmlgm-bash-4.3-p42.drv"
, [ "out" ]
)
, ( "/nix/store/zyg35ih8m6ckbl30m69k46bn39fk0nyg-utf8-string-1.0.1.1.drv"
, [ "out" ]
)
]
, [ "/nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs"
, "/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"
, "/nix/store/9ynkv0plgaav1zz7d4rk1l8farnxn80z-update-nix-fetchgit"
]
, "x86_64-linux"
, "/nix/store/d44582rghk696yw704sh5nbvbpnm69iv-bash-4.3-p42/bin/bash"
, [ "-e"
, "/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"
]
, [ ( "LANG" , "en_US.UTF-8" )
, ( "LOCALE_ARCHIVE"
, "/nix/store/v8kysssjvxii7zpkc27rmhcd9nqilza9-glibc-locales-2.23/lib/locale/locale-archive"
)
, ( "buildInputs" , "" )
, ( "buildPhase"
, "runHook preBuild\n./Setup build \nrunHook postBuild\n"
)
, ( "builder"
, "/nix/store/d44582rghk696yw704sh5nbvbpnm69iv-bash-4.3-p42/bin/bash"
)
, ( "checkPhase"
, "runHook preCheck\n./Setup test \nrunHook postCheck\n"
)
, ( "compileBuildDriverPhase"
, "runHook preCompileBuildDriver\n\nfor i in Setup.hs Setup.lhs /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs; do\n test -f $i && break\ndone\n\necho setupCompileFlags: $setupCompileFlags\nghc $setupCompileFlags --make -o Setup -odir $TMPDIR -hidir $TMPDIR $i\n\nrunHook postCompileBuildDriver\n"
)
, ( "configurePhase"
, "runHook preConfigure\n\nunset GHC_PACKAGE_PATH # Cabal complains if this variable is set during configure.\n\necho configureFlags: $configureFlags\n./Setup configure $configureFlags 2>&1 | /nix/store/07axizqswlwc819xcd8dk2m1q0ylddmh-coreutils-8.25/bin/tee \"$NIX_BUILD_TOP/cabal-configure.log\"\nif /nix/store/6nh1pgzsrf71xx2gy5x61czhwgd0b55y-gnugrep-2.25/bin/egrep -q '^Warning:.*depends on multiple versions' \"$NIX_BUILD_TOP/cabal-configure.log\"; then\n echo >&2 \"*** abort because of serious configure-time warning from Cabal\"\n exit 1\nfi\n\nexport GHC_PACKAGE_PATH=\"$packageConfDir:\"\n\nrunHook postConfigure\n"
)
, ( "doCheck" , "1" )
, ( "haddockPhase"
, "runHook preHaddock\n./Setup haddock --html \\\n --hoogle \\\n --hyperlink-source\n\nrunHook postHaddock\n"
)
, ( "installPhase"
, "runHook preInstall\n\n./Setup copy\nlocal packageConfDir=\"$out/lib/ghc-7.10.3/package.conf.d\"\nlocal packageConfFile=\"$packageConfDir/update-nix-fetchgit-0.1.0.0.conf\"\nmkdir -p \"$packageConfDir\"\n./Setup register --gen-pkg-config=$packageConfFile\nlocal pkgId=$( /nix/store/8ga3jbvr2q2jy9g27b9iy8c746nr20q4-gnused-4.2.2/bin/sed -n -e 's|^id: ||p' $packageConfFile )\nmv $packageConfFile $packageConfDir/$pkgId.conf\n\n\n\n\nrunHook postInstall\n"
)
, ( "name" , "update-nix-fetchgit-0.1.0.0" )
, ( "nativeBuildInputs" , "" )
, ( "out"
, "/nix/store/n3hm9i6yacm4qzzikqby57nccm8jizhq-update-nix-fetchgit-0.1.0.0"
)
, ( "postPatch" , "" )
, ( "preConfigurePhases" , "compileBuildDriverPhase" )
, ( "preInstallPhases" , "haddockPhase" )
, ( "prePatch" , "" )
, ( "prePhases" , "setupCompilerEnvironmentPhase" )
, ( "propagatedBuildInputs" , "" )
, ( "propagatedNativeBuildInputs"
, "/nix/store/ci65jkjnq0vwn6jl7j6qx2qdss1iir11-aeson-0.11.2.0 /nix/store/r1ikcq24djq6vf8p1dlv5iqd5dv1rqmy-ansi-wl-pprint-0.6.7.3 /nix/store/blrcw234968i25s1pw8vq5gckx534754-async-2.1.0 /nix/store/3h8iiy59f1b3ms88y6vmaj1x68ccalrb-data-fix-0.0.3 /nix/store/jk2j8yf3phafk1s89nz0ccpg5833ff6g-hnix-0.3.1 /nix/store/8xw6y4wfwyc1x32j0cgwgiara10bn4nb-text-1.2.2.1 /nix/store/5g7zw1hd1sxa8iaxbhs8cfjpjxl08x27-uniplate-1.6.12 /nix/store/p2wy1z3ffhd81ab391r56vyvzkwbv3iv-utf8-string-1.0.1.1 /nix/store/8xw6y4wfwyc1x32j0cgwgiara10bn4nb-text-1.2.2.1"
)
, ( "setupCompilerEnvironmentPhase"
, "runHook preSetupCompilerEnvironment\n\necho \"Build with /nix/store/dlnqa7jhb8880iqshh9mqcn8n4xc8cl1-ghc-7.10.3.\"\nexport PATH=\"/nix/store/dlnqa7jhb8880iqshh9mqcn8n4xc8cl1-ghc-7.10.3/bin:$PATH\"\nexport PATH=/nix/store/vpsqg0ln8vn7bj6v1jbgyxlvbgwg5hrz-hscolour-1.24.1/bin:$PATH\n\npackageConfDir=\"$TMPDIR/package.conf.d\"\nmkdir -p $packageConfDir\n\nsetupCompileFlags=\"-package-db=$packageConfDir -j$NIX_BUILD_CORES -threaded\"\nconfigureFlags=\"--verbose --prefix=$out --libdir=\\$prefix/lib/\\$compiler --libsubdir=\\$pkgid --with-gcc=$CC --package-db=$packageConfDir --ghc-option=-optl=-Wl,-rpath=$out/lib/ghc-7.10.3/update-nix-fetchgit-0.1.0.0 --enable-split-objs --disable-library-profiling --disable-executable-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --enable-tests $configureFlags\"\n\nlocal inputClosure=\"\"\nfor i in $propagatedNativeBuildInputs $nativeBuildInputs; do\n findInputs $i inputClosure propagated-native-build-inputs\ndone\nfor p in $inputClosure; do\n if [ -d \"$p/lib/ghc-7.10.3/package.conf.d\" ]; then\n cp -f \"$p/lib/ghc-7.10.3/package.conf.d/\"*.conf $packageConfDir/\n continue\n fi\n if [ -d \"$p/include\" ]; then\n configureFlags+=\" --extra-include-dirs=$p/include\"\n fi\n if [ -d \"$p/lib\" ]; then\n configureFlags+=\" --extra-lib-dirs=$p/lib\"\n fi\ndone\nghc-pkg --package-db=\"$packageConfDir\" recache\n\nrunHook postSetupCompilerEnvironment\n"
)
, ( "src"
, "/nix/store/9ynkv0plgaav1zz7d4rk1l8farnxn80z-update-nix-fetchgit"
)
, ( "stdenv"
, "/nix/store/cb4sy9rsxbzzdazcp4wmzbfqhygjixvi-stdenv"
)
, ( "system" , "x86_64-linux" )
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment