[darcs-devel] [issue2377] darcs amend crashes in src/Darcs/Repository/PatchIndex.hs:246

Ben Franksen bugs at darcs.net
Sat Apr 12 20:17:40 UTC 2014


Ben Franksen <benjamin.franksen at helmholtz-berlin.de> added the comment:

The repo is now broken. I tried to record some more stuff and got the
same error:

ben at sarun[1]: .../Epics/nix-support > darcs record pkgs/config.nix 
Recording changes in "pkgs/config.nix":

hunk ./pkgs/config.nix 6
-    epics_base = callPackage epics/base/full.nix { version =
"3.14.12.4"; };
-
-    epics_base_3_14_12_3 = callPackage epics/base/full.nix { version =
"3.14.12.3"; };
-
-#    epics_catools = callPackage epics/base/catools.nix {};
-#     epics_base = callPackage epics/base { base = epics_base; };
-#    sequencer = callPackage epics/seq { version = "2.1.16"; base =
epics_base; };
-
-    seq = {hash}: callPackage epics/local.nix {
-      name = "seq";
-      version = "2.1.16";
-      repo = "epics/support/seq/branch-2-1";
-      deps = { EPICS_BASE = epics_base; };
-      extraInputs = [ re2c ];
-      inherit hash;
-    };
-
-#     epics_env = myEnvFun {
-#       name = "epics-devel";
-#       shell = "zsh -l";
-#       extraCmds = ''
-#         export EPICS_HOST_ARCH=linux-x86_64
-#         export PERL5LIB=.nix-profile/lib/perl:$PERL5LIB
-#       '';
-#       buildInputs = [ stdenv perl readline re2c epics_base sequencer ];
-#     };
+    nix-make = callPackage epics/build-support/nix-make {};
Shall I record this change? (1/1)  [ynW...], or ? for more options: y
Do you want to record these changes? [Yglqk...], or ? for more options: y
What is the patch name? removed everything except fetchdarcs and
nix-make from config.nix 
Do you want to add a long comment? [yn]n

darcs failed:  bug at src/Darcs/Repository/PatchIndex.hs:246 compiled
Apr 12 2014 22:01:47
couldn't find ./scripts in patch index
See http://wiki.darcs.net/BugTracker/Reporting for help on bug reporting.
Failed to record patch 'removed everything except fetchdarcs and
nix-make from config.nix'

BTW, darcs is lying: it did record the new patch:

ben at sarun[1]: .../Epics/nix-support > darcs changes
Sat Apr 12 22:14:21 CEST 2014  Ben Franksen
<benjamin.franksen at helmholtz-berlin.de>
  * removed everything except fetchdarcs and nix-make from config.nix
Shall I view this patch? (1/?) [yN...], or ? for more options: q

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2377>
__________________________________


More information about the darcs-devel mailing list