Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Encrypted CAN
daredevil-small
Commits
cb0f4ea6
Commit
cb0f4ea6
authored
6 years ago
by
Tmplt
Browse files
Options
Download
Patches
Plain Diff
feat(shell.nix): pin JLink version
sha256sum will no longer have to be updated.
parent
d6fa7c79
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
shell.nix
+5
-11
shell.nix
with
5 additions
and
11 deletions
+5
-11
shell.nix
+
5
−
11
View file @
cb0f4ea6
...
...
@@ -4,11 +4,11 @@ with pkgs;
let
jlink
=
stdenv
.
mkDerivation
rec
{
name
=
"jlink-v
${
version
}
"
;
version
=
"6.4
0b
"
;
version
=
"6.4
2c
"
;
src
=
fetchurl
{
url
=
"https://www.segger.com/downloads/jlink/JLink_Linux_x86_64.deb"
;
sha256
=
"1
b773p32aaypg3g6brpjzsjv10yycbl0kra480b2s3b4biwxp866
"
;
url
=
"https://www.segger.com/downloads/jlink/JLink_Linux_
V
${
stdenv
.
lib
.
replaceStrings
[
"."
]
[
""
]
version
}
_
x86_64.deb"
;
sha256
=
"1
ladqgszyicjg01waasbn5b6fngv4ap3vcksxcv1smrgr9yv9bv4
"
;
curlOpts
=
"-d accept_license_agreement=accepted -d confirm=yes"
;
};
...
...
@@ -19,6 +19,8 @@ let
cp -r . $out
''
;
dontPatchELF
=
true
;
meta
=
with
stdenv
.
lib
;
{
description
=
"TODO"
;
homepage
=
""
;
...
...
@@ -32,19 +34,11 @@ let
gdbServer
=
buildFHSUserEnv
rec
{
name
=
"JLinkGDBServerCLExe"
;
runScript
=
"
${
jlink
}
/opt/SEGGER/JLink_V6*/JLinkGDBServerCLExe"
;
targetPkgs
=
pkgs
:
with
pkgs
;
[
udev
];
};
rttClient
=
buildFHSUserEnv
rec
{
name
=
"JLinkRTTClientExe"
;
runScript
=
"
${
jlink
}
/opt/SEGGER/JLink_V6*/JLinkRTTClientExe"
;
targetPkgs
=
pkgs
:
with
pkgs
;
[
udev
];
};
JLinkExe
=
buildFHSUserEnv
rec
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets