From fa8d479b869d12971463c4a935730f5abca2c0b8 Mon Sep 17 00:00:00 2001 From: Maximilian Huber Date: Thu, 18 Jan 2024 15:08:22 +0100 Subject: [PATCH] add pkgs from https://github.com/NixOS/nixpkgs/pull/255185/ Signed-off-by: Maximilian Huber --- flake.nix | 7 ++++++- pkgs_from_pr_255185/nrfconnect/default.nix | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index e7f86ad..f9eb269 100644 --- a/flake.nix +++ b/flake.nix @@ -226,7 +226,9 @@ nrf-command-line-tools = pkgs.callPackage ./pkgs_from_pr_255185/nrf-command-line-tools { segger-jlink = self.packages."${system}".segger-jlink; }; - nrfconnect = pkgs.callPackage ./pkgs_from_pr_255185/nrfconnect { }; + nrfconnect = pkgs.callPackage ./pkgs_from_pr_255185/nrfconnect { + segger-jlink = self.packages."${system}".segger-jlink; + }; segger-jlink = pkgs.callPackage ./pkgs_from_pr_255185/segger-jlink { }; }); @@ -271,6 +273,7 @@ nixosModules.zephyr = ({ config, lib, pkgs, ... }: let + inherit (pkgs.stdenv.hostPlatform) system; # platformio-udev-rules = pkgs.writeTextFile { # name = "platformio-udev-rules"; # text = builtins.readFile @@ -296,6 +299,8 @@ # pkgs.segger-jlink pkgs.stlink pkgs.teensy-udev-rules + + self.packages."${system}".segger-jlink ]; }); diff --git a/pkgs_from_pr_255185/nrfconnect/default.nix b/pkgs_from_pr_255185/nrfconnect/default.nix index c3a6e0e..1289d8e 100644 --- a/pkgs_from_pr_255185/nrfconnect/default.nix +++ b/pkgs_from_pr_255185/nrfconnect/default.nix @@ -1,6 +1,7 @@ { lib , fetchurl , appimageTools +, segger-jlink }: let