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: 3759b67af2dd
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: a584339fafc1
Choose a head ref
  • 11 commits
  • 5 files changed
  • 6 contributors

Commits on Apr 14, 2020

  1. corerad: 0.2.2 -> 0.2.3

    mdlayher committed Apr 14, 2020
    Copy the full SHA
    e8f76e4 View commit details
  2. Revert "lib/options: Use escapeNixIdentifier for showOption"

    This is used in in the manual generation for option identifiers that can
    be linked. This, unike what the example describes, doesn't preserve
    quotes which is needed for these identifiers to be valid.
    
    This reverts commit 124cccb.
    LnL7 committed Apr 14, 2020
    Copy the full SHA
    31a03da View commit details
  3. Copy the full SHA
    964700d View commit details
  4. openttd: 1.10.0 -> 1.10.1

    1.10.0 added SDL support
    amaxine committed Apr 14, 2020
    Copy the full SHA
    3f63396 View commit details
  5. Copy the full SHA
    a9dd29a View commit details
  6. atari++: 1.81 -> 1.83

    AndersonTorres committed Apr 14, 2020
    Copy the full SHA
    d35e691 View commit details

Commits on Apr 15, 2020

  1. Merge pull request #85241 from LnL7/show-option

    Revert "lib/options: Use escapeNixIdentifier for showOption"
    infinisil authored Apr 15, 2020
    Copy the full SHA
    9f2463c View commit details
  2. Merge pull request #83822 from AndersonTorres/update-ataripp

    atari++: 1.81 -> 1.83
    AndersonTorres authored Apr 15, 2020
    Copy the full SHA
    f5b4c91 View commit details
  3. Merge pull request #85236 from mdlayher/mdl-corerad-0.2.3

    corerad: 0.2.2 -> 0.2.3
    marsam authored Apr 15, 2020
    Copy the full SHA
    7e07846 View commit details
  4. Merge pull request #85257 from marsam/update-nodejs-13_x

    nodejs-13_x: 13.12.0 -> 13.13.0
    marsam authored Apr 15, 2020
    Copy the full SHA
    7120b88 View commit details
  5. Merge pull request #85245 from maxeaubrey/openttd_1.10.1

    openttd: 1.10.0 -> 1.10.1
    marsam authored Apr 15, 2020
    Copy the full SHA
    a584339 View commit details
Showing with 23 additions and 23 deletions.
  1. +9 −8 lib/options.nix
  2. +2 −2 pkgs/development/web/nodejs/v13.nix
  3. +4 −4 pkgs/games/openttd/default.nix
  4. +4 −5 pkgs/misc/emulators/atari++/default.nix
  5. +4 −4 pkgs/tools/networking/corerad/default.nix
17 changes: 9 additions & 8 deletions lib/options.nix
Original file line number Diff line number Diff line change
@@ -191,7 +191,7 @@ rec {
Example:
(showOption ["foo" "bar" "baz"]) == "foo.bar.baz"
(showOption ["foo" "bar.baz" "tux"]) == "foo.\"bar.baz\".tux"
(showOption ["foo" "bar.baz" "tux"]) == "foo.bar.baz.tux"
Placeholders will not be quoted as they are not actual values:
(showOption ["foo" "*" "bar"]) == "foo.*.bar"
@@ -200,13 +200,14 @@ rec {
Unlike attributes, options can also start with numbers:
(showOption ["windowManager" "2bwm" "enable"]) == "windowManager.2bwm.enable"
*/
showOption = parts:
let
escapeOptionPart = part:
if part == "*" || builtins.match "<.+>" part != null || builtins.match "[a-zA-Z0-9_][a-zA-Z0-9_'-]+" part != null
then part
else escapeNixIdentifier part;
in concatMapStringsSep "." escapeOptionPart parts;
showOption = parts: let
escapeOptionPart = part:
let
escaped = lib.strings.escapeNixString part;
in if escaped == "\"${part}\""
then part
else escaped;
in (concatStringsSep ".") (map escapeOptionPart parts);
showFiles = files: concatStringsSep " and " (map (f: "`${f}'") files);
unknownModule = "<unknown-file>";

4 changes: 2 additions & 2 deletions pkgs/development/web/nodejs/v13.nix
Original file line number Diff line number Diff line change
@@ -8,6 +8,6 @@ let
in
buildNodejs {
inherit enableNpm;
version = "13.12.0";
sha256 = "199qcvzikdzw0h25v9dws77fff6hbvr8dj50lyzlnkya1dd6fzhd";
version = "13.13.0";
sha256 = "0wy7d2alli59gwl73hpaf3bz1wxkkcw5yjsgyz42695fz86p64b7";
}
8 changes: 4 additions & 4 deletions pkgs/games/openttd/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchzip, pkgconfig, SDL, libpng, zlib, xz, freetype, fontconfig
{ stdenv, fetchurl, fetchzip, pkgconfig, SDL2, libpng, zlib, xz, freetype, fontconfig
, withOpenGFX ? true, withOpenSFX ? true, withOpenMSX ? true
, withFluidSynth ? true, audioDriver ? "alsa", fluidsynth, soundfont-fluid, procps
, writeScriptBin, makeWrapper, runtimeShell
@@ -29,15 +29,15 @@ let
in
stdenv.mkDerivation rec {
pname = "openttd";
version = "1.10.0";
version = "1.10.1";

src = fetchurl {
url = "https://cdn.openttd.org/openttd-releases/${version}/${pname}-${version}-source.tar.xz";
sha256 = "0lz2y2rjc23k0d97y65cqhy2splw9cmrbvhgz0iqps8xkan1m8hv";
sha256 = "0d22a3c50f7a321f4f211594f4987ac16c381e8e3e40f116848e63e91e7fbb9b";
};

nativeBuildInputs = [ pkgconfig makeWrapper ];
buildInputs = [ SDL libpng xz zlib freetype fontconfig ]
buildInputs = [ SDL2 libpng xz zlib freetype fontconfig ]
++ stdenv.lib.optionals withFluidSynth [ fluidsynth soundfont-fluid ];

prefixKey = "--prefix-dir=";
9 changes: 4 additions & 5 deletions pkgs/misc/emulators/atari++/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{ stdenv, fetchurl, libSM, libX11, libICE, SDL, alsaLib, gcc-unwrapped, libXext }:

with stdenv.lib;
stdenv.mkDerivation rec{
pname = "atari++";
version = "1.81";
version = "1.83";

src = fetchurl {
url = "http://www.xl-project.com/download/atari++_${version}.tar.gz";
sha256 = "1sv268dsjddirhx47zaqgqiahy6zjxj7xaiiksd1gjvs4lvf3cdg";
url = "http://www.xl-project.com/download/${pname}_${version}.tar.gz";
sha256 = "04fm2ic2qi4a52mi72wcaxyrpll4k8vvchx3qrik8rhg3jrxgm47";
};

buildInputs = [ libSM libX11 SDL libICE alsaLib gcc-unwrapped libXext ];
@@ -16,7 +15,7 @@ stdenv.mkDerivation rec{
patchelf --set-rpath ${stdenv.lib.makeLibraryPath buildInputs} "$out/bin/atari++"
'';

meta = {
meta = with stdenv.lib; {
homepage = "http://www.xl-project.com/";
description = "An enhanced, cycle-accurated Atari emulator";
longDescription = ''
8 changes: 4 additions & 4 deletions pkgs/tools/networking/corerad/default.nix
Original file line number Diff line number Diff line change
@@ -2,20 +2,20 @@

buildGoModule rec {
pname = "corerad";
version = "0.2.2";
version = "0.2.3";

src = fetchFromGitHub {
owner = "mdlayher";
repo = "corerad";
rev = "v${version}";
sha256 = "0nxrksv98mxs5spykhzpydwjzii5cc6gk8az7irs3fdi4jx6pq1w";
sha256 = "1594qrwrz4bc3iipm4aqb8l1zyi04pwmiz0vdlfn12qn1p7lad5p";
};

modSha256 = "0vbbpndqwwz1mc59j7liaayxaj53cs8s3javgj3pvhkn4vp65p7c";
modSha256 = "1cfhxkvwzf7sn227y6h5h19f27a9ngmpnyqdlfba5km8axqn29vm";

buildFlagsArray = ''
-ldflags=
-X github.com/mdlayher/corerad/internal/build.linkTimestamp=1583280117
-X github.com/mdlayher/corerad/internal/build.linkTimestamp=1586881022
-X github.com/mdlayher/corerad/internal/build.linkVersion=v${version}
'';