Skip to content

Instantly share code, notes, and snippets.

@zfnmxt
Last active October 7, 2019 13:38
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 zfnmxt/4560a373fca4bfb82ad9abb6d375779d to your computer and use it in GitHub Desktop.
Save zfnmxt/4560a373fca4bfb82ad9abb6d375779d to your computer and use it in GitHub Desktop.
nixpkgs = {
config = {
allowUnfree = true;
};
overlays = [
(self: super: {
haskell.compiler = self.haskell.compiler // { ghc802 = self.nur.repos.mpickering.ghc.ghc802; };
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
inherit pkgs;
};
})
];
};
-----------------------------------------------------------------------------------
[~]$ sudo nixos-rebuild switch
building Nix...
building the system configuration...
error: attribute 'lib' missing, at /home/zfnmxt/repos/nixpkgs/pkgs/top-level/all-packages.nix:10079:16
(use '--show-trace' to show detailed location information)
-------------------------------
all-packages.nix:10079:16:
shellcheck = haskell.lib.justStaticExecutables haskellPackages.ShellCheck;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment