mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-09-11 18:05:56 +03:00
overlay.nix: add nix and which pkgs to remote buildInputs
This commit is contained in:
parent
9826ddbce3
commit
cb164907da
@ -1,5 +1,5 @@
|
||||
{ pkgs ? import <nixpkgs> {} }: let
|
||||
overlay = import ./overlay.nix pkgs.haskell.lib;
|
||||
overlay = import ./overlay.nix pkgs pkgs.haskell.lib;
|
||||
overrideHaskellPackages = orig: {
|
||||
buildHaskellPackages =
|
||||
orig.buildHaskellPackages.override overrideHaskellPackages;
|
||||
|
11
overlay.nix
11
overlay.nix
@ -1,8 +1,15 @@
|
||||
hlib: helf: huper: {
|
||||
pkgs: hlib: helf: huper: {
|
||||
hnix-store-core =
|
||||
helf.callCabal2nix "hnix-store-core" ./hnix-store-core {};
|
||||
hnix-store-remote =
|
||||
helf.callCabal2nixWithOptions "hnix-store-remote" ./hnix-store-remote "-fio-testsuite" {};
|
||||
(helf.callCabal2nixWithOptions
|
||||
"hnix-store-remote"
|
||||
./hnix-store-remote
|
||||
"-fio-testsuite"
|
||||
{}
|
||||
).overrideAttrs (attrs: {
|
||||
buildInputs = attrs.buildInputs ++ [ pkgs.nix pkgs.which ];
|
||||
});
|
||||
# 2020-12-30: NOTE: Remove after switch from cryptohash
|
||||
cryptohash-sha512 =
|
||||
hlib.unmarkBroken ( hlib.doJailbreak huper.cryptohash-sha512 );
|
||||
|
Loading…
Reference in New Issue
Block a user