Skip to content

Instantly share code, notes, and snippets.

@Rizary
Created May 22, 2019 17:43
Show Gist options
  • Save Rizary/166a4b952ad95b1e0dc45ada3a3b658f to your computer and use it in GitHub Desktop.
Save Rizary/166a4b952ad95b1e0dc45ada3a3b658f to your computer and use it in GitHub Desktop.
Error
{ system ? builtins.currentSystem
}:
let
reflex-platform = import (import ./nixdeps/reflex-platform) {inherit system;};
haskellLib = pkgs.haskell.lib;
inherit (reflex-platform) nixpkgs;
inherit (nixpkgs) lib;
pkgs = nixpkgs;
monoReflexFun = (reflex-platform.project ({ pkgs, ... }: {
packages = {
frontend = ./landing-static;
};
shells = {
ghcjs = ["frontend"];
};
overrides = self: super:
let fast = p: haskellLib.dontHaddock (haskellLib.dontCheck p);
in rec { frontend = fast super.frontend; };
})).ghcjs.frontend;
landingPage = monoReflexFun;
in {
minified-landing = landingPage;
}
building '/nix/store/znv8df9nmwaaypd2syaspa9g8kbih33l-cabal2nix-frontend.drv'...
installing
unpacking...
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
error: program 'tar' failed with exit code 2
error: unable to download '/nix/store/yr8xxzx8pqr87q7vjm2jia5c58wx1hi7-landing-static': URL using bad/illegal format or missing URL (3)
** 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/yr8xxzx8pqr87q7vjm2jia5c58wx1hi7-landing-static", sourceRevision = "", sourceHash = Guess "", sourceCabalDir = ""})
builder for '/nix/store/znv8df9nmwaaypd2syaspa9g8kbih33l-cabal2nix-frontend.drv' failed with exit code 1
error: build of '/nix/store/znv8df9nmwaaypd2syaspa9g8kbih33l-cabal2nix-frontend.drv' failed
(use '--show-trace' to show detailed location information)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment