This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
customPython = python38.buildEnv.override { | |
extraLibs = [ | |
xcffib | |
]; | |
}; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --color -ur a/Makefile b/Makefile | |
--- a/Makefile 2021-05-16 13:55:08.033586154 +0200 | |
+++ b/Makefile 2021-05-16 13:57:55.076889461 +0200 | |
@@ -12,7 +12,10 @@ | |
#LDFLAGS+=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now | |
# arch & debian hardening workaround | |
-LDFLAGS+=-Wl,--no-as-needed | |
+KERNEL = $(shell uname -s) | |
+ifeq ($(KERNEL),Linux) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs-unstable> {} }: | |
let | |
buildInstrumentedAdapter = stdenv: | |
let | |
flags = "-fprofile-instr-generate -fcoverage-mapping"; | |
in | |
stdenv // | |
{ mkDerivation = args: stdenv.mkDerivation (args // { | |
NIX_CFLAGS_COMPILE = toString (args.NIX_CFLAGS_COMPILE or "") + " " + flags; | |
NIX_LDFLAGS_COMPILE = toString (args.NIX_CFLAGS_COMPILE or "") + " " + flags; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lib.makeExtensible (self: | |
{ | |
# ... Stuff | |
} // | |
{ | |
# ... More Stuff | |
}).extend (self: super: { | |
# Even more stuff | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pkgs/development/tools/build-managers/gnumake/default.nix b/pkgs/development/tools/build-managers/gnumake/default.nix | |
index fb9dab54049..8d7c6b98843 100644 | |
--- a/pkgs/development/tools/build-managers/gnumake/default.nix | |
+++ b/pkgs/development/tools/build-managers/gnumake/default.nix | |
@@ -1,4 +1,4 @@ | |
-{ lib, stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }: | |
+{ lib, stdenv, fetchurl, perl, guileSupport ? false, pkg-config ? null , guile ? null }: | |
assert guileSupport -> ( pkg-config != null && guile != null ); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failed to instantiate SLF4J LoggerFactory | |
Reported exception: | |
java.lang.NoClassDefFoundError: org/xml/sax/InputSource | |
at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:108) | |
at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53) | |
at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75) | |
at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150) | |
at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84) | |
at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55) | |
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
failures: | |
---- grid::storage::tests::indexing_above_inner_len stdout ---- | |
note: test did not panic as expected | |
failures: | |
grid::storage::tests::indexing_above_inner_len | |
test result: FAILED. 111 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{...} @ args: | |
let | |
pkgs = import <nixpkgs>{}; | |
lib = pkgs.lib; | |
in | |
lib.traceValFn (x: args) pkgs.hello |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
networking = | |
let | |
hostIp = "192.168.0.1"; | |
in { | |
bridges = { | |
br0 = { | |
interfaces = []; | |
}; | |
}; | |
interfaces = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ./make-test-python.nix ({pkgs, ...}: | |
let | |
hostIp = "192.168.0.1"; | |
corednsSubnet = "192.168.0.100/24"; | |
testSubnet = "192.168.0.200/24"; | |
in | |
{ | |
name = "test"; | |
meta = with pkgs.lib.maintainers; { |