Re: [Nix-dev] error: cannot auto-call a function that has an argument without a default value (‘stdenv’)

2017-07-07 Thread Christian Kauhaus via nix-dev
> { stdenv, something1, something2, ... }: Another solution (at least commonly used here at Flying Circus IO): * leave the package expr as-is * call it with the idiom nix-build -E 'with import {}; callPackage ./hello.nix {}' HTH Christian -- Dipl-Inf. Christian Kauhaus <>< · k..

[Nix-commits] [NixOS/nixpkgs] 09f24f: buildRustPackage: Fix "warning: file ... may be ge...

2017-03-30 Thread Christian Kauhaus
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 09f24f628b64ada599616271ff4809eddb59eb0c https://github.com/NixOS/nixpkgs/commit/09f24f628b64ada599616271ff4809eddb59eb0c Author: Christian Kauhaus <k...@flyingcircus.io> Date: 2017-03-30 (Thu,

Re: [Nix-dev] Problem compiling a rust program without fetchFromGitHub

2017-03-22 Thread Christian Kauhaus
E_DATE_EPOCH? Why not fix SOURCE_DATE_EPOCH to 1? Regards Christian -- Dipl-Inf. Christian Kauhaus <>< · k...@flyingcircus.io · +49 345 219401-0 Flying Circus Internet Operations GmbH · http://flyingcircus.io Forsterstraße 29 · 06112 Halle (Saale) · Deutschland HR Stendal 21169 · Gesch

Re: [Nix-dev] Problem compiling a rust program without fetchFromGitHub

2017-03-22 Thread Christian Kauhaus
Inf. Christian Kauhaus <>< · k...@flyingcircus.io · +49 345 219401-0 Flying Circus Internet Operations GmbH · http://flyingcircus.io Forsterstraße 29 · 06112 Halle (Saale) · Deutschland HR Stendal 21169 · Geschäftsführer: Christian Theune, Christian Zagrodnick signature.asc Descript

Re: [Nix-dev] Problem compiling a rust program without fetchFromGitHub

2017-03-21 Thread Christian Kauhaus
ian -- Dipl-Inf. Christian Kauhaus <>< · k...@flyingcircus.io · +49 345 219401-0 Flying Circus Internet Operations GmbH · http://flyingcircus.io Forsterstraße 29 · 06112 Halle (Saale) · Deutschland HR Stendal 21169 · Geschäftsführer: Christian Theune, Christian Zagrodnick signature.asc Descript

[Nix-dev] Problem compiling a rust program without fetchFromGitHub

2017-03-21 Thread Christian Kauhaus
gistry/index/-ba82b75dd6681d6f/.cargo-index-lock The full logs are attached. I believe that both attempts should result in identical builds. Did I do something wrong? Is this a bug? TIA Christian -- Dipl-Inf. Christian Kauhaus <>< · k...@flyingcircus.io · +49 345 219401-0 Flying Circu

Re: [Nix-dev] how to find packages by file?

2017-03-15 Thread Christian Kauhaus
first two questions, but to the third one: use nix-store --query --deriver /nix/store/path/to/file . This will print the source derivation. The derivation file contains information where it was built from, but in most cases it is sufficient to simply look at the file name. HTH Christian -- Dipl-Inf. Christ

Re: [Nix-dev] Nix-store --repair doesn't seem to be repairing

2017-03-14 Thread Christian Kauhaus
g the "select isn't broken" rule[1] I would start to search elsewhere. This is just a suspicion not a hard proof. Perhaps you get the checksum errors due to something completely different. BR Christian [1] https://pragprog.com/the-pragmatic-programmer/extracts/tips -- Dipl-Inf. Ch

Re: [Nix-dev] Nix-store --repair doesn't seem to be repairing

2017-03-13 Thread Christian Kauhaus
Am 12.03.2017 um 20:07 schrieb Oliver Charles: > Any idea what's going on here? Looks like the corruption is rather in the sqlite than in the tree. No idea how to fix this, though. Regards Christian -- Dipl-Inf. Christian Kauhaus <>< · k...@flyingcircus.io · +49 345 219401-0 F

Re: [Nix-dev] Hydra: infinite CPU and RAM consumption in evaluator

2017-01-19 Thread Christian Kauhaus
ignores attrsets defining no derivations (analogous to a Nix expression like `collect isDerivation nixpkgs`. Obviously, it doesn't exactly do so. But hey, now it's running again. :-) Regards Christian -- Dipl-Inf. Christian Kauhaus <>< · k...@flyingcircus.io · +49 345 219401-0 Flying Cir

Re: [Nix-dev] Why nginx config isn't placed into /etc/nginx/nginx.conf?

2016-08-12 Thread Christian Kauhaus
t of convergence. This is exactly what I mean with "convergent" in my blog post. BR Christian -- Dipl-Inf. Christian Kauhaus <>< · k...@flyingcircus.io · +49 345 219401-0 Flying Circus Internet Operations GmbH · http://flyingcircus.io Forsterstraße 29 · 06112 Halle (Sa

Re: [Nix-dev] Why nginx config isn't placed into /etc/nginx/nginx.conf?

2016-08-11 Thread Christian Kauhaus
e interested, I've written a blog post some months ago which explains these realms and how they relate to NixOS: https://blog.flyingcircus.io/2016/05/06/thoughts-on-systems-management-methods/ HTH Christian -- Dipl-Inf. Christian Kauhaus <>< · k...@flyingcircus.io · +49 345 219401-0 Fly

[Nix-commits] [NixOS/nixpkgs] ea7e70: varnish: fix localstatedir for varnish* tools (#17...

2016-08-04 Thread Christian Kauhaus
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: ea7e705cd905e01bc65f2a7ccc6e700bd1bcd4e0 https://github.com/NixOS/nixpkgs/commit/ea7e705cd905e01bc65f2a7ccc6e700bd1bcd4e0 Author: Christian Kauhaus <k...@flyingcircus.io> Date: 2016-08-04 (Thu,

[Nix-commits] [NixOS/nixpkgs] 3530f3: systemd: make ctrl-alt-del target configurable. (#...

2016-07-19 Thread Christian Kauhaus
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 3530f3f20a934ed1d3df35fe3c8041d197f8b41e https://github.com/NixOS/nixpkgs/commit/3530f3f20a934ed1d3df35fe3c8041d197f8b41e Author: Christian Kauhaus <k...@flyingcircus.io> Date: 2016-07-19 (Tue,

Re: [Nix-dev] Packaging free software that costs money

2016-07-07 Thread Christian Kauhaus
inst any stronger measures that would bring further complications. My 2ct Christian -- Dipl-Inf. Christian Kauhaus <>< · k...@flyingcircus.io · +49 345 219401-0 Flying Circus Internet Operations GmbH · http://flyingcircus.io Forsterstraße 29 · 06112 Halle (Saale) · Deutschland

Re: [Nix-dev] Question about chroot & nixos-install

2016-04-07 Thread Christian Kauhaus
Am 07.04.2016 um 11:38 schrieb Peter Simons: > https://nixos.org/wiki/How_to_install_NixOS_from_Linux describes how to > do that using a Live-CD ISO. Thanks for the pointer. Didn't consider the wiki since it was down for a while. Regards Christian -- Dipl-Inf. Christian Kauhaus &

Re: [Nix-dev] Question about chroot & nixos-install

2016-04-07 Thread Christian Kauhaus
mented solution. I think installing NixOS into a mountpoint from another OS (where just nixpkgs available) is a common situation. Anyone to present a workable procedure? Regards Christian -- Dipl-Inf. Christian Kauhaus <>< · k...@flyingcircus.io · +49 345 219401-0 Flying Circus Inte

Re: [Nix-dev] When will nixos-16.03 be ready?

2016-03-31 Thread Christian Kauhaus
Am 31.03.2016 um 14:41 schrieb Domen Kožar: > I'll announce the release today evening CET. w00t Still in time. :-) Christian -- Dipl-Inf. Christian Kauhaus <>< · k...@flyingcircus.io · +49 345 219401-0 Flying Circus Internet Operations GmbH · http://flyingcircus.io Forsterstraß

[Nix-dev] When will nixos-16.03 be ready?

2016-03-31 Thread Christian Kauhaus
Hi, I wonder what the timeline is for the 16.03 release. As far as I understand it, it was supposed to happen in March, but odds are not so good right now. Has anyone an idea about what it takes for the release to happen? TIA Christian -- Dipl-Inf. Christian Kauhaus <>

Re: [Nix-dev] Redesign of documentation

2016-02-16 Thread Christian Kauhaus
ge syntax, features and builtins) in a separate section. Regards Christian -- Dipl-Inf. Christian Kauhaus <>< · k...@flyingcircus.io · +49 345 219401-0 Flying Circus Internet Operations GmbH · http://flyingcircus.io Forsterstraße 29 · 06112 Halle (Saale) · Deutschland HR Stendal 21169

Re: [Nix-dev] User and group ID ranges

2016-01-15 Thread Christian Kauhaus
out using the range 3 < n < 65535? We allocate UIDs now and want to avoid future UID conflicts. Changing UIDs on large-scale infrastructures is painful. Regards Christian -- Dipl-Inf. Christian Kauhaus <>< · k...@flyingcircus.io · +49 345 219401-0 Flying Circus Interne

[Nix-dev] User and group ID ranges

2016-01-13 Thread Christian Kauhaus
statically allocated UIDs below 400, I wonder if it is not like to see an overflow. I'm currently unsure what the policy is for 3 <= n < 65535. Is it ok for sites to allocate additional IDs without fear for conflict? TIA Christian -- Dipl-Inf. Christian Kauhaus <>< · k...@flyingcircus.io · +