Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
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-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4f69262c1908
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dcfccdfc3361
Choose a head ref
  • 6 commits
  • 7 files changed
  • 5 contributors

Commits on Mar 7, 2020

  1. Copy the full SHA
    b13f878 View commit details
  2. moosefs: 3.0.109 -> 3.0.110

    r-ryantm authored and FRidh committed Mar 7, 2020
    Copy the full SHA
    c062681 View commit details
  3. suricata: 5.0.1 -> 5.0.2

    r-ryantm authored and FRidh committed Mar 7, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    155d9c9 View commit details
  4. par2cmdline: 0.8.0 -> 0.8.1

    r-ryantm authored and FRidh committed Mar 7, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    5a0bbfa View commit details
  5. grocy: 2.6.0 -> 2.6.1

    Ma27 committed Mar 7, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    d0e0aca View commit details
  6. acgtk: 1.5.0 → 1.5.1 (#81539)

    Co-authored-by: Jon <jonringer@users.noreply.github.com>
    vbgl and Jon authored Mar 7, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    dcfccdf View commit details
4 changes: 2 additions & 2 deletions pkgs/applications/networking/ids/suricata/default.nix
Original file line number Diff line number Diff line change
@@ -34,11 +34,11 @@
in
stdenv.mkDerivation rec {
pname = "suricata";
version = "5.0.1";
version = "5.0.2";

src = fetchurl {
url = "https://www.openinfosecfoundation.org/download/${pname}-${version}.tar.gz";
sha256 = "034b0nl0hkh0v26gwbawi2wdv7mb9p54cfg8gc9b8hsw49k3c1wh";
sha256 = "1ryfa3bzd8mrq2k5kjfwmblxqqziz6b9n1dnh692mazf5z4wlc3z";
};

nativeBuildInputs = [
11 changes: 6 additions & 5 deletions pkgs/applications/science/logic/acgtk/default.nix
Original file line number Diff line number Diff line change
@@ -2,23 +2,24 @@

stdenv.mkDerivation {

name = "acgtk-1.5.0";
pname = "acgtk";
version = "1.5.1";

src = fetchurl {
url = http://calligramme.loria.fr/acg/software/acg-1.5.0-20181019.tar.gz;
sha256 = "14n003gxzw5w79hlpw1ja4nq97jqf9zqyg00ihvpxw4bv9jlm8jm";
url = https://acg.loria.fr/software/acg-1.5.1-20191113.tar.gz;
sha256 = "17595qfwhzz5q091ak6i6bg5wlppbn8zfn58x3hmmmjvx2yfajn1";
};

buildInputs = [ dune ] ++ (with ocamlPackages; [
ocaml findlib ansiterminal cairo2 fmt logs menhir mtime ocf
ocaml findlib ansiterminal cairo2 cmdliner fmt logs menhir mtime yojson
]);

buildPhase = "dune build";

inherit (dune) installPhase;

meta = with stdenv.lib; {
homepage = http://calligramme.loria.fr/acg/;
homepage = https://acg.loria.fr/;
description = "A toolkit for developing ACG signatures and lexicon";
license = licenses.cecill20;
inherit (ocamlPackages.ocaml.meta) platforms;
6 changes: 5 additions & 1 deletion pkgs/development/arduino/arduino-core/default.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,8 @@
, withGui ? false, gtk2 ? null, withTeensyduino ? false
/* Packages needed for Teensyduino */
, upx, fontconfig, xorg, gcc
, atk, glib, pango, gdk-pixbuf, libpng12, expat, freetype,
, atk, glib, pango, gdk-pixbuf, libpng12, expat, freetype
, cairo, udev
}:

assert withGui -> gtk2 != null;
@@ -32,6 +33,7 @@ let

teensy_libpath = stdenv.lib.makeLibraryPath [
atk
cairo
expat
fontconfig
freetype
@@ -42,11 +44,13 @@ let
libpng12
libusb
pango
udev
xorg.libSM
xorg.libX11
xorg.libXext
xorg.libXft
xorg.libXinerama
xorg.libXxf86vm
zlib
];
teensy_architecture =
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
diff --git a/app.php b/app.php
index 5f91e4d..09c6010 100644
--- a/app.php
+++ b/app.php
@@ -23,7 +23,7 @@ else
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

---
app.php | 4 ++--
services/DatabaseService.php | 2 +-
services/FilesService.php | 2 +-
services/StockService.php | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/app.php b/app.php
index af65ad1..4963c28 100644
--- a/app.php
+++ b/app.php
@@ -25,7 +25,7 @@ else
require_once __DIR__ . '/vendor/autoload.php';

// Load config files
@@ -11,46 +23,46 @@ index 5f91e4d..09c6010 100644
require_once __DIR__ . '/config-dist.php'; // For not in own config defined values we use the default ones

// Definitions for dev/demo/prerelease mode
@@ -49,7 +49,7 @@ $appContainer = new \Slim\Container([
],
'view' => function($container)
{
- return new \Slim\Views\Blade(__DIR__ . '/views', GROCY_DATAPATH . '/viewcache');
+ return new \Slim\Views\Blade(__DIR__ . '/views', getenv('GROCY_CACHE_DIR'));
},
'LoginControllerInstance' => function($container)
{
diff --git a/services/DatabaseService.php b/services/DatabaseService.php
index 0bcf9b8..ec45e93 100644
--- a/services/DatabaseService.php
+++ b/services/DatabaseService.php
@@ -13,7 +13,7 @@ class DatabaseService
@@ -50,7 +50,7 @@ $app = AppFactory::create();
$container = $app->getContainer();
$container->set('view', function(Container $container)
{
- return new Slim\Views\Blade(__DIR__ . '/views', GROCY_DATAPATH . '/viewcache');
+ return new \Slim\Views\Blade(__DIR__ . '/views', getenv('GROCY_CACHE_DIR'));
});
$container->set('LoginControllerInstance', function(Container $container)
{
diff --git a/services/DatabaseService.php b/services/DatabaseService.php
index 23fc7b9..daa1993 100644
--- a/services/DatabaseService.php
+++ b/services/DatabaseService.php
@@ -25,7 +25,7 @@ class DatabaseService
return GROCY_DATAPATH . '/grocy_' . GROCY_CULTURE . '.db';
}

- return GROCY_DATAPATH . '/grocy.db';
+ return getenv('GROCY_DB_FILE');
}

private $DbConnectionRaw;
diff --git a/services/FilesService.php b/services/FilesService.php
index 7933b73..f52657e 100644
--- a/services/FilesService.php
+++ b/services/FilesService.php
@@ -12,7 +12,7 @@ class FilesService extends BaseService
private static $DbConnectionRaw = null;
diff --git a/services/FilesService.php b/services/FilesService.php
index cecdae3..357298d 100644
--- a/services/FilesService.php
+++ b/services/FilesService.php
@@ -12,7 +12,7 @@ class FilesService extends BaseService
{
parent::__construct();

- $this->StoragePath = GROCY_DATAPATH . '/storage';
+ $this->StoragePath = getenv('GROCY_STORAGE_DIR');

if (!file_exists($this->StoragePath))
{
diff --git a/services/StockService.php b/services/StockService.php
index d7482ef..d1399a7 100644
--- a/services/StockService.php
+++ b/services/StockService.php
@@ -933,7 +933,7 @@ class StockService extends BaseService
diff --git a/services/StockService.php b/services/StockService.php
index bfde3fc..53b2245 100644
--- a/services/StockService.php
+++ b/services/StockService.php
@@ -934,7 +934,7 @@ class StockService extends BaseService
throw new \Exception('No barcode lookup plugin defined');
}

@@ -59,3 +71,6 @@ index d7482ef..d1399a7 100644
if (file_exists($path))
{
require_once $path;
--
2.25.0

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

stdenv.mkDerivation rec {
pname = "grocy";
version = "2.6.0";
version = "2.6.1";

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

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

patches = [ ./config-locations.patch ];
patches = [ ./0001-Define-configs-with-env-vars.patch ];
patchFlags = [ "--binary" "-p1" ];

dontBuild = true;

4 changes: 2 additions & 2 deletions pkgs/tools/filesystems/moosefs/default.nix
Original file line number Diff line number Diff line change
@@ -10,13 +10,13 @@

stdenv.mkDerivation rec {
pname = "moosefs";
version = "3.0.109";
version = "3.0.110";

src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "1pwackc511fzx28w3an5qk738ykhpspvc1063w2hv901f213xjzw";
sha256 = "16m3mxmik2ifrv1g9cp68k57w8xwsxacws3sh1ajlba4azj9sf8v";
};

nativeBuildInputs = [ pkgconfig makeWrapper ];
4 changes: 2 additions & 2 deletions pkgs/tools/networking/par2cmdline/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "par2cmdline";
version = "0.8.0";
version = "0.8.1";

src = fetchFromGitHub {
owner = "Parchive";
repo = "par2cmdline";
rev = "v${version}";
sha256 = "0f1jsd5sw2wynjzi7yjqjaf13yhyjfdid91p8yh0jn32y03kjyrz";
sha256 = "11mx8q29cr0sryd11awab7y4mhqgbamb1ss77rffjj6in8pb4hdk";
};

nativeBuildInputs = [ autoreconfHook ];