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: bc30d1eb34b5
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 279110cd86e9
Choose a head ref
  • 6 commits
  • 5 files changed
  • 4 contributors

Commits on Jan 2, 2021

  1. solanum: init at unstable-2020-12-14

    Solanum is a fork of charybdis maintained by freenode and OFTC.
    mweinelt committed Jan 2, 2021
    Copy the full SHA
    6a2c5d1 View commit details
  2. Copy the full SHA
    b17fca4 View commit details

Commits on Jan 3, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    88d2028 View commit details
  2. Merge pull request #108269 from SuperSandro2000/pyro3-darwin

    pythonPackages.Pyro4: Fix hanging tests on darwin
    SuperSandro2000 authored Jan 3, 2021
    Copy the full SHA
    ed6af93 View commit details
  3. Copy the full SHA
    115dc31 View commit details
  4. Copy the full SHA
    279110c View commit details
7 changes: 4 additions & 3 deletions pkgs/development/python-modules/pyro4/default.nix
Original file line number Diff line number Diff line change
@@ -37,16 +37,17 @@ buildPythonPackage rec {
preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH";

# ignore network related tests, which fail in sandbox
pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ]
# test hangs on darwin with sandbox enabled
++ lib.optionals stdenv.isDarwin [ "--ignore=tests/PyroTests/test_daemon.py" ];
pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ];

disabledTests = [
"StartNSfunc"
"Broadcast"
"GetIP"
];

# otherwise the tests hang the build
__darwinAllowLocalNetworking = true;

meta = with stdenv.lib; {
description = "Distributed object middleware for Python (RPC)";
homepage = "https://github.com/irmen/Pyro4";
60 changes: 60 additions & 0 deletions pkgs/servers/irc/solanum/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{ stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, bison
, flex
, openssl
, sqlite
, lksctp-tools
}:

stdenv.mkDerivation rec {
pname = "solanum";
version = "unstable-2020-12-14";

src = fetchFromGitHub {
owner = "solanum-ircd";
repo = pname;
rev = "551e5a146eab4948ce4a57d87a7f671f2d7cc02d";
sha256 = "14cd2cb04w6nwck7q49jw5zvifkzhkmblwhjfskc2nxcdb5x3l96";
};

patches = [
./dont-create-logdir.patch
];

configureFlags = [
"--enable-epoll"
"--enable-ipv6"
"--enable-openssl=${openssl.dev}"
"--with-program-prefix=solanum-"
"--localstatedir=/var/lib/solanum"
"--with-rundir=/run/solanum"
"--with-logdir=/var/log/solanum"
] ++ stdenv.lib.optionals (stdenv.isLinux) [
"--enable-sctp=${lksctp-tools.out}/lib"
];

nativeBuildInputs = [
autoreconfHook
bison
flex
pkg-config
];

buildInputs = [
openssl
sqlite
];

doCheck = !stdenv.isDarwin;

meta = with stdenv.lib; {
description = "An IRCd for unified networks";
homepage = "https://github.com/solanum-ircd/solanum";
license = licenses.gpl2Only;
maintainers = with maintainers; [ hexa ];
platforms = platforms.unix;
};
}
14 changes: 14 additions & 0 deletions pkgs/servers/irc/solanum/dont-create-logdir.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/Makefile.am b/Makefile.am
index 19e7b396..21093521 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,9 +35,6 @@ include/serno.h:
echo '#define DATECODE 0UL' >>include/serno.h; \
fi

-install-data-hook:
- test -d ${DESTDIR}${logdir} || mkdir -p ${DESTDIR}${logdir}
-
install-exec-hook:
rm -f ${DESTDIR}${libdir}/*.la
rm -f ${DESTDIR}${moduledir}/*.la
6 changes: 3 additions & 3 deletions pkgs/shells/zsh/oh-my-zsh/default.nix
Original file line number Diff line number Diff line change
@@ -5,15 +5,15 @@
, nix, nixfmt, jq, coreutils, gnused, curl, cacert }:

stdenv.mkDerivation rec {
version = "2021-01-01";
version = "2021-01-02";
pname = "oh-my-zsh";
rev = "0f6aa0182c8d13a2ff909b650d790f83373dc412";
rev = "0e833b622ba43d38bd62227244d831f3c0e4a325";

src = fetchFromGitHub {
inherit rev;
owner = "ohmyzsh";
repo = "ohmyzsh";
sha256 = "HZmomTPS9k1aKgSibdZfF6BxTsLAYTmBx9Gx5T3Circ=";
sha256 = "06bmlc8lzqxs37glwmv7j0yk73kccmrdb783kvqldski56004gba";
};

installPhase = ''
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -7560,6 +7560,8 @@ in

solaar = callPackage ../applications/misc/solaar {};

solanum = callPackage ../servers/irc/solanum {};

sourceHighlight = callPackage ../tools/text/source-highlight { };

spacebar = callPackage ../os-specific/darwin/spacebar {