diff options
author | Karel Kočí <cynerd@email.cz> | 2022-07-11 15:32:11 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-07-11 15:32:11 +0200 |
commit | b106528fd8db5f1004b5559b742c2f2825e39940 (patch) | |
tree | f62d95f86d4ca74b1c464b5ad0a7cc7e608650d2 /pkgs | |
parent | e7e8404b2c04e7b361ff72d81d6273bd13d40800 (diff) | |
download | nixturris-b106528fd8db5f1004b5559b742c2f2825e39940.tar.gz nixturris-b106528fd8db5f1004b5559b742c2f2825e39940.tar.bz2 nixturris-b106528fd8db5f1004b5559b742c2f2825e39940.zip |
pkgs/libatsha204: use the correct I2C on Omnia
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/libatsha204/default.nix | 9 |
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 ''; |