#nixos

/

      • jcbrand
        domenkozar: Error happens upon starting the container but also when I start it via systemctl (as root)
      • domenkozar
        hmm nothing comes to my mind
      • jcbrand: best to open an issue
      • jcbrand
        yeah ok, I'll open an issue
      • thanks
      • goibhniu
        could it be related to the DeviceAllow option?
      • it's the same thing that prevents /dev/net/tun from being created inside containers
      • jcbrand
        looks promising
      • goibhniu
      • jcbrand: I guess you know how to hack that option, to see if it helps?
      • ibrahims has quit
      • michiel_l
        For those interested in reproducible builds particularly: https://blog.netbsd.org/tnf/entry/netbsd_fully_...
      • mudri has quit
      • icetan
        LnL: think I got hydra working but I only switched nixpkgs to 16.09 nothing else really, I think at least
      • is there a way to reference a branch when specifying a git repo as input for a jobset?
      • LnL
        <remote> <branch>
      • jcbrand
        goibhniu: I've set containers.foo.allowedDevices to allow "/dev/console" and "/dev/tty0" but it doesn't seem to make a difference
      • icetan
        LnL: aha, thanks
      • ibrahims joined the channel
      • LnL
        icetan: I made this so I can build a subset of nixpkgs https://github.com/LnL7/hydra-config
      • goibhniu
        jcbrand: hrm, I don't know what syntax should be there ... I'd try doing a nixos-rebuild on a branch based on the one that was used for your current system (`nixos-version`) and removing the Device* options, or setting them directly
      • freusque has quit
      • xeviox has quit
      • pierron wonders why thunderbird pulls wayland
      • fhoffmeyer has quit
      • freusque joined the channel
      • icetan
        LnL: neat
      • jgertm has quit
      • xadi joined the channel
      • I'm mostly trying to build my companies product to se if it's feasible
      • jgertm joined the channel
      • griff_ joined the channel
      • FRidh
        collision between `/nix/store/lywhskfdmsafs4lz2lkvmwan66xx2a0l-python3.5-html5lib-0.999999999/lib/python3.5/site-packages/html5lib/filters/whitespace.py' and `/nix/store/ip531qk15wrmcv9dwhg7qb240qjng4jj-python3.5-html5lib-0.9999999/lib/python3.5/site-packages/html5lib/filters/whitespace.py'
      • i knew this was going to happen at some point...
      • freusque has quit
      • gchristensen
        ugh
      • LnL
        nice version numbers
      • FRidh
        yep
      • freusque joined the channel
      • thinking of patching bleach so it vendors the old version of html5lib
      • slack1256 has quit
      • LnL
        FRidh: doesn't that older version have a security issue? or was that another .999... version
      • NOTICE: [nixpkgs] edwtjo opened pull request #23040: TF 1.0 (master...tf-1.0) https://git.io/vDNBd
      • FRidh
        yea, it does
      • but bleach hasn't migrated yet
      • which I need (indirectly) for the jupyter notebook
      • LnL
        huh, so 0.999... was a breaking change?
      • ...
      • FRidh
        nice hmm
      • NOTICE: [nixpkgs] jagajaga closed pull request #22497: vint: init at 0.3.11 (master...vint) https://git.io/vDWoP
      • It's interesting to see how important certain libraries turn out to be.
      • copumpkin
        ugh stupid version schemes
      • gchristensen
        asymptotically approaching 1 isn't best?
      • jcbrand has quit
      • peterhoeg joined the channel
      • ilyaigpetrov
        what does semver says about 0.99 and 0.9 -- must their APIs be compatible
      • gchristensen
        not pre-1.0
      • which is the reason they hit this insane version scheme
      • copumpkin
        anyone around who deeply understands the installer tests and nixos-install.sh? I'd appreciate any guidance you can provide on https://github.com/NixOS/nixpkgs/pull/23026#iss...
      • jcbrand joined the channel
      • gilligan_ has quit
      • ibrahims has quit
      • ixxie
        copumpkin: perhaps clever?
      • ibrahims joined the channel
      • cpennington joined the channel
      • ibrahims has quit
      • copumpkin
        not sure :)
      • gilligan_ joined the channel
      • mudri joined the channel
      • NOTICE: [nixpkgs] lsix opened pull request #23044: updates pythonPackages.channels and dependencies (master...channels_updates) https://git.io/vDNgG
      • jophish_
        I've just turned on sandboxed builds and am getting an error while building the language-nix haskell package
      • unable to make filesystem ‘/run/user/1000/gvfs’
      • does this ring any bells?
      • This is using the nix daemon, so it makes sense that it doesn't have access to my tmp directory
      • this isn't limited to the language-nix package either
      • sphalerite
        Does nixpkgs rely on bash, or just a POSIX-compliant bouen shell?
      • bourne*
      • gchristensen
        sphalerite: like in the builders?
      • sphalerite
        yes
      • gchristensen
        I would bet it relies on bash specifically, as it uses bash, and there is no effort to avoid bashisms
      • jophish_
      • sphalerite
        aww, ok.
      • gchristensen
        sphalerite: why?
      • copumpkin
        sphalerite: how does that affect you? the main place I know of that's annoying is nix-shell, but the new UI should improve that bit for end-users
      • sphalerite
        Just in terms of how portable it is :)
      • fhoffmeyer joined the channel
      • copumpkin
        well, it very explicitly depends on the bash it wants, so it shouldn't matter too much
      • sphalerite
        that's fair enough
      • copumpkin
        oh, you mean the /bin/sh
      • yeah that's a PITA :)
      • NOTICE: [nixpkgs] Zimmi48 opened pull request #23045: nixos/manual/xserver: propose more alternatives (master...patch-1) https://git.io/vDN2T
      • jophish_
        I've been using zsh in nix-shell for ages without any problems
      • ns(){ nix-shell --command "IN_NIX_SHELL=1 exec zsh; return" "$@" }
      • copumpkin
        niksnut: does the build-use-sandbox option today point /bin/sh at stdenv.shell or just pass through to the host?
      • ah, it does the good thing
      • abrar joined the channel
      • so the /bin/sh references aren't the end of the world if you're building with the sandbox turned on (which someday we'll have by default!)
      • LnL
        jophish_: why the IN_NIX_SHELL and exec dance?
      • jophish_
        LnL: PS1 has some logic to put '[nix-shell]' there when IN_NIX_SHELL is present
      • I can't remember why the exec is there :)
      • fhoffmeyer has quit
      • NOTICE: [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vDN2z
      • NOTICE: nixpkgs/staging 4b72153 Vladimír Čunát: glibc: fixup libm.a...
      • LnL
        nix-shell will set that environment variable for you
      • sphalerite
        I guess the exec is so you don't have a bash running around the zsh?
      • k2s has quit
      • can confirm that IN_NIX_SHELL is already set
      • The issue with using zsh is that functions defined by the setup scripts won't be available
      • if the environment variables are all you need that's fine of course, but yeah
      • NOTICE: [nixpkgs] edolstra pushed 3 new commits to master: https://git.io/vDN2H
      • NOTICE: nixpkgs/master 012b5a5 Eelco Dolstra: Add Fedora 25
      • NOTICE: nixpkgs/master acb2acf Eelco Dolstra: VM builds: Use -smp when enableParallelBuilding is set
      • NOTICE: nixpkgs/master 1fdb52f Eelco Dolstra: Add Ubuntu 16.10
      • LnL
        yeah, I don't think zsh has anything like --rcfile
      • (or nix-shell doesn't know about it)
      • NOTICE: [nixpkgs] edolstra pushed 2 new commits to release-16.09: https://git.io/vDN2F
      • NOTICE: nixpkgs/release-16.09 b155408 Eelco Dolstra: Add Fedora 25...
      • NOTICE: nixpkgs/release-16.09 3e86c8e Eelco Dolstra: Add Ubuntu 16.10...
      • jophish_
        sphalerite: I've not encountered any problems yet
      • NOTICE: [nix] edolstra pushed 4 new commits to master: https://git.io/vDN2p
      • NOTICE: nix/master bb6656b Eelco Dolstra: Build RPMs for Fedora 25...
      • NOTICE: nix/master e4dd7da Eelco Dolstra: RPM build: Use parallel make
      • NOTICE: nix/master b95ce31 Eelco Dolstra: Debian build: Use parallel make and add Ubuntu 16.10