mirror of
https://github.com/nix-community/nixpkgs-update.git
synced 2024-11-22 21:52:15 +03:00
40faec6f89
This more directly matches the underlying data structure. Also the code is making better use of the ToRow instance, and gets rid of the uniqueness checks that Lars says are unnecessary.
36 lines
1.3 KiB
Nix
36 lines
1.3 KiB
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 overrideCabal;
|
|
|
|
pkg = compiler.developPackage {
|
|
root = ./.;
|
|
overrides = self: super: {
|
|
aeson = dontCheck super.aeson;
|
|
polysemy = dontCheck 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;
|
|
HUnit = dontCheck super.HUnit;
|
|
hspec-core = dontCheck super.hspec-core;
|
|
th-abstraction = dontCheck super.th-abstraction;
|
|
inspection-testing = dontCheck super.inspection-testing;
|
|
partial-order = doJailbreak super.partial-order;
|
|
};
|
|
source-overrides = {
|
|
};
|
|
};
|
|
|
|
in pkg.overrideAttrs (attrs: {
|
|
propagatedBuildInputs = with pkgs; [ nix git getent gitAndTools.hub jq tree gist ];
|
|
})
|