This file contains 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
FAIL: tests/df/df-symlink | |
========================= | |
--- exp 2016-09-12 19:39:09.235836550 +0000 | |
+++ out 2016-09-12 19:39:09.285836127 +0000 | |
@@ -1,2 +1,2 @@ | |
Filesystem Mounted on | |
-/dev/disk/by-label/NIXOS / | |
+/dev/disk/by-label/NIXOS /tmp/nix-build-coreutils-8.25.drv-0 | |
143 123 179:1 /nix/store/zkpa3y9cbkazm89flc4yif8xrqwlrmzf-coreutils-8.25.drv.chroot / rw,relatime - ext4 /dev/disk/by-label/NIXOS rw,data=ordered |
This file contains 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
let | |
pkgs = import ./. {}; | |
processAttrset = attrPath: attrSet: keys: recurse: | |
pkgs.lib.concatMap | |
(attr: | |
let e = (builtins.tryEval attrSet.${attr}); | |
in if !e.success | |
then [] | |
else if ((e.value.recurseForDerivations or false) || (e.value.recurseForRelease or false)) && recurse | |
then processAttrset "${attrPath}${attr}." e.value (builtins.attrNames e.value) true |
This file contains 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 org.apache.http.HttpVersion; | |
import org.apache.http.conn.ClientConnectionManager; | |
import org.apache.http.conn.scheme.PlainSocketFactory; | |
import org.apache.http.conn.scheme.Scheme; | |
import org.apache.http.conn.scheme.SchemeRegistry; | |
import org.apache.http.conn.ssl.SSLSocketFactory; | |
import org.apache.http.impl.client.AbstractHttpClient; | |
import org.apache.http.impl.client.DefaultHttpClient; | |
import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager; | |
import org.apache.http.params.BasicHttpParams; |
This file contains 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
machine# [ 240.742072] systemd-shutdown[1]: Powering off. | |
machine# [ 240.857216] ACPI: Preparing to enter system sleep state S5 | |
machine# [ 240.857694] reboot: Power down | |
vde_switch: EOF data port: Interrupted system call | |
machine: waiting for unit ‘local-fs.target’ | |
machine: running command: systemctl --no-pager show 'local-fs.target' | |
machine: waiting for the VM to finish booting | |
machine: starting vm | |
machine: QEMU running (pid 10795) | |
machine# Warning: vlan 0 is not connected to host network |
This file contains 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
# This Makefile builds a shared version of the library, | |
# libbz2.so.1.0.6, with soname libbz2.so.1.0, | |
# at least on x86-Linux (RedHat 7.2), | |
# with gcc-2.96 20000731 (Red Hat Linux 7.1 2.96-98). | |
# Please see the README file for some important info | |
# about building the library like this. | |
# ------------------------------------------------------------------ | |
# This file is part of bzip2/libbzip2, a program and library for |
This file contains 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
#!/usr/bin/env bash | |
outputs=$(cat | sed -e 's/^building path(s) //' | tr -dc 'a-zA-Z0-9 \n_./+-') | |
for src in $outputs; do | |
for dest in $outputs; do | |
if [ "$src" = "$dest" ]; then | |
continue | |
fi | |
echo "$src -> $dest" | |
grep -R "$dest" "$src" | sed -e 's/^/ /' |
This file contains 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 ./default.nix { | |
crossSystem = rec { | |
config = "armv7l-unknown-linux-gnueabi"; | |
bigEndian = false; | |
arch = "arm"; | |
float = "hard"; | |
fpu = "vfpv3-d16"; | |
withTLS = true; | |
libc = "glibc"; | |
platform = { |
This file contains 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
{ config, pkgs, lib, ... }: | |
{ | |
# NixOS wants to enable GRUB by default | |
boot.loader.grub.enable = false; | |
# Enables the generation of /boot/extlinux/extlinux.conf | |
boot.loader.generic-extlinux-compatible.enable = true; | |
boot.kernelPackages = pkgs.linuxPackages_rpi; | |
# Manual doesn't currently evaluate on ARM |
This file contains 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
#!/usr/bin/env bash | |
set -e | |
usage() { | |
echo "usage: $0 (-A <attrpath> | <path/to/pkg.nix>) [-I nixpkgs=...]" >&2 | |
exit 1 | |
} | |
nixArgs="" | |
attrPath="" |
This file contains 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
checking for Berkeley DB 6.9 in /nix/store/9052b9a3dp78kr3gdw0kc4qiirrjlncc-db-5.3.28... | |
checking db69/db.h usability... no | |
checking db69/db.h presence... no | |
checking for db69/db.h... no | |
checking db6/db.h usability... no | |
checking db6/db.h presence... no | |
checking for db6/db.h... no | |
checking db.h usability... yes | |
checking db.h presence... yes | |
checking for db.h... yes |