aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/audio/littlegptracker
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/audio/littlegptracker')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/applications/audio/littlegptracker/0002-Set-the-initial-directory-to-the-current-directory.patch27
-rw-r--r--infra/libkookie/nixpkgs/pkgs/applications/audio/littlegptracker/default.nix12
2 files changed, 6 insertions, 33 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/audio/littlegptracker/0002-Set-the-initial-directory-to-the-current-directory.patch b/infra/libkookie/nixpkgs/pkgs/applications/audio/littlegptracker/0002-Set-the-initial-directory-to-the-current-directory.patch
deleted file mode 100644
index 3e1c822be2ae..000000000000
--- a/infra/libkookie/nixpkgs/pkgs/applications/audio/littlegptracker/0002-Set-the-initial-directory-to-the-current-directory.patch
+++ /dev/null
@@ -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
-
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/audio/littlegptracker/default.nix b/infra/libkookie/nixpkgs/pkgs/applications/audio/littlegptracker/default.nix
index 91d709687949..2fb453cf19c5 100644
--- a/infra/libkookie/nixpkgs/pkgs/applications/audio/littlegptracker/default.nix
+++ b/infra/libkookie/nixpkgs/pkgs/applications/audio/littlegptracker/default.nix
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
+, unstableGitUpdater
, SDL
, jack2
, Foundation
@@ -7,13 +8,13 @@
stdenv.mkDerivation rec {
pname = "littlegptracker";
- version = "unstable-2019-04-14";
+ version = "unstable-2020-11-26";
src = fetchFromGitHub {
owner = "Mdashdotdashn";
repo = "littlegptracker";
- rev = "0ed729b46739e3df5e111c6fa4d548fde2d3b891";
- sha256 = "1pc6lg2qp6xh7ahs5d5pb63ms4h2dz7ryp3c7mci4g37gbwbsj5b";
+ rev = "4aca8cd765e1ad586da62decd019e66cb64b45b8";
+ sha256 = "0f2ip8z5wxk8fvlw47mczsbcrzh4nh1hgw1fwf5gjrqnzm8v111x";
};
buildInputs = [
@@ -26,9 +27,6 @@ stdenv.mkDerivation rec {
# Remove outdated (pre-64bit) checks that would fail on modern platforms
# (see description in patch file)
./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";
@@ -45,6 +43,8 @@ stdenv.mkDerivation rec {
installPhase = let extension = if stdenv.isDarwin then "app" else "deb-exe";
in "install -Dm555 lgpt.${extension} $out/bin/lgpt";
+ passthru.updateScript = unstableGitUpdater { };
+
meta = with stdenv.lib; {
description = "A music tracker similar to lsdj optimised to run on portable game consoles";
longDescription = ''