Skip to content

Instantly share code, notes, and snippets.

@zeta-00
Created March 20, 2020 20:22
Show Gist options
  • Select an option

  • Save zeta-00/2d806c4d2720e4200a0add034994fd60 to your computer and use it in GitHub Desktop.

Select an option

Save zeta-00/2d806c4d2720e4200a0add034994fd60 to your computer and use it in GitHub Desktop.

Revisions

  1. zeta-00 created this gist Mar 20, 2020.
    19 changes: 19 additions & 0 deletions darcs, nix-shell error:
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    [zeta@nixos:/darcs-2.14.2]$ ls -a
    . contrib darcs.cabal GNUmakefile release tests
    .. COPYING darcs.nix harness Setup.hs
    CHANGELOG darcs default.nix README.md src

    [zeta@nixos:/darcs-2.14.2]$ nix-shell
    building '/nix/store/rxv4ljil69k3rh8fbb8p3sxhgvcq2yvj-cabal2nix-darcs-2.14.2.drv'...
    installing
    error: creating directory '/nix/var': Permission denied
    error: creating directory '/nix/var': Permission denied
    ** need a revision for VCS when the hash is given. skipping.
    ** need a revision for VCS when the hash is given. skipping.
    ** need a revision for VCS when the hash is given. skipping.
    ** need a revision for VCS when the hash is given. skipping.
    cabal2nix: user error (Failed to fetch source. Does this source exist? Source {sourceUrl = "/nix/store/r294sqwbd7xwg3pby3da6m6zql5achg0-darcs-2.14.2", sourceRevision = "", sourceHash = Guess "", sourceCabalDir = ""})
    builder for '/nix/store/rxv4ljil69k3rh8fbb8p3sxhgvcq2yvj-cabal2nix-darcs-2.14.2.drv' failed with exit code 1
    error: build of '/nix/store/rxv4ljil69k3rh8fbb8p3sxhgvcq2yvj-cabal2nix-darcs-2.14.2.drv' failed

    [zeta@nixos:/darcs-2.14.2]$