-
-
Save gamb/cc9824c7b42bdd04aacbf5aff70a7f17 to your computer and use it in GitHub Desktop.
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
gamble@nixos> cat nixpkgs-pinned.nix | |
{ pkgs ? import <nixpkgs> {}, ...} : | |
let | |
pinned_pkgs_path = pkgs.fetchFromGitHub { | |
owner = "NixOS"; | |
repo = "nixpkgs"; | |
rev = "3fe7cddc304abb86e61a750a4f807270c7ca7825"; | |
sha256 = "13z9whcylsr76z3npc8v8hxalli6jz9h3jv5z4b97cli1kp9y04k"; | |
}; | |
in | |
import pinned_pkgs_path {} | |
gamble@nixos> nix-build -E '(import ./nixpkgs-pinned.nix {}).haskellPackages.postgrest' | |
these derivations will be built: | |
/nix/store/n53i6va1rc1aakgyfha2l9958vlan553-postgrest-0.4.3.0.drv | |
building '/nix/store/n53i6va1rc1aakgyfha2l9958vlan553-postgrest-0.4.3.0.drv'... | |
setupCompilerEnvironmentPhase | |
Build with /nix/store/m74s3ylqgnpycnhaj1hxqax3xpx9l9z9-ghc-8.0.2. | |
unpacking sources | |
unpacking source archive /nix/store/1n8aw3v54q3w6w9pjcss0kjrrrr35zng-postgrest-0.4.3.0.tar.gz | |
source root is postgrest-0.4.3.0 | |
setting SOURCE_DATE_EPOCH to timestamp 1504714141 of file postgrest-0.4.3.0/postgrest.cabal | |
patching sources | |
compileBuildDriverPhase | |
setupCompileFlags: -package-db=/build/package.conf.d -j1 -threaded | |
[1 of 1] Compiling Main ( Setup.hs, /build/Main.o ) | |
Linking Setup ... | |
configuring | |
configureFlags: --verbose --prefix=/nix/store/dqb3rwch1wd841vl621qhggi8089zz1c-postgrest-0.4.3.0 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --docdir=/nix/store/6q9i1f1v62bbna92x6y7xdp4d37l1kgl-postgrest-0.4.3.0-doc/share/doc --with-gcc=gcc --package-db=/build/package.conf.d --ghc-option=-optl=-Wl,-rpath=/nix/store/dqb3rwch1wd841vl621qhggi8089zz1c-postgrest-0.4.3.0/lib/ghc-8.0.2/postgrest-0.4.3.0 --ghc-option=-j1 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-library-vanilla --enable-executable-dynamic --disable-tests --ghc-option=-split-sections | |
Configuring postgrest-0.4.3.0... | |
Setup: Encountered missing dependencies: | |
protolude >=0.2 | |
builder for '/nix/store/n53i6va1rc1aakgyfha2l9958vlan553-postgrest-0.4.3.0.drv' failed with exit code 1 | |
error: build of '/nix/store/n53i6va1rc1aakgyfha2l9958vlan553-postgrest-0.4.3.0.drv' failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment