From 9d8f2b683849612d262eaaa22938974af91a5d97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Baylac=20Jacqu=C3=A9?= Date: Wed, 18 Dec 2019 18:05:14 +0100 Subject: [PATCH] repro --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..07724e5 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# `haskell-nix.cabalProject` bug minimal repro + +1. Clone this repo. +2. Run `nix build -f . dummy-app.components.exes.dummy-app`. + +Expected output: + +``` +trace: Using latest index state! +trace: Using index-state: 2019-12-14T00:00:00Z +builder for '/nix/store/g5023y5h06iy1bj076zzaaza0v8c80w3-plan-to-nix-pkgs.drv' failed with exit code 128; last 2 log lines: + Cloning into '/build/tmp.UZdw0uapal/dist-newstyle/src/canonical_-1f90751276f12f5a'... + fatal: unable to access 'http://github.com/well-typed/canonical-json/': Could not resolve host: github.com +[1 built (1 failed), 0.0 MiB DL] +error: build of '/nix/store/g5023y5h06iy1bj076zzaaza0v8c80w3-plan-to-nix-pkgs. +```