Fix nimbus Nix build

This commit is contained in:
Pedro Pombeiro 2019-10-28 11:02:55 +01:00 committed by zah
parent 119a53d298
commit 89e67ca908
2 changed files with 4 additions and 4 deletions

View File

@ -52,9 +52,9 @@ let
mapAttrs = nixpkgs.lib.attrsets.mapAttrs;
crossPackages = mapAttrs (target: conf: nixpkgsFn { crossSystem = conf; }) targets;
crossBulds = mapAttrs (target: packages: nimbus packages) crossPackages;
crossBuilds = mapAttrs (target: packages: nimbus packages) crossPackages;
in
(nimbus nixpkgs) // crossBulds
(nimbus nixpkgs) // crossBuilds

View File

@ -1,4 +1,4 @@
{ stdenv, callPackage, sqlite, clang, rocksdb }:
{ stdenv, callPackage, sqlite, clang, pcre, rocksdb }:
let
nim = callPackage ./nim.nix {};
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
};
src = ./.;
buildInputs = [clang nim rocksdb sqlite];
buildInputs = [clang nim rocksdb pcre sqlite];
LD_LIBRARY_PATH = "${makeLibraryPath buildInputs}";
}