Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save therewillbecode/dd28ac7a03a3066886d69675c7b6ec5e to your computer and use it in GitHub Desktop.
Save therewillbecode/dd28ac7a03a3066886d69675c7b6ec5e to your computer and use it in GitHub Desktop.
setting SOURCE_DATE_EPOCH to timestamp 1465036472 of file authenticate-oauth-1.6/Web/Authenticate/OAuth/IO.hs
patching sources
Replace Cabal file with edited version from http://hackage.haskell.org/package/authenticate-oauth-1.6/revision/1.cabal.
compileBuildDriverPhase
setupCompileFlags: -package-db=/build/setup-package.conf.d -j4 -threaded
[1 of 1] Compiling Main ( Setup.lhs, /build/Main.o )
unpacking sources
unpacking source archive /nix/store/vnan6xar42hf2pabl7apwscqnd9w75zr-beam-core-0.7.2.3.tar.gz
source root is beam-core-0.7.2.3
setting SOURCE_DATE_EPOCH to timestamp 1549648350 of file beam-core-0.7.2.3/test/Database/Beam/Test/Schema.hs
patching sources
applying patch /nix/store/gcy9034g7rpznn1cwq59zls24ripxl0k-beam-core-fix-ghc-8.6.x-build.patch
patching file Database/Beam/Backend/SQL.hs
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file Database/Beam/Backend/SQL.hs.rej
patching file Database/Beam/Backend/SQL/Builder.hs
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file Database/Beam/Backend/SQL/Builder.hs.rej
patching file Database/Beam/Schema/Lenses.hs
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Database/Beam/Schema/Lenses.hs.rej
patching file beam-core.cabal
Hunk #1 FAILED at 64 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file beam-core.cabal.rej
builder for '/nix/store/gqdy6fc66jr067bbxirpaixn9hzb014f-beam-core-0.7.2.3.drv' failed with exit code 1
cannot build derivation '/nix/store/6ihv71ys8qxmljmn9rpj2g66as5s97nd-server-0.1.0.0.drv': 1 dependencies couldn't be built
building '/nix/store/lz978s3z2a3gi6xs69qx7v4z3zqmfms3-unit-nscd.service.drv'...
cannot build derivation '/nix/store/4m15w2d232w1czsalfcr4qa6hpjigq23-unit-api.service.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/bhdp42c41gll8c4vs89cyc35xnanzd97-system-units.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/s8k5yl1ck76ay78ih7n6f59pqzyhpvxq-etc.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/lg1xcvjd6dnl9d1xiv4fyflg8yz3vf2z-nixos-system-production-19.03.173408.bd6ba87381e.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/d7ydm8fknvbljahimq07sz4hqy95vkwr-nixops-machines.drv': 1 dependencies couldn't be built
error: build of '/nix/store/d7ydm8fknvbljahimq07sz4hqy95vkwr-nixops-machines.drv' failed
Traceback (most recent call last):
File "/nix/store/jln9i6pa2544wqnjybh0wm3w587zxqm3-nixops-1.7/bin/..nixops-wrapped-wrapped", line 991, in <module>
args.op()
File "/nix/store/jln9i6pa2544wqnjybh0wm3w587zxqm3-nixops-1.7/bin/..nixops-wrapped-wrapped", line 412, in op_deploy
max_concurrent_activate=args.max_concurrent_activate)
File "/nix/store/jln9i6pa2544wqnjybh0wm3w587zxqm3-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 1063, in deploy
self.run_with_notify('deploy', lambda: self._deploy(**kwargs))
File "/nix/store/jln9i6pa2544wqnjybh0wm3w587zxqm3-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 1052, in run_with_notify
f()
File "/nix/store/jln9i6pa2544wqnjybh0wm3w587zxqm3-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 1063, in <lambda>
self.run_with_notify('deploy', lambda: self._deploy(**kwargs))
File "/nix/store/jln9i6pa2544wqnjybh0wm3w587zxqm3-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 1003, in _deploy
self.configs_path = self.build_configs(dry_run=dry_run, repair=repair, include=include, exclude=exclude)
File "/nix/store/jln9i6pa2544wqnjybh0wm3w587zxqm3-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 671, in build_configs
raise Exception("unable to build all machine configurations")
Exception: unable to build all machine configurations
nixos%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment