mirror of
https://github.com/ryantm/nixpkgs-update.git
synced 2024-09-20 10:18:00 +03:00
30 lines
967 B
Nix
30 lines
967 B
Nix
{ nixpkgs-tarball ? builtins.fetchTarball {
|
|
name = "nixpkgs-unstable";
|
|
url = "https://releases.nixos.org/nixos/unstable/nixos-20.03pre193829.f0fec244ca3/nixexprs.tar.xz";
|
|
sha256 = "03iqwyz5lxaq4k2hw4wfd55gizdf1230jcsqia0zmp3whpyj5y1x";
|
|
}, pkgs ? import nixpkgs-tarball { config = { allowBroken = true; }; } }:
|
|
|
|
let
|
|
|
|
compiler = pkgs.haskell.packages."ghc865";
|
|
|
|
inherit (pkgs.haskell.lib) dontCheck doJailbreak;
|
|
|
|
pkg = compiler.developPackage {
|
|
root = ./.;
|
|
overrides = self: super: {
|
|
polysemy = super.polysemy_1_2_1_0;
|
|
polysemy-plugin = dontCheck super.polysemy-plugin;
|
|
time-compat = dontCheck super.time-compat;
|
|
binary-orphans = dontCheck super.binary-orphans;
|
|
binary-instances = dontCheck super.binary-instances;
|
|
hpack = dontCheck super.hpack;
|
|
};
|
|
source-overrides = {
|
|
};
|
|
};
|
|
|
|
in pkg.overrideAttrs (attrs: {
|
|
propagatedBuildInputs = with pkgs; [ nix git getent gitAndTools.hub jq tree gist ];
|
|
})
|