nrfconnect: Clean up syntax
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
appimageTools,
|
||||
segger-jlink-headless,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -23,7 +25,7 @@ appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
|
||||
extraPkgs = pkgs: [
|
||||
pkgs.segger-jlink-headless
|
||||
segger-jlink-headless
|
||||
];
|
||||
|
||||
extraInstallCommands = ''
|
||||
@@ -31,7 +33,7 @@ appimageTools.wrapType2 {
|
||||
install -Dm444 ${appimageContents}/usr/share/icons/hicolor/512x512/apps/nrfconnect.png \
|
||||
-t $out/share/icons/hicolor/512x512/apps
|
||||
substituteInPlace $out/share/applications/nrfconnect.desktop \
|
||||
--replace 'Exec=AppRun' 'Exec=nrfconnect'
|
||||
--replace-fail 'Exec=AppRun' 'Exec=nrfconnect'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user