nixpkgs-update/default.nix
Ryan Mulligan 40faec6f89 [CVE] Combine matchers and cpes into cpe matches
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.
2019-11-24 06:12:14 -08:00

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 ];
})