uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,29 @@
|
|||
From 8e6328e932ab2739f075e8e8d602c2370a2a8ce8 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Mustafa=20=C3=87al=C4=B1=C5=9Fkan?= <musfay@protonmail.com>
|
||||
Date: Wed, 28 Jul 2021 02:26:39 +0300
|
||||
Subject: [PATCH] fix application dirs
|
||||
|
||||
---
|
||||
cprime/systemxdg.cpp | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/cprime/systemxdg.cpp b/cprime/systemxdg.cpp
|
||||
index f9eee66..ea0553d 100644
|
||||
--- a/cprime/systemxdg.cpp
|
||||
+++ b/cprime/systemxdg.cpp
|
||||
@@ -233,8 +233,10 @@ void SystemXdgMime::setApplicationAsDefault( QString appFileName, QString mimety
|
||||
SystemXdgMime::SystemXdgMime() {
|
||||
|
||||
appsDirs << QDir::home().filePath( ".local/share/applications/" );
|
||||
- appsDirs << "/usr/local/share/applications/" << "/usr/share/applications/";
|
||||
- appsDirs << "/usr/share/applications/kde4/" << "/usr/share/gnome/applications/";
|
||||
+ appsDirs << QDir::home().filePath( ".nix-profile/share/applications/" );
|
||||
+ appsDirs << "/run/current-system/sw/share/applications/";
|
||||
+ appsDirs << "/run/current-system/sw/share/applications/kde4/";
|
||||
+ appsDirs << "/run/current-system/sw/share/gnome/applications/";
|
||||
};
|
||||
|
||||
DesktopFile SystemXdgMime::xdgDefaultApp( QMimeType mimeType ) {
|
||||
--
|
||||
2.32.0
|
||||
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
{ mkDerivation
|
||||
, lib
|
||||
, fetchFromGitLab
|
||||
, libnotify
|
||||
, cmake
|
||||
, ninja
|
||||
, qtbase
|
||||
, qtconnectivity
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "libcprime";
|
||||
version = "4.3.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "cubocore";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-+z5dXKaV2anN6OLMycEz87kDqQScgHHEKwGhDAdHSd4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./0001-fix-application-dirs.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qtconnectivity
|
||||
libnotify
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library for bookmarking, saving recent activites, managing settings of C-Suite";
|
||||
homepage = "https://gitlab.com/cubocore/coreapps/libcprime";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ dan4ik605743 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue