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: 91da4b3c5db8
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 55adc491f09f
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jan 7, 2020

  1. Copy the full SHA
    66f12ca View commit details

Commits on Jan 10, 2020

  1. Merge pull request #77180 from anmonteiro/anmonteiro/libev-static

    libev: Add statically linked `libev` to `pkgsStatic`
    ryantm authored Jan 10, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    55adc49 View commit details
Showing with 5 additions and 1 deletion.
  1. +3 −1 pkgs/development/libraries/libev/default.nix
  2. +2 −0 pkgs/top-level/static.nix
4 changes: 3 additions & 1 deletion pkgs/development/libraries/libev/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, static ? false }:

stdenv.mkDerivation rec {
pname = "libev";
@@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "0nkfqv69wfyy2bpga4d53iqydycpik8jp8x6q70353hia8mmv1gd";
};

configureFlags = stdenv.lib.optional (static) "LDFLAGS=-static";

meta = {
description = "A high-performance event loop/event model with lots of features";
maintainers = [ stdenv.lib.maintainers.raskin ];
2 changes: 2 additions & 0 deletions pkgs/top-level/static.nix
Original file line number Diff line number Diff line change
@@ -280,4 +280,6 @@ in {
) super.ocaml-ng;

python27 = super.python27.override { static = true; };

libev = super.libev.override { static = true; };
}