Skip to content

Instantly share code, notes, and snippets.

@dustinlacewell
Created September 17, 2021 00:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dustinlacewell/8fb9f4c7dca9426fc635d6920152a54e to your computer and use it in GitHub Desktop.
Save dustinlacewell/8fb9f4c7dca9426fc635d6920152a54e to your computer and use it in GitHub Desktop.
nix-shell
error: anonymous function at /nix/store/1vlyws2p1y04115aw3rpr9ryc83y2iy3-cabal2nix-androcells/default.nix:1:1 called without required argument 'andromeda', at /nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:91:27
let
pkgs = import <nixpkgs> { overlays = [(self: super:
{
haskellPackages = super.haskell.packages.ghc8107.extend (selfHS: superHS: {
andromeda = superHS.callCabal2nix "andromeda" (super.fetchFromGitHub {
owner = "jaredloomis";
repo = "andromeda";
rev = "502dfa6703eca9717c7cde0c93959fa0a83e77ed";
sha256 = "135q7bwc5d9wk9n8mz4lw996mxhaix3j7y444gfiirkryixy4d00";
}) {};
});
})];
};
in
(pkgs.haskell.packages.ghc8107.callCabal2nix "androcells" ./. {}).env.overrideAttrs (old: {
buildInputs = old.buildInputs ++ [
pkgs.ghostscript
pkgs.entr
pkgs.haskell.packages.ghc8107.ghcid
pkgs.haskell.packages.ghc8107.ghcide
pkgs.haskell.packages.ghc8107.haskell-language-server
pkgs.haskell.packages.ghc8107.hlint
pkgs.haskell.packages.ghc8107.andromeda
];
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment