Skip to content

Instantly share code, notes, and snippets.

warning: Nix search path entry '/home/demo/.nix-defexpr/channels' does not exist, ignoring
building '/nix/store/04s6cca0b5q00n0qqp8h1kwzqrbiz1f5-cabal2nix-heist.drv'...
installing
*** found zero or more than one cabal file ([]). Exiting.
builder for '/nix/store/04s6cca0b5q00n0qqp8h1kwzqrbiz1f5-cabal2nix-heist.drv' failed with exit code 1
error: while evaluating anonymous function at /home/demo/test/myproject/reflex-platform/project/default.nix:167:30, called from /nix/store/3ym8gkqkdg13gr12pa4s59k9j06wfd52-source/lib/attrsets.nix:199:52:
while evaluating 'workOnMulti'' at /home/demo/test/myproject/reflex-platform/default.nix:666:18, called from /home/demo/test/myproject/reflex-platform/project/default.nix:168:7:
while evaluating 'runCommand'' at /nix/store/3ym8gkqkdg13gr12pa4s59k9j06wfd52-source/pkgs/build-support/trivial-builders.nix:5:36, called from /home/demo/test/myproject/reflex-platform/default.nix:683:8:
while evaluating 'ghcWithHoogle' at /nix/store/3ym8gkqkdg13gr12pa4s59k9j06wfd52-source/pkgs/develo
# default.nix
(import ./reflex-platform {}).project ({ pkgs, ... }: {
packages = {
common = ./common;
backend = ./backend;
frontend = ./frontend;
google-maps-reflex = ./google-maps-reflex;
heist = pkgs.haskell.lib.doJailbreak pkgs.haskellPackages.heist;
};
warning: Nix search path entry '/home/demo/.nix-defexpr/channels' does not exist, ignoring
building '/nix/store/f8yv2zgajys6zpjnp5jy8y2cdvqw2j43-cabal2nix-heist.drv'...
installing
cabal2nix: nix-prefetch-zip: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
builder for '/nix/store/f8yv2zgajys6zpjnp5jy8y2cdvqw2j43-cabal2nix-heist.drv' failed with exit code 1
error: build of '/nix/store/f8yv2zgajys6zpjnp5jy8y2cdvqw2j43-cabal2nix-heist.drv' failed
(use '--show-trace' to show detailed location information)
# default.nix
(import ./reflex-platform {}).project ({ pkgs, ... }: {
packages = {
common = ./common;
backend = ./backend;
frontend = ./frontend;
google-maps-reflex = ./google-maps-reflex;
# heist = pkgs.haskell.lib.doJailbreak pkgs.haskellPackages.heist.src;
heist = pkgs.haskellPackages.heist.src;
};
warning: Nix search path entry '/home/demo/.nix-defexpr/channels' does not exist, ignoring
these derivations will be built:
/nix/store/d6ji516i7pry5l6gv18y6hpj9k1bvgg5-heist-1.0.1.0.drv
/nix/store/zj1clks7mzq8gn91ahhwa3nvpi5rwra9-snap-1.0.0.2.drv
/nix/store/ifygvvhjcg46mrv7sgsw3nl3p54kr2c3-hoogle-local-0.1.drv
/nix/store/fd2g848zlh59lyypvy3kbcz4pkgp6j42-ghc-8.0.2-with-packages.drv
building '/nix/store/d6ji516i7pry5l6gv18y6hpj9k1bvgg5-heist-1.0.1.0.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/snpnx6gdggvjpdig04n4q7x2yd1bgjbb-ghc-8.0.2.
unpacking sources
warning: Nix search path entry '/home/demo/.nix-defexpr/channels' does not exist, ignoring
these derivations will be built:
/nix/store/d6ji516i7pry5l6gv18y6hpj9k1bvgg5-heist-1.0.1.0.drv
/nix/store/zj1clks7mzq8gn91ahhwa3nvpi5rwra9-snap-1.0.0.2.drv
/nix/store/ifygvvhjcg46mrv7sgsw3nl3p54kr2c3-hoogle-local-0.1.drv
/nix/store/fd2g848zlh59lyypvy3kbcz4pkgp6j42-ghc-8.0.2-with-packages.drv
building '/nix/store/d6ji516i7pry5l6gv18y6hpj9k1bvgg5-heist-1.0.1.0.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/snpnx6gdggvjpdig04n4q7x2yd1bgjbb-ghc-8.0.2.
unpacking sources
# default.nix
(import ./reflex-platform {}).project ({ pkgs, ... }: {
packages = {
common = ./common;
backend = ./backend;
frontend = ./frontend;
google-maps-reflex = ./google-maps-reflex;
# heist = pkgs.haskell.lib.doJailbreak pkgs.haskellPackages.heist.src;
# heist = pkgs.haskellPackages.heist.src;
overrides = self: super: {
# default.nix
(import ./reflex-platform {}).project ({ pkgs, ... }: {
overrides = self: super: {
heist = pkgs.haskell.lib.doJailbreak super.heist;
};
packages = {
common = ./common;
backend = ./backend;
warning: Nix search path entry '/home/demo/.nix-defexpr/channels' does not exist, ignoring
src/Servant/Server/Internal/RoutingApplication.hs:52:3: warning: [-Wunused-matches]
Defined but not used: ‘snapReq’
src/Servant/Server/Internal.hs:60:47: error:
Module ‘Servant.API’ does not export ‘BoundaryStrategy(..)’
src/Servant/Server/Internal.hs:62:59: error:
Module ‘Servant.API’ does not export ‘FramingRender(..)’
{-# Language OverloadedStrings #-}
{-# Language DefaultSignatures #-}
{-# Language TypeOperators #-}
{-# Language FlexibleContexts #-}
{-# Language DeriveGeneric #-}
{-# Language DeriveAnyClass #-}
{-# Language RankNTypes #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE ScopedTypeVariables #-}