We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a weird inconsistency where I encounter the following error only when using nix-build -A ghcjs.frontend:
nix-build -A ghcjs.frontend
Setup: Encountered missing dependencies: servant-reflex -any
Building with cabal works fine:
nix-shell -A shells.ghcjs --run "cabal new-build all"
This is my slightly modified default.nix where I added servant-reflex as haskell-package-override:
default.nix
servant-reflex
# default.nix { system ? builtins.currentSystem, unstable ? import <nixos-unstable> {} } : (import ./reflex-platform { inherit system; }).project ({pkgs, ...}: { useWarp = true; packages = { common = ./common; backend = ./backend; frontend = ./frontend; }; shells = { ghc = ["common" "backend" "frontend"]; ghcjs = ["common" "frontend"]; }; shellToolOverrides = ghc: super: { haskell-language-server = unstable.haskell-language-server; }; overrides = self: super: { gerippe = self.callPackage ./gerippe {}; mmorph = self.callHackage "mmorph" "1.1.3" {}; servant-reflex = pkgs.fetchFromGitHub { owner = "imalsogreg"; repo = "servant-reflex"; rev = "master"; sha256 = "0issnp95rnji3v9qifr0brypxsvmjkzanfq5lscj68lynnjv37g0"; }; }; })
The text was updated successfully, but these errors were encountered:
As a workaround, I added servant-reflex as a local package (next to common) via git submodule.
common
I have no idea, though, what's going on. My other override-dependency, gerippe, does not cause any problem either.
override
gerippe
Sorry, something went wrong.
No branches or pull requests
I have a weird inconsistency where I encounter the following error only when using
nix-build -A ghcjs.frontend
:Building with cabal works fine:
This is my slightly modified
default.nix
where I addedservant-reflex
as haskell-package-override:The text was updated successfully, but these errors were encountered: