aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgs/libatsha204/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/libatsha204/default.nix b/pkgs/libatsha204/default.nix
index 2415985..96a621d 100644
--- a/pkgs/libatsha204/default.nix
+++ b/pkgs/libatsha204/default.nix
@@ -1,6 +1,6 @@
{ stdenv, lib, fetchgit
, pkg-config, perl, patchelf
-,glibc , openssl, unbound
+, glibc , openssl, unbound
}:
stdenv.mkDerivation rec {
@@ -23,7 +23,12 @@ stdenv.mkDerivation rec {
buildInputs = [openssl unbound];
nativeBuildInputs = [pkg-config perl patchelf];
- makeFlags = [ "RELEASE=1" "NO_DOC=1" ];
+ makeFlags = [
+ "RELEASE=1"
+ "NO_DOC=1"
+ "USE_LAYER=USE_LAYER_NI2C"
+ "DEFAULT_NI2C_DEV_PATH=NI2C_DEV_PATH_OMNIA"
+ ];
configurePhase = ''
sed -i 's|/usr/bin/perl|${perl}/bin/perl|' build/embed_gen.pl build/normalize_dep_file.pl
'';