Skip to content

Instantly share code, notes, and snippets.

View kolloch's full-sized avatar

Peter Kolloch kolloch

  • Zurich, Switzerland
View GitHub Profile
❯ nix-env -f ./ -iA nixGLNvidia
building '/nix/store/3rm7wyxhciv1rpsragxkrh3ii1s7lxrx-impure-nvidia-version-file.drv'...
installing 'nixGLNvidia-435.21'
these derivations will be built:
/nix/store/mp19h5lhmk2dp9fw7lmlw9wqq8l4asfm-nvidia-435.21.drv
/nix/store/rm24n6s320j46dp98nlmj67wvp0pqg4n-nixGLNvidia-435.21.drv
these paths will be fetched (81.94 MiB download, 177.90 MiB unpacked):
/nix/store/ic9c7wkfba9srkyvv6cr67cj3mq68ppx-linux-5.4.42
/nix/store/w2z46q4p9zg21gijr49jp8l9rz2b719l-linux-5.4.42-dev
copying path '/nix/store/ic9c7wkfba9srkyvv6cr67cj3mq68ppx-linux-5.4.42' from 'https://cache.nixos.org'...
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/1kjfcx3dsmgc5qggf3qc07rm660zg3im-c7314a1rz070lndiv8ql7q3njiprk4vi-source
source root is c7314a1rz070lndiv8ql7q3njiprk4vi-source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
unpacking source archive /nix/store/22i547xp3yhl8gkvhnlih3m5cr4ba8lm-kingpin-8554767
unpacking source archive /nix/store/qnbb4xd8v750m4ggg1bx1z3g5m44ihnh-template-a0175ee
@kolloch
kolloch / nixpart0-failure.log
Created April 30, 2020 12:07
Build failure nixpart0
lvm2> unpacking sources
cryptsetup> unpacking sources
lvm2> unpacking source archive /nix/store/3d5q1ksz6jas62vcimwx3409d65g1mq9-LVM2.2.02.106.tgz
cryptsetup> unpacking source archive /nix/store/kaly7zyk419l2cyqmidyjxsyw3w6hdmp-cryptsetup-1.6.3.tar.bz2
parted> unpacking sources
parted> unpacking source archive /nix/store/pwkxwsi7lyi0s6kfh7mqmd6nazi50h87-parted-3.1.tar.xz
lvm2> source root is LVM2.2.02.106
lvm2> setting SOURCE_DATE_EPOCH to timestamp 1397144326 of file LVM2.2.02.106/unit-tests/regex/random_regexes
lvm2> patching sources
lvm2> configuring
@kolloch
kolloch / error
Last active March 28, 2020 14:07
Remote building some nixpkgs tests on Mac OS
nix-build -j 0 -A buildRustCrateTests --system x86_64-darwin --builders 'ssh://peter@dipmac.local x86_64-darwin' --option allowed-impure-host-deps '/bin/sh /usr/lib /dev /usr/lib' --option builders-use-substitutes true
these derivations will be built:
/nix/store/292c4spdby2gmlvz395j8is86bsj16df-src.drv
/nix/store/42h1nn3mrl7bfmr73z5m5bakj2jm3m0s-rust_bar-0.1.0.drv
/nix/store/hi8yqx0a23kds17jsvgypkfnar53igjc-src.drv
/nix/store/gqdd3f33s45zywwjcs6a64q6yps0vvzd-rust_bar-0.1.0.drv
/nix/store/cigqp9wdbmss3fpcq5fjpzmpnn4c9sn6-src.drv
/nix/store/wx5i9wkb4snal1rr46ck9nk607wdxdjn-src.drv
/nix/store/scwvpwa22856yrwdakbwyx71l5gwm0c3-build-script-and-main.drv
/nix/store/1mkl46014p8xh57vnnmkla6sc79hybwp-rust_foo-0.1.0-test.drv
{ pkgs? import <nixos-unstable> { config = {}; },
lib? pkgs.lib,
callPackage? pkgs.callPackage,
stdenv? pkgs.stdenv,
buildRustCrate? pkgs.buildRustCrate,
fetchurl? pkgs.fetchurl }:
rec {
root_crate = crates."tera 1.0.0-beta.2 (registry+https://github.com/rust-lang/crates.io-index)";
crates = {
<html>
<head><title>Sample Page</title></head>
<body>
<h1>Sample Page</h1>
</body>
</html>
@kolloch
kolloch / Dockerfile
Last active August 29, 2015 14:24
Reproduce 100-continue bug
# Expects marathon source as context directory
FROM mesosphere/mesos:0.22.1-1.0.ubuntu1404
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install --no-install-recommends -y \
default-jdk \
scala \
curl
@kolloch
kolloch / gist:081b41bb8dbbd23223fb
Created June 15, 2015 15:31
Log file of failing integration test
[16:23:43][Step 3/3] Test Starting - GroupDeployIntegrationTest: update a group with applications to restart
[16:23:43][Step 3/3] [2015-06-15 14:29:13,498] INFO marathon: [2015-06-15 14:29:13,498] INFO Upgrade id:/marathonintegrationtest/test version:2015-06-15T14:29:13.497Z with force:false (mesosphere.marathon.state.GroupManager:124) (mesosphere.marathon.integration.setup.ProcessKeeper$:100)
[16:23:43][Step 3/3] [2015-06-15 14:29:13,500] INFO marathon: [2015-06-15 14:29:13,500] INFO Take next configured free port: 10000 (mesosphere.marathon.state.GroupManager:186) (mesosphere.marathon.integration.setup.ProcessKeeper$:100)
[16:23:43][Step 3/3] [2015-06-15 14:29:13,504] INFO marathon: [2015-06-15 14:29:13,504] INFO Compute DeploymentPlan from Group(/,Set(),Set(),Set(),2015-06-15T14:29:13.254Z) to Group(/,Set(),Set(Group(/marathonintegrationtest,Set(),Set(Group(/marathonintegrationtest/test,Set(AppDefinition(/marathonintegrationtest/test/app,Some(/tmp/appProxy663822139930722272.sh /marathonintegrationtest/test
@kolloch
kolloch / .gitignore
Last active August 29, 2015 14:22
Marathon dev setup
keystore
config.sh
@kolloch
kolloch / .gitignore
Last active September 29, 2017 20:06
Attempt to reproduce #1497 CPU usage increased dramatically 0.8.1-RC1 -> master
stats-*.txt