Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 88be9a1b2f6e
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d4659dece27b
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Apr 16, 2020

  1. grocy: 2.6.2 -> 2.7.0

    Ma27 committed Apr 16, 2020
    Copy the full SHA
    d4659de View commit details
2 changes: 1 addition & 1 deletion pkgs/servers/grocy/0001-Define-configs-with-env-vars.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 931958d8f11cb55f2e88a178a3b828f3c537eba8 Mon Sep 17 00:00:00 2001
From: Maximilian Bosch <maximilian@mbosch.me>
Date: Fri, 6 Mar 2020 23:43:58 +0100
Subject: [PATCH] Define configs with env vars
Subject: [PATCH 1/2] Define configs with env vars

---
app.php | 4 ++--
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From 1556489f0b475ae56e5ed3afba19cc2abb696a76 Mon Sep 17 00:00:00 2001
From: Maximilian Bosch <maximilian@mbosch.me>
Date: Thu, 16 Apr 2020 19:37:32 +0200
Subject: [PATCH 2/2] Remove check for config-file as it's stored in /etc/grocy

---
helpers/PrerequisiteChecker.php | 1 -
1 file changed, 1 deletion(-)

diff --git a/helpers/PrerequisiteChecker.php b/helpers/PrerequisiteChecker.php
index d4bf74c6..ca7686c9 100644
--- a/helpers/PrerequisiteChecker.php
+++ b/helpers/PrerequisiteChecker.php
@@ -8,7 +8,6 @@ class PrerequisiteChecker
{
public function checkRequirements()
{
- self::checkForConfigFile();
self::checkForConfigDistFile();
self::checkForComposer();
self::checkForYarn();
--
2.25.0

9 changes: 6 additions & 3 deletions pkgs/servers/grocy/default.nix
Original file line number Diff line number Diff line change
@@ -2,19 +2,22 @@

stdenv.mkDerivation rec {
pname = "grocy";
version = "2.6.2";
version = "2.7.0";

src = fetchurl {
url = "https://github.com/grocy/grocy/releases/download/v${version}/grocy_${version}.zip";
sha256 = "1cjkyv50vwx24xb1mxgy51mr4qqsqgixjww06rql77d9czmmd94k";
sha256 = "10da7s8yc3adqzd8446ksgq61zyzxb4qbnwkzj11qh64y5hyj50q";
};

nativeBuildInputs = [ unzip ];
unpackPhase = ''
unzip ${src} -d .
'';

patches = [ ./0001-Define-configs-with-env-vars.patch ];
patches = [
./0001-Define-configs-with-env-vars.patch
./0002-Remove-check-for-config-file-as-it-s-stored-in-etc-g.patch
];
patchFlags = [ "--binary" "-p1" ];

dontBuild = true;