littlegptracker: unstable-2019-04-14 -> unstable-2020-11-26, remove upstreamed patch (#105062)
This commit is contained in:
parent
2cb7f952fe
commit
ea84f9d409
@ -1,27 +0,0 @@
|
|||||||
From c3865405ca707e3284a81709577d85ce2b3db72c Mon Sep 17 00:00:00 2001
|
|
||||||
From: Francesco Gazzetta <fgaz@fgaz.me>
|
|
||||||
Date: Wed, 19 Aug 2020 15:06:58 +0200
|
|
||||||
Subject: [PATCH 2/2] Set the initial directory to the current directory
|
|
||||||
|
|
||||||
otherwise the user has to navigate from the nix store, which makes the program
|
|
||||||
crash due to its size
|
|
||||||
---
|
|
||||||
sources/Adapters/DEB/System/DEBSystem.cpp | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/sources/Adapters/DEB/System/DEBSystem.cpp b/sources/Adapters/DEB/System/DEBSystem.cpp
|
|
||||||
index 6e86693..65d2cdd 100644
|
|
||||||
--- a/sources/Adapters/DEB/System/DEBSystem.cpp
|
|
||||||
+++ b/sources/Adapters/DEB/System/DEBSystem.cpp
|
|
||||||
@@ -54,7 +54,7 @@ void DEBSystem::Boot(int argc,char **argv) {
|
|
||||||
}
|
|
||||||
Path::SetAlias("bin",dirname(buff)) ;
|
|
||||||
|
|
||||||
- Path::SetAlias("root","bin:..") ;
|
|
||||||
+ Path::SetAlias("root",".") ;
|
|
||||||
|
|
||||||
#ifdef _DEBUG
|
|
||||||
Trace::GetInstance()->SetLogger(*(new StdOutLogger()));
|
|
||||||
--
|
|
||||||
2.25.4
|
|
||||||
|
|
@ -7,13 +7,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "littlegptracker";
|
pname = "littlegptracker";
|
||||||
version = "unstable-2019-04-14";
|
version = "unstable-2020-11-26";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Mdashdotdashn";
|
owner = "Mdashdotdashn";
|
||||||
repo = "littlegptracker";
|
repo = "littlegptracker";
|
||||||
rev = "0ed729b46739e3df5e111c6fa4d548fde2d3b891";
|
rev = "4aca8cd765e1ad586da62decd019e66cb64b45b8";
|
||||||
sha256 = "1pc6lg2qp6xh7ahs5d5pb63ms4h2dz7ryp3c7mci4g37gbwbsj5b";
|
sha256 = "0f2ip8z5wxk8fvlw47mczsbcrzh4nh1hgw1fwf5gjrqnzm8v111x";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -26,9 +26,6 @@ stdenv.mkDerivation rec {
|
|||||||
# Remove outdated (pre-64bit) checks that would fail on modern platforms
|
# Remove outdated (pre-64bit) checks that would fail on modern platforms
|
||||||
# (see description in patch file)
|
# (see description in patch file)
|
||||||
./0001-Remove-coherency-checks.patch
|
./0001-Remove-coherency-checks.patch
|
||||||
# Set starting directory to cwd, default is in /nix/store and causes a crash
|
|
||||||
# (see description in patch file)
|
|
||||||
./0002-Set-the-initial-directory-to-the-current-directory.patch
|
|
||||||
];
|
];
|
||||||
|
|
||||||
preBuild = "cd projects";
|
preBuild = "cd projects";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user