diff options
author | Rick van Schijndel <Mindavi@users.noreply.github.com> | 2022-05-08 20:32:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-08 20:32:09 +0200 |
commit | def194ba1eac744daf8549752978040d3ce9d9b0 (patch) | |
tree | 6425c79fea35b0f27cb2ae72abd27579b9b9eea2 /pkgs/applications/editors | |
parent | 423aefc9c68ef31966f2fd792aa270e51d3ebeb9 (diff) | |
parent | 3863692d0046753ad4707a41b2891d14201b983b (diff) |
Merge pull request #171785 from RamKromberg/fix/deadpixi-sam-unstable
deadpixi-sam-unstable: fix remote connection and add icon
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/deadpixi-sam/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/editors/deadpixi-sam/default.nix b/pkgs/applications/editors/deadpixi-sam/default.nix index 3f84666fe0294..4321119156e0e 100644 --- a/pkgs/applications/editors/deadpixi-sam/default.nix +++ b/pkgs/applications/editors/deadpixi-sam/default.nix @@ -14,7 +14,8 @@ stdenv.mkDerivation rec { postPatch = '' substituteInPlace config.mk.def \ --replace "/usr/include/freetype2" "${freetype.dev}/include/freetype2" \ - --replace "CC=gcc" "CC=${stdenv.cc.targetPrefix}cc" + --replace "CC=gcc" "CC=${stdenv.cc.targetPrefix}cc" \ + --replace "RXPATH=/usr/bin/ssh" "RXPATH=ssh" ''; CFLAGS = "-D_DARWIN_C_SOURCE"; @@ -24,8 +25,12 @@ stdenv.mkDerivation rec { enableParallelBuilding = false; postInstall = '' + substituteInPlace deadpixi-sam.desktop \ + --replace "accessories-text-editor" "$out/share/icons/hicolor/scalable/apps/sam.svg" mkdir -p $out/share/applications + mkdir -p $out/share/icons/hicolor/scalable/apps mv deadpixi-sam.desktop $out/share/applications + mv sam.svg $out/share/icons/hicolor/scalable/apps ''; meta = with lib; { |