jlink: fix build
This commit is contained in:
parent
63213206f4
commit
05f199b1aa
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1707205916,
|
"lastModified": 1707743206,
|
||||||
"narHash": "sha256-fmRJilYGlB7VCt3XsdYxrA0u8e/K84O5xYucerUY0iM=",
|
"narHash": "sha256-AehgH64b28yKobC/DAWYZWkJBxL/vP83vkY+ag2Hhy4=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "8cc79aa39bbc6eaedaf286ae655b224c71e02907",
|
"rev": "2d627a2a704708673e56346fcb13d25344b8eaf3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, lib, fetchurl, autoPatchelfHook, fontconfig, freetype, libusb, libICE
|
{ stdenv, lib, fetchurl, autoPatchelfHook, fontconfig, freetype, libgcc, libusb
|
||||||
, libSM, ncurses5, udev, libX11, libXext, libXcursor, libXfixes, libXrender
|
, libICE, libSM, ncurses5, udev, libX11, libXext, libXcursor, libXfixes
|
||||||
, libXrandr }:
|
, libXrender, libXrandr }:
|
||||||
let
|
let
|
||||||
conf = (lib.importJSON ./version.json).${stdenv.hostPlatform.system} or (throw
|
conf = (lib.importJSON ./version.json).${stdenv.hostPlatform.system} or (throw
|
||||||
"unsupported system ${stdenv.hostPlatform.system}");
|
"unsupported system ${stdenv.hostPlatform.system}");
|
||||||
|
@ -19,17 +19,18 @@ in stdenv.mkDerivation rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
fontconfig
|
fontconfig
|
||||||
freetype
|
freetype
|
||||||
libusb
|
|
||||||
libICE
|
libICE
|
||||||
libSM
|
libSM
|
||||||
|
libX11
|
||||||
|
libXcursor
|
||||||
|
libXext
|
||||||
|
libXfixes
|
||||||
|
libXrandr
|
||||||
|
libXrender
|
||||||
|
libgcc.lib
|
||||||
|
libusb
|
||||||
ncurses5
|
ncurses5
|
||||||
udev
|
udev
|
||||||
libX11
|
|
||||||
libXext
|
|
||||||
libXcursor
|
|
||||||
libXfixes
|
|
||||||
libXrender
|
|
||||||
libXrandr
|
|
||||||
];
|
];
|
||||||
|
|
||||||
runtimeDependencies = [ udev ];
|
runtimeDependencies = [ udev ];
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
{"x86_64-linux": {"url": "https://www.segger.com/downloads/jlink/JLink_Linux_V794f_x86_64.tgz", "version": "7.94f", "curlOpts": "-d accept_license_agreement=accepted -d submit=Download+software", "hash": "sha256-2fTmSXQjLMZtQ8fJjMuwM2q5NBgckX3f0y4eyTmwIvQ="}, "i686-linux": {"url": "https://www.segger.com/downloads/jlink/JLink_Linux_V794f_i686.tgz", "version": "7.94f", "curlOpts": "-d accept_license_agreement=accepted -d submit=Download+software", "hash": "sha256-bKNzHD/Oy/NEF+tkZNQisTOcUwxBe8grAKJAfB+ePek="}, "armv7l-linux": {"url": "https://www.segger.com/downloads/jlink/JLink_Linux_V794f_arm.tgz", "version": "7.94f", "curlOpts": "-d accept_license_agreement=accepted -d submit=Download+software", "hash": "sha256-LblQSHQOAFoPM0BYHFFh0jSg/z7DHs3ZfsXI1lr3jDI="}, "aarch64-linux": {"url": "https://www.segger.com/downloads/jlink/JLink_Linux_V794f_arm64.tgz", "version": "7.94f", "curlOpts": "-d accept_license_agreement=accepted -d submit=Download+software", "hash": "sha256-xqpR8JjTo0vDmxdXgm0OHT9vjYt7k1PP6t46WUp0Mlc="}}
|
{"x86_64-linux": {"url": "https://www.segger.com/downloads/jlink/JLink_Linux_V794i_x86_64.tgz", "version": "7.94i", "curlOpts": "-d accept_license_agreement=accepted -d submit=Download+software", "hash": "sha256-4GT3y9sLjulesSnbCqf1g+cNBrveDz3PXvlxX56S2t0="}, "i686-linux": {"url": "https://www.segger.com/downloads/jlink/JLink_Linux_V794i_i686.tgz", "version": "7.94i", "curlOpts": "-d accept_license_agreement=accepted -d submit=Download+software", "hash": "sha256-p2NGscXAo8hO9XYbLSvNF5ZFFOmVxdkjvF1uKYK1MmE="}, "armv7l-linux": {"url": "https://www.segger.com/downloads/jlink/JLink_Linux_V794i_arm.tgz", "version": "7.94i", "curlOpts": "-d accept_license_agreement=accepted -d submit=Download+software", "hash": "sha256-HZdD/EgAYFP7g3rWSV8VEG7EBEPtK0foo3AeH11j3WQ="}, "aarch64-linux": {"url": "https://www.segger.com/downloads/jlink/JLink_Linux_V794i_arm64.tgz", "version": "7.94i", "curlOpts": "-d accept_license_agreement=accepted -d submit=Download+software", "hash": "sha256-V8tkCwXOJZRUejXt7/8Aj+m2856yJM2u90cAxAjM+k8="}}
|
Loading…
Reference in a new issue