pxc has joined #nixos
<anthony_brice> Would anyone be able to explain to me what nix-darwin is? I don't understand how it differs from traditional nix on MacOS or why one might want to use it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #28770: cc-wrapper: Remove deprecated parameters (staging...remove-wrapper-hooks) https://git.io/v5WbO
NixOS_GitHub has left #nixos []
phdoerfler has quit [(Quit: Leaving.)]
anthony_brice has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
pxc has quit [(Ping timeout: 248 seconds)]
mudri has quit [(Ping timeout: 248 seconds)]
oborot has joined #nixos
bfrog has joined #nixos
takle has quit [(Remote host closed the connection)]
georgiy has quit [(Ping timeout: 240 seconds)]
Judson1 has quit [(Ping timeout: 240 seconds)]
hamishmack has joined #nixos
bfrog has quit [(Ping timeout: 252 seconds)]
sigmundv__ has quit [(Ping timeout: 240 seconds)]
_ris has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #28806: mkDerivation: fix hardening flags check (staging...mkDerivation) https://git.io/v540u
NixOS_GitHub has left #nixos []
pfranz has joined #nixos
pxc has joined #nixos
tv has quit [(Ping timeout: 260 seconds)]
tv has joined #nixos
phinxy has joined #nixos
scribbler has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rardiol opened pull request #28807: openmw: 0.41 -> 0.42 (master...openmw) https://git.io/v54EQ
NixOS_GitHub has left #nixos []
imacg has joined #nixos
imacg has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] bbarker opened pull request #1546: Fixes for recent alpine images (master...patch-1) https://git.io/v54ub
NixOS_GitHub has left #nixos []
Supersonic112 has quit [(Disconnected by services)]
vaibhavsagar_ has joined #nixos
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
kiloreux has joined #nixos
pfranz has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #28806: mkDerivation: fix hardening flags check (staging...mkDerivation) https://git.io/v540u
NixOS_GitHub has left #nixos []
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
<peterhoeg> Infinisil: maybe have the installPhase make a symlink to gpg2 so things will continue to work as normal?
mbrgm has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
dieggsy has joined #nixos
oborot has quit [(Ping timeout: 240 seconds)]
<dieggsy> I've got this config.nix with overrides: https://git.io/v54gO however, some of the referenced packages have fetchFromGithub as a dependency and i'm getting errors
<dieggsy> I'm not sure where to get fetchFromGithub from, I think if the original definition (not the override) had fetchFromGithub it's working, but if it did not it isn't
Fannar has quit [(Ping timeout: 240 seconds)]
<dieggsy> note: i just started with nix today and have barely any idea what i'm doing
ryantrinkle has quit [(Ping timeout: 255 seconds)]
Fannar has joined #nixos
oborot has joined #nixos
<dieggsy> The error is anonymous function called without argument 'fetchFromGithub' but that only happens on ones where i'm trying to add a fetchFromGithub src that wasn't there
dieggsy has quit [(Ping timeout: 255 seconds)]
jtojnar has quit [(Read error: Connection reset by peer)]
<disasm> not quite understanding how this error is possible... /tmp/nix-build-swift-3.1.1.drv-0/src/cmark/api_test/cplusplus.cpp:1:10: fatal error: 'cstdlib' file not found
georgiy has joined #nixos
acarrico has quit [(Ping timeout: 240 seconds)]
georgiy has quit [(Client Quit)]
leothrix has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
zeus_ has quit [(Ping timeout: 252 seconds)]
faffolter has joined #nixos
leothrix has joined #nixos
ktf_ has joined #nixos
elninja44 has quit [(Remote host closed the connection)]
ktf_ has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler opened pull request #28808: bossa: fix build with gcc6 (master...bossa) https://git.io/v54az
NixOS_GitHub has left #nixos []
zeus_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] eqyiel opened pull request #28809: lftp: fix build on darwin (master...fix-lftp) https://git.io/v54aS
NixOS_GitHub has left #nixos []
kiloreux has quit [(Ping timeout: 248 seconds)]
zraexy has quit [(Ping timeout: 240 seconds)]
faffolter has quit [(Remote host closed the connection)]
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
MP2E has joined #nixos
ryantrinkle has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bradleyjensen opened pull request #28810: Overhaul quicklisp-to-nix (master...update-quicklisp) https://git.io/v54Vv
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler opened pull request #28811: caneda: fix build with gcc6 (master...caneda) https://git.io/v54Vf
NixOS_GitHub has left #nixos []
kimbo has joined #nixos
schoppenhauer has quit [(Ping timeout: 240 seconds)]
phinxy has quit [(Quit: Leaving)]
kimbo_ has quit [(Ping timeout: 240 seconds)]
schoppenhauer has joined #nixos
oborot has quit [(Ping timeout: 248 seconds)]
Fannar has quit [(Quit: Lost terminal)]
Sonarpulse has quit [(Ping timeout: 255 seconds)]
vaibhavsagar__ has joined #nixos
vaibhavsagar_ has quit [(Ping timeout: 240 seconds)]
NightTrain has quit [(Quit: Lost terminal)]
leothrix has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
leothrix has joined #nixos
uralbash has joined #nixos
uralbash has quit [(Ping timeout: 246 seconds)]
reinzelmann has joined #nixos
uralbash has joined #nixos
ktf_ has joined #nixos
uralbash has left #nixos []
ktf_ has quit [(Ping timeout: 240 seconds)]
mrkgnao has joined #nixos
phinxy has joined #nixos
Wizek has quit [(Quit: Connection closed for inactivity)]
phinxy has quit [(Ping timeout: 240 seconds)]
mitchty has quit [(Remote host closed the connection)]
mitchty has joined #nixos
nil has quit [(Disconnected by services)]
ntc has joined #nixos
fenton has joined #nixos
<fenton> having trouble getting my default gateway to work...keeps setting it to 192.168.1.0 instead of 192.168.1.255 as specified in my config
slack1256 has joined #nixos
<slack1256> what kind of objects on nixpkgs have an "env" attribute? ie, what will nix-shell accept?
<fenton> [fenton@cpu4desk /etc/nixos]$ sudo ip route add default via "192.168.1.255" ±[A2●][master] RTNETLINK answers: Invalid argument
<fenton> found the problem, must be 254 not 255 for ip addy.
odi has joined #nixos
<slack1256> how do I combine two derivations on a single derivation?
<slack1256> I want to nix-shell give me an environment to build either of them
fenton has quit [(Ping timeout: 260 seconds)]
MercurialAlchemi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28811: caneda: fix build with gcc6 (master...caneda) https://git.io/v54Vf
NixOS_GitHub has left #nixos []
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v54PL
<NixOS_GitHub> nixpkgs/master d908b6a Ruben Maher: lftp: fix build on darwin...
<NixOS_GitHub> nixpkgs/master 4c99d55 Jörg Thalheim: Merge pull request #28809 from eqyiel/fix-lftp...
NixOS_GitHub has left #nixos []
reinzelmann has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28808: bossa: fix build with gcc6 (master...bossa) https://git.io/v54az
NixOS_GitHub has left #nixos []
hamishmack has quit [(Ping timeout: 240 seconds)]
reinzelmann has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to release-17.09: https://git.io/v54PW
<NixOS_GitHub> nixpkgs/release-17.09 7c77ba9 Samuel Leathers: caneda: fix build with gcc6...
<NixOS_GitHub> nixpkgs/release-17.09 e312ec1 Ruben Maher: lftp: fix build on darwin...
<NixOS_GitHub> nixpkgs/release-17.09 490b33a Samuel Leathers: bossa: fix build with gcc6...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v54Pl
<NixOS_GitHub> nixpkgs/master 3b9f0c6 Jan Tojnar: gnome3 tests: fix by providing more memory...
NixOS_GitHub has left #nixos []
jsgrant has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/v54Pg
<NixOS_GitHub> nixpkgs/release-17.09 b999b80 Jan Tojnar: gnome3 tests: fix by providing more memory...
NixOS_GitHub has left #nixos []
Ivanych has joined #nixos
griff_ has joined #nixos
oida has joined #nixos
oida_ has quit [(Ping timeout: 240 seconds)]
griff_ has quit [(Ping timeout: 240 seconds)]
sary has quit [(Ping timeout: 260 seconds)]
sary has joined #nixos
odi has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #28795: nixos/piwik: fix nginx submodule's ssl defaults (master...piwik-nginx-submodule-improvements) https://git.io/v58c6
NixOS_GitHub has left #nixos []
leat has quit [(Quit: leat)]
freusque has joined #nixos
faffolter has quit [(Ping timeout: 240 seconds)]
pie__ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
hamishmack has joined #nixos
ktf_ has joined #nixos
ktf_ has quit [(Quit: WeeChat 1.9)]
Ivanych has quit [(Ping timeout: 248 seconds)]
pie__ has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
pie_ has quit [(Ping timeout: 264 seconds)]
leat has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b999b800ce (from 61 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
pie__ has quit [(Read error: Connection reset by peer)]
pie__ has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
Neo-- has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
<sphalerite> slack1256: if there aren't any build-critical variables in them beyond the buildInputs you can just do something like pkgs.runCommand "shell" {buildInputs = a.buildInputs ++ b.buildInputs;} ":"
<sphalerite> slack1256: as for what nix-shell will accept, it's any derivation. No env attribute required.
arximboldi has joined #nixos
<simpson> Doing updates on GCE with nixops, and `the following units failed: google-instance-setup.service`
<simpson> Is this an important thing?
<sphalerite> fenton: yeah, 255 is the broadcast address, which you can't assign to a machine, at least if you're using the standard netmask
zeus_ has quit [(Ping timeout: 246 seconds)]
v0lZy has joined #nixos
phreedom has joined #nixos
freeman42x[m] has joined #nixos
<hyper_ch> why do I get that when I run "nox xxx" : warning: name collision in input Nix expressions, skipping ‘/home/hyper/.nix-defexpr/channels_root/nixos’ ?
<v0lZy> "The term "name collision" refers to the nomenclature problem that occurs in computer programs when the same variable name is used for different things in two separate areas that are joined, merged, or otherwise go from occupying separate namespaces to sharing one. "
<v0lZy> I'm utterly new to NIX... only heard about it yesterday and watching my first YT video on it :D
freeman42y[m] has joined #nixos
Guest94839 has quit [(Ping timeout: 260 seconds)]
<hyper_ch> v0lZy: well, what does it mean in the context of nox
<hyper_ch> maybe I should just delete the whole thing ;)
<v0lZy> I dont know what nox is
ertes-w has joined #nixos
<hyper_ch> nox is a program in nixos that lists intallable packages
<v0lZy> But this kind of thing usually happens in programming if you have like an exposed variable in two units
<hyper_ch> v0lZy: two examples for you: https://paste.simplylinux.ch/view/f0c9619f
<hyper_ch> I use it to find the package/expression names that I need to add to my configuration nix
<hyper_ch> I install stuff all system-wide and not user-specific since I'm the only one using the comp
freeman42x[m] has quit [(Ping timeout: 255 seconds)]
<hyper_ch> there's other ways too look up stuff
<v0lZy> well
<v0lZy> Nix expressions seem to be where the problem is
<v0lZy> I dont know how nox works, but i imagine it looks at the config file or something to tell you what you have configured
<v0lZy> (in that case it would I guess show stuff you havent got installed before you installed it if thats what you edited into the config...)
<v0lZy> (of course i could be massively wrong her,e I know nothing of nix...)
<hyper_ch> so, what do you need help with nix/os?
<v0lZy> But if thats the case, then somewhere in your configuration you're reusing something ... that could happen if you're including files or if you simply doubled something
<v0lZy> erm, no, just trying to help you help yourself and find the problem :D
<hyper_ch> v0lZy: you can't provide help with nox, sorry
<v0lZy> Yeah, I know... hence my disclaimer in the fomr of an honnest confession :D
<sphalerite> v0lZy: what does your NIX_PATH environment variable contain?
<v0lZy> Just suggesting that apparently nox dislikes whatever the nix expression are written, wherever they are written, because its checking for uniquness of variables... and in one case, some variables are not unique it seems and interfere with eachother in the same namespace
<sphalerite> v0lZy: and does nix-env -qa --json > packages.json output the same message?
<sphalerite> It doesn't sound like nox's fault to me
<v0lZy> sphalerite: you should ask hyper_ch; I dont have nix yet.
<sphalerite> Oh, whoops :)
<sphalerite> The perils of chatting on a small screen :p
<v0lZy> :D
<hyper_ch> sphalerite: for some reason in my user ~/.nix-defexpr I do have the channels_root symlink that points to /nix/var/nix/profiles/per-user/root/channels
<v0lZy> sphalerite: its hyper_ch thats seeing "warning: name collision in input Nix expressions, skipping ‘/home/hyper/.nix-defexpr/channels_root/nixos" when he runs nox xxx
<hyper_ch> I just wonder how that ended up there
<hyper_ch> Or I can just remove ~/.nix-defexpr
<hyper_ch> I mean what could possibly go wrong there...
v0lZy1 has joined #nixos
<sphalerite> hyper_ch: that's normal
<sphalerite> the existence of that symlink, that is
<hyper_ch> :)
<sphalerite> so does nix-env -qa --json > /tmp/packages.json work?
<hyper_ch> v0lZy: so, anything you need to know?
<hyper_ch> sphalerite: as root or user?
<v0lZy1> hyper_ch: Not at this very moment, thanks.
<sphalerite> as user
<hyper_ch> ix-env -qa --json > /tmp/packages.json
<hyper_ch> warning: name collision in input Nix expressions, skipping ‘/home/hyper/.nix-defexpr/channels_root/nixos’
v0lZy has quit [(Ping timeout: 240 seconds)]
v0lZy1 is now known as v0lZy
<sphalerite> right, so it's not nox's fault :)
<v0lZy> hyper_ch: I used to have gobolinux installed a very long time ago... I liked the way how the filesystem was the package db in itself and how you could have multiple versions of software and libraries side by side
<hyper_ch> sphalerite: hmm, ok
<v0lZy> hyper_ch: and a friend told me nix has gotten more traction and does similar
<hyper_ch> never heard of gobolinux
<v0lZy> So I thought I'd look into it ... glad to see the community's well populated :D
<sphalerite> v0lZy: nix is even better ;)
<hyper_ch> nix has its issues as well...
sigmundv__ has joined #nixos
<sphalerite> doesn't stop it from being awesome :p
<v0lZy> hyper_ch: it was a distro based on gentoo which used a kernel module to hide the /dev /lib /var etc stuff and make it pretty like /Programs /Users /Config etc
<hyper_ch> sphalerite: btw, with dconf installed, the "folder first" option is now permanently stored
<sphalerite> excellent!
<hyper_ch> I've heard of gentoo before
<v0lZy> gobo didnt really have any issues as far as im concerned, other than the fact that it didnt gather much crowd and died off
<v0lZy> It didnt really give me any problems.
<v0lZy> (but hard to do that with minimal amount of packages anyway :D)
<v0lZy> (and not many updates :D)
JosW has joined #nixos
<v0lZy> So yeah, liked gobo back then, am here now to see if its worth switching over from arch
<v0lZy> I mainly need linux for virtualisation and filesharing
betaboon has joined #nixos
<hyper_ch> globo isn't dead
<sphalerite> but yes, the main issues with nix/nixos I'd say are A, documentation. There's lots of it but it's not easy to find what you're looking for; B, software support. There's so much software which makes (bad!) assumptions which nix's model breaks and needs wrapping/patching/stuff to make it work
<v0lZy> its dead-ish :D
arximboldi has quit [(Quit: arximboldi)]
<hyper_ch> last update in april 2017
<hyper_ch> according to the homepage
<sphalerite> yeah, I'm really impressed with how much software is packaged for nix given the community size
<v0lZy> hyper_ch: check the frequency
<hyper_ch> very different
<hyper_ch> there was nothing between 2015-02-27 and 2016-07-31
<v0lZy> :D
<hyper_ch> but then almost monthly
<v0lZy> my point exactly
<sphalerite> Which I think suggests that packaging software with nix is fairly easy
<sphalerite> oh wow, gobo is old as well
<sphalerite> older than nix
<hyper_ch> I even managed to pack my shell script into a nix expression
<hyper_ch> finally I can confortable handly pdfs in kde again :)
<hyper_ch> s/handly/handle/
<v0lZy> gobo's old, aye
<hyper_ch> 2002
<v0lZy> It was a cool idea
<v0lZy> but the linux world back then was dominated by traditionalists..
<hyper_ch> v0lZy: my current system config: https://github.com/sjau/nixos/blob/master/configuration.nix :)
<v0lZy> systemd might have pushed thos einto the corner a bit :D
<hyper_ch> I still wonder if systemd is worth it
<hyper_ch> it does have some nice features though
<hyper_ch> sphalerite: you use kde?
<v0lZy> If i understand corectly, that basically allows you to take a nix iso boot it, copy paste the config file, install it and you're up and running exactly like you are... minus any saved data.
civodul has joined #nixos
<sphalerite> v0lZy: yep
<v0lZy> hyper_ch: I think its a good idea to increase linux user base
<v0lZy> hyper_ch: but in terms of flexibility, probably not
<sphalerite> hyper_ch: only a little bit, mostly i3
<v0lZy> stuff that was previously scriptable now requires programming and compiling etc..
<sphalerite> hyper_ch: I don't see how systemd is supposed to be inflexible
<hyper_ch> v0lZy: pretty much but there's some caveats... e.g. I just can't manage to get vbox with extension pack installed on fresh installation
<v0lZy> why bother with vbox?
<hyper_ch> for some reason I first have to install virtualbox and once all is installed, then I can enhance to vbox extensions
<hyper_ch> v0lZy: becasue I like it
<v0lZy> hyper_ch: qemu/kvm + libvirt
<hyper_ch> v0lZy: good luck with qemu/kvm on windows
pxc has joined #nixos
<v0lZy> hyper_ch: ah, you need to move the machines around?
<hyper_ch> yes
<v0lZy> virtualbox's is good for that then, yeah
<hyper_ch> # Enable KVM/Qemu
<hyper_ch> virtualisation.libvirtd = {
<hyper_ch> enable = true;
<hyper_ch> enableKVM = true;
<hyper_ch> };
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v54SN
<NixOS_GitHub> nixpkgs/master d52eaf8 Jörg Thalheim: python.pkgs.pytest-django: fix patch hash
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v54Sx
<NixOS_GitHub> nixpkgs/release-17.09 775ec9e Jörg Thalheim: python.pkgs.pytest-django: fix patch hash...
NixOS_GitHub has left #nixos []
<v0lZy> those statements i assume install stuff and also configure it to a certain degree?
<sphalerite> well they don't install stuff as such, but they set configuration which results in the system evaluating to one containing the stuff :p
<v0lZy> yeah, i get that,.
<hyper_ch> (in other words: they install it)
<sphalerite> but yes
<v0lZy> I just assume you can then still go and edit confgi files for everything
<hyper_ch> v0lZy: you can configure most stuff directly in the configuration.nix
<v0lZy> but in the first place... the statement you wrote for KVM/Qemu above .. I assume it configures libvirtd config file to a degree
<hyper_ch> v0lZy: e.g. just some options for php https://github.com/sjau/nixos/blob/master/configuration.nix#L212
<v0lZy> (I guess it adds users to groups etc.
<sphalerite> yes, and here's the implementation of those options: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/libvirtd.nix
<sphalerite> https://nixos.org/nixos/options.html is also very useful
<hyper_ch> that page changed
pxc has quit [(Ping timeout: 248 seconds)]
<v0lZy> hyper_ch: how is nix linked to configuring options for each software package... isthere some kind of mapping file that translates nix statements such that they are appropriately wirtten into the config files of whatever the softwware?
<hyper_ch> v0lZy: it just uses some kind of magic :) (no idea really.... I just use it)
<v0lZy> :D
<hyper_ch> probably some advanced form of automagic
<v0lZy> Mostly configs are key value pairs
<v0lZy> but
freeman42x[m] has joined #nixos
<v0lZy> you've got stuff like i dont know, DRBD which has groups and then groups have key value pairs
<sphalerite> v0lZy: there's a modules system which eventually boils down to writing some files and some scripts
<v0lZy> I see
<v0lZy> so basically you declare what.whatever.maps.to = mykeyinthisinthisfile, modified by this and this function that takes this and this input
<v0lZy> ?
<sphalerite> v0lZy: there are high-level options like virtualisation.libvirtd.enable, and lower-level options like systemd.services or environment.etc (which lets you put specific stuff in /etc)
MP2E has quit [(Quit: sleep)]
<sphalerite> v0lZy: it's more like there's a bunch of modules -- each module is a function that takes config and nixpkgs as arguments, and returns an attribute set (or hash map or dictionary or whatever terminology you prefer -- the preferred nix term is attribute set, or just set) of options
<v0lZy> that bit I understand
<sphalerite> these sets all get merged together to make "the system"
freeman42y[m] has quit [(Ping timeout: 246 seconds)]
<sphalerite> and your configuration is just another module really
betaboon has quit [(Quit: This computer has gone to sleep)]
<v0lZy> Im just unclear as to say how you can use nix expressiosn to say toggle options in /etc/ssh/sshd.conf
dywedir has joined #nixos
<v0lZy> I mean i'd understand if you had a file and told nix to copy it over.
<v0lZy> or something.
<sphalerite> v0lZy: using services.openssh.extraConfig: https://nixos.org/nixos/options.html#openssh+config
<v0lZy> but nix seems to have its own key-value pairs.
thc202 has joined #nixos
<v0lZy> and im wondering how that works... I mean i get that system.ssh.sshd.conf.key=value or whatever...
atondwal has joined #nixos
<v0lZy> just wondering how it works for stuff thats more complex
<atondwal> does nix-copy-closure just not work?
<atondwal> I get a complaint about imported archive lacks a signture
<atondwal> (and if I try it with --sign I get a complaint about openssl failed with exit code 1)
griff_ has joined #nixos
<sphalerite> atondwal: because you're importing realised derivation as is, you either need to have a signature trusted by the target machine on the archive, or import it as root
<sphalerite> v0lZy: more complex like?
<hyper_ch> is it just me or is the new options.html way less informative than the old one?
<hyper_ch> the old one listed just about any setting you could set
<v0lZy> sphalerite: well, take DRBD for example ... you basically have to configure a grouping, then within that grouping you have key value pairs
<v0lZy> the groupings themselves are kind of like values without a key
<atondwal> sphalerite: how do I make the signature trusted?
<sphalerite> v0lZy: there tend to be extraConfig options that allow you to just write config file text that will get included verbatim.
<v0lZy> group_name { key:pair, key:pair, key:pair } for example..
<hyper_ch> now when I search e.g. for virtualbox, it doesn't show enableExtensionPack
<v0lZy> ah, ok
<sphalerite> v0lZy: but when there's structure which can be represented by nix types (which it almost universally can), that's preferred
<v0lZy> sphalerite: does it allow you to just drop a config file in ... like from XML or something.. that would be neat... pfSense for examle stores everything in the .xml file
<atondwal> sphalerite: ah, nevermind I just did it as root
<sphalerite> atondwal: I don't know anything about signing it really, using root is the easier option
<sphalerite> :)
<v0lZy> would be cool if you could have a single xml file, where each xml section would represent a config file
* hyper_ch still doesn't understand the hype around xml...
<v0lZy> and you'd configure it verbatim... the way you wanted... or yeha, I guess you can already do that if you copy paste the entire config file into the extraConfig :D
<sphalerite> hyper_ch: new options.html?
<sphalerite> I don't see it
<hyper_ch> sphalerite: the page you posted.. that's way different from what it was in the past
<sphalerite> I don't see a difference :/
<atondwal> cool, thanks!
<hyper_ch> I thought that got replaced with the other one
<atondwal> now that I've copied the closure, how do I install the package that I closed around?
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
<sphalerite> atondwal: I think you can just do nix-env -i /nix/store/...-package
griff_ has quit [(Ping timeout: 248 seconds)]
<atondwal> sphalerite: sweet, that worked! thanks
<mpickering> Is there an option I can pass to nix-build which stops it looking at web caches but still uses the local cache?
deltasquared has joined #nixos
<sphalerite> mpickering: --option use-binary-caches false I think
goibhniu has joined #nixos
<hyper_ch> v0lZy: so, you have nixos installed already? :)
<otwieracz> Is there any official support for NixOS on SmartOS?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] wizzup opened pull request #28813: nodePackages.live-server : init at 1.2.0 (master...add/nodePackages.live-server) https://git.io/v54QX
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] atondwal opened pull request #1547: manual: import needs root or trusted signature (master...patch-1) https://git.io/v54QD
NixOS_GitHub has left #nixos []
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] loskutov opened pull request #28814: grml-zsh-config: generalize support to unix systems (master...grml-zsh-unix) https://git.io/v5478
NixOS_GitHub has left #nixos []
ixxiee has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/775ec9ebe4 (from 48 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<ixxiee> help! I completely botched my nixos profiles
<ixxiee> all but one of them
<ixxiee> which only works with i3 which I don't know how to use
<goibhniu> ixxiee: eek!
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<trikl[m]> ixxiee: win key + enter will open a terminal
mudri has quit [(Ping timeout: 240 seconds)]
<trikl[m]> Win + d will prompt you for a program to execute
<mpickering> jailbreaking with ghcHEAD seems very broken
mrkgnao has quit [(Ping timeout: 248 seconds)]
<v0lZy> for win-d you have to have dmenu installed
<v0lZy> dmenu <3
<v0lZy> tweeked my config to start/stop vms from dmenu :D
<v0lZy> an suspend them and reboot them and such
<ixxiee> thanks trikl[m]
Neo-- has quit [(Ping timeout: 248 seconds)]
<ixxiee> 'Read-only file system: '/boot/efi/nixos/[hash]-linux-4.9.40-bzImage.efi
odi has joined #nixos
freeman42y[m] has joined #nixos
<sphalerite> otwieracz: it appears to support VMs so you should be able to just run the OVA or something? I don't know anything about smartos and there certainly isn't any official support for it, but it might well work
freeman42x[m] has quit [(Ping timeout: 248 seconds)]
kimbo_ has joined #nixos
<betaboon> hello #nixos. i have a question about PRs: if i want to provide a package (eg. marshmallow-sqlalchemy) which depends on another package (eg. sqlalchemy) and both are not yet available in nixpkgs, do i open ONE PR containing both packages as seperate commits, or do i open TWO PRs ?
takle has joined #nixos
kimbo has quit [(Ping timeout: 255 seconds)]
arximboldi has joined #nixos
ixxiie has joined #nixos
takle_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
__Sander__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/v54bR
<NixOS_GitHub> nix/master c9857ef Sergei Trofimovich: src/libmain/stack.cc: fix 'ucontext' usage on glibc-2.26...
<NixOS_GitHub> nix/master fe38fce Eelco Dolstra: Merge pull request #1545 from trofi/glibc-2.26...
NixOS_GitHub has left #nixos []
griff_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to 1.11-maintenance: https://git.io/v54bK
<NixOS_GitHub> nix/1.11-maintenance 41352d5 Sergei Trofimovich: src/libmain/stack.cc: fix 'ucontext' usage on glibc-2.26...
<NixOS_GitHub> nix/1.11-maintenance e8235c4 Eelco Dolstra: Bump version
NixOS_GitHub has left #nixos []
deltasquared has quit [(Quit: SEGMENTATION FAULT)]
<ixxiie> gchristensen: you around?
goibhniu has quit [(Quit: Leaving.)]
griff_ has quit [(Ping timeout: 255 seconds)]
jellowj has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v54NB
<NixOS_GitHub> nixpkgs/master a2794ee Ricardo Ardissone: openmw: 0.41 -> 0.42
<NixOS_GitHub> nixpkgs/master 84f52d2 Jörg Thalheim: Merge pull request #28807 from rardiol/openmw...
NixOS_GitHub has left #nixos []
goibhniu has joined #nixos
odi has quit [(Quit: Leaving)]
mrkgnao has joined #nixos
takle has joined #nixos
takle_ has quit [(Ping timeout: 248 seconds)]
stivo has quit [(Remote host closed the connection)]
takle_ has joined #nixos
stivo has joined #nixos
mudri has joined #nixos
ThatDocsLady has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
atondwal has quit [(Quit: leaving)]
atondwal has joined #nixos
atondwal has quit [(Client Quit)]
ixxiee has quit [(Quit: Page closed)]
atondwal has joined #nixos
elurin has quit [(Remote host closed the connection)]
<hyper_ch> hmm, anyone got a recommendation for a linux system that can be installed on a 4GB usb pendrive with a gui?
<Mic92> hyper_ch: live system?
* goibhniu recommends NixOS
<Mic92> or with persistence?
<Mic92> hyper_ch: you probably know about https://unetbootin.github.io/ already
sigmundv__ has quit [(Ping timeout: 240 seconds)]
18WAAE1V5 has joined #nixos
<18WAAE1V5> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v54xE
<18WAAE1V5> nixpkgs/master 9280937 Ignat Loskutov: grml-zsh-config: generalize support to unix systems
<18WAAE1V5> nixpkgs/master 7b6251b Jörg Thalheim: Merge pull request #28814 from loskutov/grml-zsh-unix...
18WAAE1V5 has left #nixos []
92AABTB1Q has joined #nixos
<92AABTB1Q> [nixpkgs] Mic92 closed pull request #28814: grml-zsh-config: generalize support to unix systems (master...grml-zsh-unix) https://git.io/v5478
92AABTB1Q has left #nixos []
freeman42x[m] has joined #nixos
freeman42y[m] has quit [(Ping timeout: 248 seconds)]
thblt has joined #nixos
elurin has joined #nixos
<Olgierd> hi, how do I install libc and stdc++ manpages?
vaibhavsagar_ has joined #nixos
vaibhavsagar__ has quit [(Read error: Connection reset by peer)]
<Olgierd> nix-env -i man-pages does not work, ie. there is still no manpage for dlopen for example
jellowj has quit [(Ping timeout: 260 seconds)]
<Olgierd> or for stdio.h
<thblt> Olgierd: I have man dlopen in man-pages.
pie__ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
<thblt> same for stdio
<Olgierd> hm
<Olgierd> ok, it has to be man stdio, not stdio.h
<thblt> For C++, it's std-man-pages I think
<Olgierd> thx
<Mic92> Olgierd: there is no explicit stdc++, clang/gcc will no, where to find it.
jellowj has joined #nixos
<Mic92> Olgierd: forgot, what I said, my brain silently discarded the manpages part.
Wizek has joined #nixos
<sphalerite> hyper_ch: if you just need a live system with no data persistence it's pretty easy to build a customised nixos image from a nixos configuration of your choice
<lewo> Hi, i'm trying to propagate the http_proxy env variable from the calling user to the builder environment but I'm not able to get this variable in the buildPhase. I defined the impureEnvVars attribute in the derivation. In the buildPhase environment, I only see the environment variable 'impureEnvVars'. Did I miss something?
<sphalerite> hyper_ch: if you want persistent data it's a little bit more complicated, I don't know how to do it for BIOS systems but for EFI I managed to get something working a while back and I can help you with that if you're interested
<lewo> Should it work with user defined buildPhase?
FRidh has joined #nixos
<sphalerite> lewo: I think it should, don't know why it wouldn't
simukis has joined #nixos
mguex has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
arximboldi has quit [(Quit: arximboldi)]
freeman42y[m] has joined #nixos
ison111 has quit [(Ping timeout: 248 seconds)]
freeman42x[m] has quit [(Read error: Connection reset by peer)]
freeman42x[m] has joined #nixos
griff_ has joined #nixos
freeman42y[m] has quit [(Ping timeout: 240 seconds)]
<lewo> sphalerite: I reproduce with this: export IMPURE=iop; nix-build -E 'with import <nixpkgs>{}; stdenv.mkDerivation {name="impure"; phases=["buildPhase"]; impureEnvVars=["IMPURE"]; buildPhase="env | grep IMPURE";}'
SuprDewd has quit [(Ping timeout: 276 seconds)]
<sphalerite> I don't know, sorry :(
<lewo> I would hope to see the value of IMPURE in the environment of the builder but it's not the case.
<lewo> sphalerite: ok thanks:)
mudri has quit [(Ping timeout: 248 seconds)]
<sphalerite> That's what I'd expect too. I don't know why it doesn't work
endformationage has quit [(Quit: WeeChat 1.9)]
griff_ has quit [(Ping timeout: 252 seconds)]
ShalokShalom_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v5Be2
<NixOS_GitHub> nixpkgs/master 0175612 Vladimír Čunát: chromium: try to hack around Hydra problems...
NixOS_GitHub has left #nixos []
peacememories has joined #nixos
ShalokShalom has quit [(Ping timeout: 240 seconds)]
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
jtojnar has joined #nixos
elurin has quit [(Remote host closed the connection)]
elurin has joined #nixos
arximboldi has joined #nixos
ShalokShalom_ is now known as ShalokShalom
takle_ has quit [(Remote host closed the connection)]
takle has joined #nixos
acarrico has joined #nixos
<gchristensen> hi ixxiie
<ixxiie> heya
<ixxiie> so this morning I managed to disable all but one of my generations
<ixxiie> by doing something very stupid probably
takle has quit [(Ping timeout: 246 seconds)]
<gchristensen> hehe ok
<ixxiie> oops
<gchristensen> ooh
<ixxiie> this happened without a configuration change, which kinda makes sense because older generations are effected
<gchristensen> sphalerite: ping? what exactly was the error you saw around booting?
<gchristensen> your wrappers seem ... safe ... not sure what happened ...
<sphalerite> gchristensen: for the nvidia thing?
<gchristensen> sphalerite: didn't your computer stop booting yesterday?
<sphalerite> oh yeah, that was because I was fiddling with the nvidia stuff and everything ended up locking up in the middle of a rebuild
<sphalerite> as a result, the kernel and initrd ended up not getting written to disk
<grahamc> Oh. Bummer :)
<sphalerite> Unsurprisingly, systemd-boot was not keen on booting empty files :)
<gchristensen> ixxiie: looking...
<ixxiie> thanks
<ixxiie> I think my issue is also with the boot sector or something
<sphalerite> ixxiie: any particular reason not to add nixos-config=/my/config/directory to NIX_PATH, rather than always copying the files?
<ben> Huh
<sphalerite> you may also want to do clean-system before update-system, so it doesn't generate boot entries for older systems which you then go on to delete
<ben> I just symlinked /etc/nixos to /my/config/directory
<sphalerite> or that!
Piece_Maker has joined #nixos
<ixxiie> sphalerite: I like opening my configuration files in an editor as my non-root user
<betaboon> did anyone see my question regarding PRs and has an answer for me ?
Acou_Bass has quit [(Ping timeout: 240 seconds)]
Piece_Maker is now known as Acou_Bass
<ben> ixxiie: nixos-rebuild will happily accept files owned by a non-root user
<sphalerite> ixxiie: you could even chown /etc/nixos to your user for that purpose
<ixxiie> okay
<ixxiie> good to know
<sphalerite> betaboon: I'd put it in a single PR personally. Both ways are acceptable I'm sure
<gchristensen> but sqlalchemy is definitely in nixpkgs betaboon
<betaboon> gchristensen: just an example ;)
<ixxiie> I was thinking that my approach would be nice if eventually I take my tools over to a system with multiple sudoers
<gchristensen> ok :)
<gchristensen> ixxiie: can you paste your hardware-configuration.nix?
<ixxiie> yeah, hold on - ill put it in the issue
NightTrain has joined #nixos
<sphalerite> gchristensen: also I tried debian on a USB stick with nvidia/bumblebee. Same lockup issue... Maybe there's a hardware difference between our machines
<gchristensen> :/
<sphalerite> Might see if it also occurs with Fedora because they tend to be bleeding-edge, and Ubuntu because it's supported by Dell for some other machines
<ixxiie> okay gchristensen - I added it on the issue thread
<gchristensen> ixxiie: ok, is /boot mounted?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/v5BUl
<NixOS_GitHub> nixpkgs/master 52eb0e0 Gabriel Ebner: gnome3.dconf-editor: include gsettings_desktop_schemas
NixOS_GitHub has left #nixos []
<ixxiie> seems to be gchristensen, I can find it just find in my file browser
<betaboon> sphalerite: how about a service and its dependencies? 1PR or seperate PRs ? XD
<sphalerite> I'd also put that in one
<gchristensen> ixxiie: sometimes it gets created when it is unmounted :) paste the output of `mount`, or: curl -F 'f:1=<-' ix.io
<gchristensen> mount | curl -F 'f:1=<-' ix.io
<sphalerite> it just kind of sucks to manage interdependent PRs
<gchristensen> "/dev/nvme0n1p1 on /boot type vfat (ro,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)"
<betaboon> sphalerite: thanks for the opinion :)
<ixxiie> gchristensen: which means? xD
<sphalerite> it's mounted read-only
<gchristensen> ixxiie: does this show anything: dmesg | grep nvme0n1p1
<gchristensen> ixxiie: its mounted read only, and probably because of errors :) `errors=remount-ro`
<ixxiie> yeah you are right
<gchristensen> nice
<ixxiie> ill run fsck now?
<gchristensen> sudo umount/boot; sudo fsck /dev/nvme0n1p1
<ixxiie> dirty bit
<ixxiie> sounds kinky but needs to be removed I presume
<woffs> never hat linux boot on vfat
<woffs> had
phreedom has quit [(Ping timeout: 252 seconds)]
<gchristensen> EFI has to be vfat I think?
<ixxiie> yeah
<ixxiie> it does
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm opened pull request #28818: terraform providers list (master...terraform-update-all) https://git.io/v5BUA
NixOS_GitHub has left #nixos []
<ixxiie> gchristensen: I followed recommended corrections
<ixxiie> now I remount /boot?
<gchristensen> yep
takle has joined #nixos
<gchristensen> and then you should be good to go
<ixxiie> wooot
<ixxiie> thank you so much gchristensen
<ixxiie> saved the day again
<gchristensen> <3 you're welcome, I'm glad to help :)
<gchristensen> ixxiie: and I'm glad it is working! can you summarize your problem, how we diagnosed it, and how you solved it on that issue, then close it?
iyzsong has joined #nixos
<ixxiie> was just about to do this
<ixxiie> :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthiasbeyer opened pull request #28819: svgbobrus: init at 2017-08-29 (master...package-svgbobrus) https://git.io/v5BTB
NixOS_GitHub has left #nixos []
<gchristensen> <3
griff_ has joined #nixos
takle_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
griff_ has quit [(Ping timeout: 240 seconds)]
Ivanych has joined #nixos
phreedom has joined #nixos
freeman42y[m] has joined #nixos
dannyg has joined #nixos
freeman42x[m] has quit [(Ping timeout: 240 seconds)]
Ivanych has quit [(Ping timeout: 248 seconds)]
freeman42x[m] has joined #nixos
<Mic92> Sometimes I wish the issue tracker would be more organized like StackOverflow, when common questions are answered
<ixxiie> gchristensen: any idea what I could have done to cause this in the first place?
<ixxiie> you seem to think its not my scripts
<ixxiie> one thing that happened (and happens often in my system) is the rebuild blackscreened, and it could be I too quickly went for the hard reboot in the middle of an operation
freeman42y[m] has quit [(Ping timeout: 240 seconds)]
<gchristensen> that would set the dirty bit :)
<ixxiie> alrighty
<ixxiie> I wrote it all up now
<ixxiie> I wonder if theres a way to reduce the blackscreening in rebuilds
<ixxiie> Its not supposed to happen so often right?
<gchristensen> I've never seen that happen :?
<gchristensen> which I think answers your question
erictapen has joined #nixos
<ixxiie> yeah
<ixxiie> I guess I should start an issue
<michalrus> Hey, I see in journalctl, that GDM is trying to start using Wayland, and fails.
<michalrus> How can I switch back to Xorg?
<michalrus> (On 17.03)
pxc has joined #nixos
freeman42x has quit [(Ping timeout: 264 seconds)]
cheshircat has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
cheshircat has joined #nixos
NightTrain has quit [(Quit: Lost terminal)]
pxc has quit [(Ping timeout: 240 seconds)]
ixxiie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
ThatDocsLady is now known as ThatDocsLady_afk
jellowj has quit [(Ping timeout: 248 seconds)]
pareidolia has quit [(Quit: ZNC - http://znc.in)]
faffolter has joined #nixos
klaas_ has joined #nixos
faffolter has quit [(Remote host closed the connection)]
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
ciil has joined #nixos
takle has joined #nixos
<joepie91> gchristensen: if you happen to see ixxiie again, should probably tell them to do a verify/repair on their store; it's possible that something in there is making things blackscreen
<gchristensen> good choice
takle_ has quit [(Ping timeout: 248 seconds)]
<joepie91> I had some /really/ weird rebuild issues that were caused by that
<joepie91> not blackscreens, but services breaking and such
<joepie91> had to do with my GPU writing junk to my RAM
<joepie91> which broke a build process at one time
<joepie91> a repair rebuilt the affected bits and pieces, and it all magically worked again\
FRidh has joined #nixos
freeman42y[m] has joined #nixos
freeman42x[m] has quit [(Read error: Connection reset by peer)]
freeman42x[m] has joined #nixos
reinzelmann has quit [(Ping timeout: 246 seconds)]
freeman42y[m] has quit [(Read error: Connection reset by peer)]
Neo-- has joined #nixos
jtojnar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rvolosatovs opened pull request #28821: mopidy-iris: 3.2.0 -> 3.3.3 (master...update/mopidy-iris) https://git.io/v5BqL
NixOS_GitHub has left #nixos []
klaas_ has quit [(Quit: Page closed)]
reinzelmann has joined #nixos
griff_ has joined #nixos
freeman42y[m] has joined #nixos
tmaekawa has joined #nixos
freeman42z[m] has joined #nixos
freeman42x[m] has quit [(Ping timeout: 240 seconds)]
faffolter has quit [(Ping timeout: 248 seconds)]
Neo-- has quit [(Remote host closed the connection)]
griff_ has quit [(Ping timeout: 240 seconds)]
Neo-- has joined #nixos
tmaekawa has quit [(Client Quit)]
<sphalerite> How does python consistently manage to write to its nix store path
freeman42y[m] has quit [(Ping timeout: 260 seconds)]
<sphalerite> isn't it meant to be mounted read-only and stuff?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler opened pull request #28823: crda: fix build with gcc6 (master...crda) https://git.io/v5BYT
NixOS_GitHub has left #nixos []
jellowj has joined #nixos
<goibhniu> sphalerite: yeah, that shouldn't be possible ... what's happening?
<sphalerite> Good question, but almost every time I run nix-store --verify --check-contents it finds that python3 has been modified
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
acarrico has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5BYX
<NixOS_GitHub> nixpkgs/master 9464906 Roman Volosatovs: mopidy-iris: 3.2.0 -> 3.3.3
<NixOS_GitHub> nixpkgs/master c02ed7d Jörg Thalheim: Merge pull request #28821 from rvolosatovs/update/mopidy-iris...
NixOS_GitHub has left #nixos []
jtojnar has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5BYp
<NixOS_GitHub> nixpkgs/master e92f5b5 Samuel Leathers: crda: fix build with gcc6
<NixOS_GitHub> nixpkgs/master 4ae12f0 Jörg Thalheim: Merge pull request #28823 from disassembler/crda...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5BOf
<NixOS_GitHub> nixpkgs/release-17.09 39099cd Samuel Leathers: crda: fix build with gcc6...
NixOS_GitHub has left #nixos []
Mic92 has quit [(Ping timeout: 246 seconds)]
mudri has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
jtojnar has joined #nixos
griff_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mguentner opened pull request #28824: pybitmessage: 0.4.4 -> 0.6.2 (master...pybitmessage) https://git.io/v5BOn
NixOS_GitHub has left #nixos []
jellowj has quit [(Ping timeout: 240 seconds)]
jellowj has joined #nixos
acarrico has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler opened pull request #28825: crrcsim: build with gcc6 (master...crrcsim) https://git.io/v5BOb
NixOS_GitHub has left #nixos []
jellowj has quit [(Ping timeout: 252 seconds)]
Mic92 has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
FRidh has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28824: pybitmessage: 0.4.4 -> 0.6.2 (master...pybitmessage) https://git.io/v5BOn
NixOS_GitHub has left #nixos []
<mguex> Mic92: thx
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5Bs0
<NixOS_GitHub> nixpkgs/master 6bc775c Samuel Leathers: crrcsim: build with gcc6
<NixOS_GitHub> nixpkgs/master b2e7e23 Jörg Thalheim: Merge pull request #28825 from disassembler/crrcsim...
NixOS_GitHub has left #nixos []
bennofs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5Bsw
<NixOS_GitHub> nixpkgs/release-17.09 37568fd Samuel Leathers: crrcsim: build with gcc6...
NixOS_GitHub has left #nixos []
<disasm> yes, thanks Mic92 for all the merges!!!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to release-17.09: https://git.io/v5Bs9
<NixOS_GitHub> nixpkgs/release-17.09 cbde9da shak-mar: pybitmessage: 0.4.4 -> 0.6.2...
<NixOS_GitHub> nixpkgs/release-17.09 543f0f7 Maximilian Güntner: pybitmessage: replace find_library() calls with paths...
NixOS_GitHub has left #nixos []
<mguex> 114411 commits
jtojnar has quit [(Remote host closed the connection)]
takle has joined #nixos
<Mic92> lets stop adding commits
<Mic92> it's perfect
ryantrinkle has quit [(Ping timeout: 240 seconds)]
Jackneill has joined #nixos
jtojnar has joined #nixos
Jackneillll has quit [(Ping timeout: 255 seconds)]
freeman42x[m] has joined #nixos
stivo has quit [(Quit: Leaving)]
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #28826: Add dleyna (master...dleyna) https://git.io/v5BZv
NixOS_GitHub has left #nixos []
ThatDocsLady_afk is now known as ThatDocsLady
freeman42z[m] has quit [(Ping timeout: 248 seconds)]
takle has quit [(Read error: Connection reset by peer)]
ixxie has joined #nixos
<betaboon> sphalerite: I'm just preparing several PRs (as you might have already picked up). now I'm feeling stupid preparing individual PRs for several python-packages. is it accepted practice to create a single PR for a collection of pythonPackages ?
Jackneilll has joined #nixos
<gchristensen> betaboon: it is easier to review & merge PRs with just one
takle has joined #nixos
<betaboon> gchristensen: thats what i thought :D
<Mic92> betaboon: if they are trivial, one pr might be ok
<betaboon> still trying to pickup your contribution-culture
Jackneill has quit [(Ping timeout: 240 seconds)]
<simpson> betaboon: Indeed, if you are adding one package but have to craft several expressions, it is accepted practice to introduce all of the commits in a single PR.
<Mic92> betaboon: here for example having multiple packages is ok: https://github.com/NixOS/nixpkgs/pull/28793 however if you update python packages, which trigger lots of rebuild, it is better not to put to many into one.
jellowj has joined #nixos
<simpson> Or another example PR: https://github.com/NixOS/nixpkgs/pull/26923
Rotaerk has quit [(Quit: Leaving)]
<betaboon> i think i will go with the following practice for now: one PR for each pythonPackage that is not a dependency of a package in the PR. multiple pythonPackages in a single PR only if they are direct dependencies of a package in the PR. sounds acceptable ?
<simpson> Sure.
bbarker has joined #nixos
<betaboon> i prefer having small, mantra-like instructions in my head XD
<bbarker> This is probably not a nixos-specific question, but how is systemd started on nixos (e.g., is it specified in a grub config file somewhere?)
<ixxie> betaboon: the make it this: 'make thy PRs closed under depedency.'
<gchristensen> bbarker: stage one is at https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/stage-1-init.sh and grub kicks off stage 1
<betaboon> ixxie: that's pretty much what is in my head now xD
<gchristensen> ixxie: joepie91 had the good recommendation of doing a nix-store --verify --check-contents
<bbarker> @gchristensen thanks!
<gchristensen> bbarker: you're welcome, good luck :)
<ixxie> gchristensen: in the context of my issue earlier?
<gchristensen> ixxie: yeah, the black-screening
<ixxie> aah cool
<ixxie> okay running it now
sellout- has quit [(Quit: Leaving.)]
<goibhniu> ixxie: BTW, I noticed a typo in your config ... kvm_intel
<Infinisil> The program I'm currently packaging has all of its dependencies as git submodules
<Infinisil> Not sure what to think of that regarding nix interaction
<ixxie> goibhniu: well that explains a lot
<ixxie> goibhniu: I actually recently removed it just because it didn't seem to work
<ixxie> its weird that it built at all
goibhniu1 has joined #nixos
goibhniu has quit [(Ping timeout: 260 seconds)]
romildo has joined #nixos
gnuhurd has joined #nixos
<romildo> What is the difference between (stdenv.lib.getLib gnome3.dconf) and gnome3.dconf.lib? Some nix expressions use the first, and others use the later.
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Neo-- has quit [(Ping timeout: 252 seconds)]
phdoerfler has joined #nixos
<joepie91> seems getLib is a more robust implementation
<joepie91> with fallback if there is no .lib and such
<ixxie> gchristensen, joepie91 - nix-store --verify --check-contents didn't really yield anything; does it normally say something when it catches an error?
<joepie91> ixxie: yeah, it'll yell at you if something's wrong
<ixxie> alright, then I am clear on that front
<ixxie> but good to know
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mpickering opened pull request #28827: ghcHEAD updates (master...ghc-head-updates) https://git.io/v5BWZ
NixOS_GitHub has left #nixos []
<ixxie> does that check ever get run by something else in the course of regular system use?
takle has quit [(Read error: No route to host)]
phdoerfler has quit [(Ping timeout: 252 seconds)]
<romildo> joepie91, thanks for pointing to the definition of getLib. So I suppose it would be recommended to use getLib.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #28828: ktorrent: 5.0.1 -> 5.1.0 (master...u/kt5) https://git.io/v5Ble
NixOS_GitHub has left #nixos []
djbeau has joined #nixos
<gchristensen> ixxie: not really
<joepie91> romildo: from what I can see, yes, I think that's what you're supposed to use. I can't speak authoratively, though :0
<joepie91> :) *
takle has joined #nixos
goibhniu1 is now known as goibhniu
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28829: pythonPackages.aioamqp: init at 0.10.0 (master...pr-aioamqp) https://git.io/v5BlX
NixOS_GitHub has left #nixos []
dywedir has quit [(Remote host closed the connection)]
freeman42x has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28830: pythonPackages.asana: init at 0.6.2 (master...pr-asana) https://git.io/v5Blj
NixOS_GitHub has left #nixos []
dieggsy has joined #nixos
freeman42y has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28831: pythonPackages.diff-match-patch: init at 20121119 (master...pr-diff-match-patch) https://git.io/v5B8C
NixOS_GitHub has left #nixos []
dannyg has quit [(Quit: dannyg)]
phdoerfler has joined #nixos
phdoerfler has quit [(Client Quit)]
<hodapp> what's a good way of writing expressions for something like https://github.com/tensorflow/models which is a single git repo that has a variety of modules inside?
erictapen has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28832: pythonPackages.django-ipware: init at 1.1.6 (master...pr-django-ipware) https://git.io/v5B8V
NixOS_GitHub has left #nixos []
freeman42x has quit [(Ping timeout: 252 seconds)]
nslqqq has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28834: pythonPackages.django-jinja: init at 2.2.2 (master...pr-django-jinja) https://git.io/v5B4I
NixOS_GitHub has left #nixos []
faffolter has quit [(Ping timeout: 255 seconds)]
phdoerfler has joined #nixos
freeman42y has quit [(Ping timeout: 252 seconds)]
acarrico has quit [(Ping timeout: 248 seconds)]
nix-gsc-io`bot has joined #nixos
ryantrinkle has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/39099cd9ae (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
Neo-- has joined #nixos
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28835: pythonPackages.django-pglocks: init at 1.0.2 (master...pr-django-pglocks) https://git.io/v5B4o
NixOS_GitHub has left #nixos []
faffolter has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28836: pythonPackages.django-picklefield: init at 0.3.2 (master...pr-django-picklefield) https://git.io/v5B49
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28837: pythonPackages.django-sites: init at 0.9 (master...pr-django-sites) https://git.io/v5B4A
NixOS_GitHub has left #nixos []
ixxie has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28838: pythonPackages.django-sr: init at 0.0.4 (master...pr-django-sr) https://git.io/v5BBk
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28839: pythonPackages.djmail: init at 1.0.1 (master...pr-djmail) https://git.io/v5BBG
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #28840: uget: 2.0.8 -> 2.0.10 (master...upd.uget) https://git.io/v5BBC
NixOS_GitHub has left #nixos []
<tokudan[m]> is there a way to wrap the build process of a package into a buildFHSUserEnv?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28841: pythonPackages.easy-thumbnails: init at 2.4.1 (master...pr-easy-thumbnails) https://git.io/v5BBW
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 3 new commits to master: https://git.io/v5BB8
<NixOS_GitHub> nixpkgs/master d13f7c5 Matthew Pickering: Use older version of jailbreak-cabal with ghcHEAD...
<NixOS_GitHub> nixpkgs/master d1ce5b6 Matthew Pickering: ghcHEAD: Add new boot packages to configuration file
<NixOS_GitHub> nixpkgs/master 88bb678 Peter Simons: Merge pull request #28827 from mpickering/ghc-head-updates...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28842: pythonPackages.flask-mail: init at 0.9.1 (master...pr-flask-mail) https://git.io/v5BBz
NixOS_GitHub has left #nixos []
ison111 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28843: pythonPackages.flask-marshmallow: init at 2.13.5 (+ dependencies) (master...pr-flask-marshmallow) https://git.io/v5BBD
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28844: pythonPackages.fn: init at 0.4.3 (master...pr-fn) https://git.io/v5BBH
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28845: pythonPackages.premailer: init at 3.0.1 (master...pr-premailer) https://git.io/v5BBh
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28846: pythonPackages.psd-tools: init at 1.4 (master...pr-psd-tools) https://git.io/v5BRL
NixOS_GitHub has left #nixos []
<gchristensen> jeepers betaboon :o
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<betaboon> sorry XD
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28847: pythonPackages.pyjwkest: init at 1.3.2 (+dependency cryptodomex 3.4.5) (master...pr-pyjwkest) https://git.io/v5BR0
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28848: pythonPackages.django-sampledata-helper: init at 0.4.1 (+dependency sampledata 0.3.7) (master...pr-sampledata-helper) https://git.io/v5BR1
NixOS_GitHub has left #nixos []
nslqqq has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28849: pythonPackages.serpy: init at 0.1.1 (master...pr-serpy) https://git.io/v5BRM
NixOS_GitHub has left #nixos []
bennofs has quit [(Ping timeout: 264 seconds)]
phdoerfler has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28850: duplicityBackup module: init at v1.3.0 (master...pr-duplicity-backup) https://git.io/v5B0e
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28851: gitea module: init at 1.1.3 (master...pr-gitea) https://git.io/v5B0L
NixOS_GitHub has left #nixos []
<betaboon> now I'm done
romildo has quit [(Quit: Leaving)]
<disasm> nice betaboon :)
sellout- has joined #nixos
ixxie has joined #nixos
erasmas has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Balletie opened pull request #28852: rtags: Fix configure phase errors (master...fix/rtags-configure-prefix) https://git.io/v5BuT
NixOS_GitHub has left #nixos []
Sonarpulse has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #28818: terraform providers list (master...terraform-update-all) https://git.io/v5BUA
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler opened pull request #28853: Espeak gcc6 build fixes (master...espeak) https://git.io/v5Bui
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar created haskell-dwarf-debugging (+1 new commit): https://git.io/v5Buh
<NixOS_GitHub> nixpkgs/haskell-dwarf-debugging 8bde7c7 Domen Kožar: haskell: add combinator to enable DWARF debugging...
NixOS_GitHub has left #nixos []
v0lZy has quit [(Ping timeout: 264 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/v5Bzq
<NixOS_GitHub> nix/master 7a108d9 Eelco Dolstra: Fix verbosity level for nix build --dry-run
<NixOS_GitHub> nix/master 8215b75 Eelco Dolstra: Abort curl downloads if there is no progress for 5 minutes...
NixOS_GitHub has left #nixos []
<gchristensen> whoa
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar opened pull request #28854: haskell: add combinator to enable DWARF debugging (master...haskell-dwarf-debugging) https://git.io/v5BzC
NixOS_GitHub has left #nixos []
freusque has quit [(Quit: WeeChat 1.7.1)]
nh2 has joined #nixos
acertain has joined #nixos
<acertain> how do i do like `nix-env "<nixos-config>" -iA boot.kernelPackages.kernel`?
<acertain> sorry, nix-shell
pxc has joined #nixos
<clever> nixos-config is just a path to the configuration.nix, it cant be ran by nix-env or nix-shell
<clever> you have to run <nixpkgs/nixos> and that will then load the config
hotfuzz has quit [(Quit: WeeChat 1.7.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar force-pushed haskell-dwarf-debugging from 8bde7c7 to d6c1b46: https://git.io/v5BzM
<NixOS_GitHub> nixpkgs/haskell-dwarf-debugging d6c1b46 Domen Kožar: haskell: add combinator to enable DWARF debugging...
NixOS_GitHub has left #nixos []
<clever> [root@amd-nixos:~]# nix-shell -A config.boot.kernelPackages.kernel '<nixpkgs/nixos>'
<clever> this appears to work
pxc has quit [(Ping timeout: 264 seconds)]
leat has quit [(Quit: leat)]
<dieggsy> Is there a starndard/recomended way of saving a list of installed packages to install on another computer (both not nixos)?
faffolter has quit [(Ping timeout: 255 seconds)]
kiloreux has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
ertes-w has quit [(Ping timeout: 246 seconds)]
pie_ has joined #nixos
python476 has joined #nixos
freusque has joined #nixos
<ixxie> dieggsy: how about Nix?
<dieggsy> ixxie: prefix my question with "Using the Nix package manager (which i'm already using ) ... "
phdoerfler has joined #nixos
<goibhniu> dieggsy: yep, you can use a nix expression to define a set of packages to install
<dieggsy> goibhniu: can you specify a bit more or point me somewhere that shows me how?
<betaboon> how are people handling basic http auth for packages pulled from a private git repo (aside from putting username and pw in the url) =
eacameron has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
<goibhniu> dieggsy: https://nixos.org/nix/manual/#ssec-relnotes-1.6.0 explains it with examples
jtojnar has joined #nixos
AluisioASG has quit [(Remote host closed the connection)]
AluisioASG has joined #nixos
<dieggsy> goibhniu: oooh
<dieggsy> thanks :)
<vaibhavsagar_> hi, I'm trying to get to the bottom of this IHaskell+Nix bug: https://github.com/gibiansky/IHaskell/issues/728
<goibhniu> yw!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/v5Ba8
<NixOS_GitHub> nixpkgs/master 6c13647 Samuel Leathers: espeak-classic: fix build with gcc6
<NixOS_GitHub> nixpkgs/master b2fd2a8 Samuel Leathers: espeakedit: fix build with gcc6
<NixOS_GitHub> nixpkgs/master 6443915 Jörg Thalheim: Merge pull request #28853 from disassembler/espeak...
NixOS_GitHub has left #nixos []
acarrico has joined #nixos
<hodapp> I stuck distinctive 'echo' statements in postPatch, and I definitely don't see them anywhere when I try to build this expression, based on buildPythonPackage... any hints on what's going on here?
<vaibhavsagar_> it looks like it has something to do with linkModules in GHC: https://github.com/ghc/ghc/blob/c13720c8c6047844f659ad4ce684946b80c99bee/compiler/ghci/Linker.hs#L778
<clever> hodapp: can you gist your entire nix expression?
<betaboon> can anyone explain, why .version has been changed to 18.03 on master, even tho the next scheduled release is 17.09?
<hodapp> I may just need to point to the repo
<clever> hodapp: the patchPhase is responsible for running the post-patch hook
<dieggsy> Is there a way to run a nix installation only up to the configure phase? Or, for example, store output of just the configure phase to a file
<clever> hodapp: line 43-52 overwrites that, so you loose pre/post patch
eacameron has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] danielfullmer opened pull request #28855: john: workaroud for build failure (master...john-compile-fix) https://git.io/v5Ba5
NixOS_GitHub has left #nixos []
<goibhniu> dieggsy: you can either use nix-shell and run each phase manually, or use nix-build and stick in an "exit 1" where you want it to stop
<hodapp> clever: oh. thanks.
<clever> hodapp: and also, the line 52 alone sets it to an empty string, causing the same issue (in the false case)
Neo-- has quit [(Ping timeout: 240 seconds)]
<dieggsy> goibhniu: ah. I've only ever done nix-shell -
<dieggsy> nix-shell -p
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #28856: gnome3.at-spi2-core: fix service not found error (master...at-spi2-core) https://git.io/v5BV9
NixOS_GitHub has left #nixos []
pie_ has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/543f0f780c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
bennofs has joined #nixos
nix-gsc-io`bot has quit [(Client Quit)]
Neo-- has joined #nixos
LysergicDreams has quit [(Ping timeout: 240 seconds)]
<hodapp> are there any packages in nixpkgs I can look at which do a "normal" build, but starting from a subdirectory of the repo they check out?
<disasm> hodapp: I don't know if it's the best way to go, but I've seen a number of packages I've been fixing for gcc6 build compatibility that have a cd to the starting dir in the configure phase
LysergicDreams has joined #nixos
<sphalerite> hodapp: not sure of any examples but you can just do src = "${src}/subdir"; if you bind src to a name with let
<sphalerite> oh yeah, but that only works in cases where the fetcher produces a directory and not a tarball
arximboldi has quit [(Quit: arximboldi)]
<sphalerite> otherwise I'd put cd subdir in postUnpack or postPatch (depending on whether you have any patches and where they want to be applied from)
Neo-- has quit [(Ping timeout: 252 seconds)]
digitus has joined #nixos
<disasm> I like sphalerite's suggestion much better :)
<sphalerite> as disasm said
<disasm> configurePhase is a horrible spot
<disasm> and some of them just change the buildPhase to make -C <dir> as well :)
ixxie has quit [(Ping timeout: 240 seconds)]
ison111 has quit [(Ping timeout: 240 seconds)]
ixxie has joined #nixos
<hodapp> I always screw this up; what can I actually 'cd' to from postUnpack?
<disasm> hodapp: the subdirectory you want to start the build in
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to master: https://git.io/v5BKl
<NixOS_GitHub> nixpkgs/master 7f99876 aszlig: conky: Don't enable nvidiaSupport by default...
NixOS_GitHub has left #nixos []
<hodapp> oh, I just needed to prepend $src to it or something
<hodapp> but then I'm just getting "/nix/store/8x163pkhv83frdh1ng9sdkq2b9nvspg6-findutils-4.6.0/bin/find: 'models-09a32f32905c47b7c7453d6438b7c3cf758f4675-src': No such file or directory" after the note of where the sourceRoot is
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5BKD
<NixOS_GitHub> nixpkgs/master 86587ea wisut hantanong: nodePackages.live-server : init at 1.2.0...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28813: nodePackages.live-server : init at 1.2.0 (master...add/nodePackages.live-server) https://git.io/v54QX
NixOS_GitHub has left #nixos []
<sphalerite> hodapp: you shouldn't need to orepwnd anything to it
<hodapp> orepwnd?
<sphalerite> UnpackPhase is meant to copy all the source stuff to the working directory
erictapen has quit [(Ping timeout: 248 seconds)]
nh2 has quit [(Ping timeout: 252 seconds)]
<sphalerite> Ignore typos, I'm on my phone now :p
<hodapp> it starts me out one directory above $src, from what I can tell
aneeshusa has joined #nixos
leat has joined #nixos
<hodapp> so I just get "/nix/store/qjm9lnz6rag5dilyv39li8kxvflz4awa-stdenv/setup: line 73: cd: slim: No such file or directory" if I try to 'cd' normally
<hodapp> 'slim' doesn't exist relative to working directory, $src/slim does
<hodapp> but I have to run, I'll look at this later
<sphalerite> It should be in /tmp/nix-build-stuff
<sphalerite> Try pwd and ls to check
djbeau has quit [(Ping timeout: 248 seconds)]
<Infinisil> $src is a read-only directory where the unmodified src from the attributes is. $sourceRoot is a writable copy of that (somewhere is /tmp)
dieggsy has quit [(Quit: ERC (IRC client for Emacs 26.0.50))]
aneeshusa has quit [(Quit: WeeChat 1.9)]
jellowj has quit [(Ping timeout: 240 seconds)]
civodul has quit [(Remote host closed the connection)]
sellout- has quit [(Quit: Leaving.)]
nh2 has joined #nixos
djbeau has joined #nixos
djbeau has quit [(Client Quit)]
georgiy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aske opened pull request #28857: chromium: 60.0.3112.90 -> 60.0.3112.113 (master...chromium-upd) https://git.io/v5BPX
NixOS_GitHub has left #nixos []
sellout- has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to master: https://git.io/v5BXL
<NixOS_GitHub> nixpkgs/master 799435b aszlig: nixos/deluge: Fix deluge package attribute...
NixOS_GitHub has left #nixos []
Neo-- has joined #nixos
otwieracz has quit [(Ping timeout: 248 seconds)]
hotfuzz has joined #nixos
arximboldi has joined #nixos
lsix has quit [(Remote host closed the connection)]
acertain has quit [(Quit: WeeChat 1.9)]
<domenkozar> omg nixpkgs-unstable should advance now
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to release-17.09: https://git.io/v5B1S
<NixOS_GitHub> nixpkgs/release-17.09 551b406 Vladimír Čunát: chromium: try to hack around Hydra problems...
NixOS_GitHub has left #nixos []
phreedom has quit [(Ping timeout: 240 seconds)]
<sphalerite> quite probably
<FRidh> betaboon: could you open a single PR with all Python packages, but as separate commits?
<betaboon> FRidh: sure thing. just give me some time, currently fixing up review notes on the gitea PR. I will highlight you here if thats done?
mudri has quit [(Ping timeout: 246 seconds)]
goibhniu has quit [(Ping timeout: 240 seconds)]
<jtojnar> why do we have gnome-3/3.24 when we only support single version?
pie_ has joined #nixos
freeman42x has joined #nixos
zeus_ has joined #nixos
Arcaelyx has joined #nixos
__Sander__ has quit [(Quit: Konversation terminated!)]
freeman42y[m] has joined #nixos
<ixxie> anybody know if dyrnade or lheckemann correspond to some other nicknames here on IRC?
zraexy has joined #nixos
<ixxie> (github UIDs)
freeman42x[m] has quit [(Ping timeout: 240 seconds)]
sary has quit [(Ping timeout: 252 seconds)]
mfiano has joined #nixos
djbeau has joined #nixos
<disasm> I know lheckemann does, but can't remember who
<jtojnar> ixxie: isn’t sphalerite lheckemann?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tari opened pull request #28858: Flexget: 2.10.40 -> 2.10.83 (master...flexget-1709) https://git.io/v5Byq
NixOS_GitHub has left #nixos []
<disasm> ixxie: lheckemann is sphalerite
erictapen has joined #nixos
<ixxie> cheers
<gchristensen> teozkr: you around now? :)
jellowj has joined #nixos
<ixxie> sphalerite: chrome-gnome-shell isn't building on my system, I was wondering if I could provide helpful information in debugging the issue
<nixy> What's a good way to determine the version of NixOS by looking at the filesystem?
<sphalerite> sorry yes that's me :) but I don't really know much about GNOME. sorry
<nixy> I thought about looking for system.stateVersion, but that seems like it isn't right
<sphalerite> nixy: readlink -f /run/current-system
<ixxie> sphalerite: oh so you were just squashing stuff together there
<ixxie> sphalerite: do you know who dyrnade is on IRC?
<sphalerite> well I started doing the gnome upgrade but didn't finish it
<sphalerite> nope sorry
<teozkr> gchristensen: not right now :/
<gchristensen> teozkr: no worries! can ping me when you have a bit of time?
* dtzWill wonders if we can/should have (optional?) github <-> irc mapping in maintainers.nix
<teozkr> sure
<gchristensen> thank you!
endformationage has joined #nixos
<ixxie> thanks anyway sphalerite
<dtzWill> since folks seem active-ish--should 17.09's manual still mention grsecurity at any length other than perhaps a note saying why it's not supported? We currently have such a note but the rest of it seems like it should be culled?
phdoerfler has quit [(Quit: Leaving.)]
<dtzWill> if that sounds good I can file an issue on the subject or something but wasn't sure if there was a reason to keep it
<gchristensen> dtzWill: how much else does it say? probably should go
iyzsong has quit [(Ping timeout: 252 seconds)]
sary has joined #nixos
<mfiano> Hello. I'm debating on giving NixOS another try. It was very unstable a year ago preventing me from building a system.
<dtzWill> gchristensen: AFAICT it says everything is used to from 17.03 (I checked with my 17.09 tree): https://nixos.org/nixos/manual/index.html#sec-grsecurity just think minor detail hasn't been dealt with yet
<dtzWill> okay thanks
nh2 has quit [(Ping timeout: 264 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/86587ea95b (from 63 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<dtzWill> oh maybe I'm building it wrong, will look into that before filing issue :)
<maurer> Hey, anyone have reccomendations for a markdown editor with github-compatible preview that is in nixpkgs?
<maurer> The first one I tried has a bunch of hardcoded paths, and the second one is closed source
<maurer> (and so it'd be a pita to package either)
<maurer> (amusingly, the second one has the audacity to sport a GPLv3 LICENSE, and then note in the README that he's keeping the source closed until 1.0)
<dtzWill> o_O
<LnL> lol
<ixxie> maurer: VSCode
<maurer> I mean, I'm not super interested in either of these tools though, I just want to be able to see how my attempts at github markdown will look before pushing
m0rphism has quit [(Quit: WeeChat 1.9)]
<maurer> ixxie: Oh, really? I'll check it out
<ixxie> maurer: apparently ctrl+shift+V gives you a preview
<maurer> ixxie: Does it say somewhere that it's the github flavour?
<ixxie> but the syntax highlighting (which already is kinda a preview) is enough for me normally
<ixxie> maurer: I don't think they different *that* much
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tari closed pull request #28858: Flexget: 2.10.40 -> 2.10.83 (master...flexget-1709) https://git.io/v5Byq
NixOS_GitHub has left #nixos []
<ixxie> but honestly I am not sure
<nixy> sphalerite: Thanks for the tip. Think I am going to end up scanning /etc/os-release, it seems a little neater
otwieracz has joined #nixos
<maurer> "No, VS Code targets the CommonMark Markdown specification using the markdown-it library. GitHub is moving toward the CommonMark specification which you can read about in this update."
<maurer> Eh, I guess it's close enough for now
pie_ has quit [(Remote host closed the connection)]
<maurer> I've been bitten by "github does it differently" in the past
<maurer> which is why I was looking for one that previewed github-markdown
pie_ has joined #nixos
<ixxie> apparently theres a plugin for that ^^
<ixxie> looks recently updated even
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
<maurer> ixxie: Thanks, it seems to work :)
<ixxie> np
Neo-- has quit [(Ping timeout: 248 seconds)]
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
<betaboon> i hate the implicit container-name-length-limit ...
nh2 has joined #nixos
kimbo has joined #nixos
mrkgnao has quit [(Quit: WeeChat 1.7.1)]
mudri has joined #nixos
kimbo_ has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #28860: clang 3.4: Disable hardening bits (#28543) (master...fix/clang_34_hardening) https://git.io/v5BQD
NixOS_GitHub has left #nixos []
<dtz> i recently discovered nixos-container and was @.@ surprised at how awesome it is
<dtz> i was || <-- this close to making something similar (but worse :P, and I'm sure using the same underlying hard work that makes nixos-container possible) for some benchmarking
<dtz> but was like oh yay now I can just point this at my tree and say "make me a memcached container" and away it goes haha
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5B72
<NixOS_GitHub> nixpkgs/master 8f932af Jörg Thalheim: python.pkgs.requests-oauthlib: fix source hash...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5B7w
<NixOS_GitHub> nixpkgs/release-17.09 cb50802 Jörg Thalheim: python.pkgs.requests-oauthlib: fix source hash...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon opened pull request #28861: A Collection of new python packages (master...pr-betaboon-pythonpackages) https://git.io/v5B5m
NixOS_GitHub has left #nixos []
<dtzWill> nix's awesomeness provides for all needs yet again, lol
nslqqq has quit [(Quit: Leaving.)]
nslqqq has joined #nixos
bennofs has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28849: pythonPackages.serpy: init at 0.1.1 (master...pr-serpy) https://git.io/v5BRM
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28848: pythonPackages.django-sampledata-helper: init at 0.4.1 (+dependency sampledata 0.3.7) (master...pr-sampledata-helper) https://git.io/v5BR1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28847: pythonPackages.pyjwkest: init at 1.3.2 (+dependency cryptodomex 3.4.5) (master...pr-pyjwkest) https://git.io/v5BR0
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28846: pythonPackages.psd-tools: init at 1.4 (master...pr-psd-tools) https://git.io/v5BRL
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28845: pythonPackages.premailer: init at 3.0.1 (master...pr-premailer) https://git.io/v5BBh
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28844: pythonPackages.fn: init at 0.4.3 (master...pr-fn) https://git.io/v5BBH
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28829: pythonPackages.aioamqp: init at 0.10.0 (master...pr-aioamqp) https://git.io/v5BlX
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28830: pythonPackages.asana: init at 0.6.2 (master...pr-asana) https://git.io/v5Blj
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28831: pythonPackages.diff-match-patch: init at 20121119 (master...pr-diff-match-patch) https://git.io/v5B8C
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28832: pythonPackages.django-ipware: init at 1.1.6 (master...pr-django-ipware) https://git.io/v5B8V
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28834: pythonPackages.django-jinja: init at 2.2.2 (master...pr-django-jinja) https://git.io/v5B4I
NixOS_GitHub has left #nixos []
<betaboon> I'm sorry
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28835: pythonPackages.django-pglocks: init at 1.0.2 (master...pr-django-pglocks) https://git.io/v5B4o
NixOS_GitHub has left #nixos []
<gchristensen> betaboon: :) what happened?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28836: pythonPackages.django-picklefield: init at 0.3.2 (master...pr-django-picklefield) https://git.io/v5B49
NixOS_GitHub has left #nixos []
<LnL> somebody wanted to add some python packages :p
<betaboon> gchristensen: <FRidh> betaboon: could you open a single PR with all Python packages, but as separate commits?
<betaboon> xD
<gchristensen> ah :D
<gchristensen> sorry for the bad advice earlier
<betaboon> no bad advice on any side
<betaboon> ask two programmers for a solution -> get 5 answers xD
nslqqq has quit [(Ping timeout: 248 seconds)]
lowski has joined #nixos
<betaboon> but in the end prio1 is streamlining processes/work-packages for the bottlenecks :P
<lowski> Hi!
<betaboon> I will have to spam the channel with some more closed pull requests. like 10 or so. I apologize in advance
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28837: pythonPackages.django-sites: init at 0.9 (master...pr-django-sites) https://git.io/v5B4A
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28838: pythonPackages.django-sr: init at 0.0.4 (master...pr-django-sr) https://git.io/v5BBk
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28839: pythonPackages.djmail: init at 1.0.1 (master...pr-djmail) https://git.io/v5BBG
NixOS_GitHub has left #nixos []
<lowski> I'm trying to create default.nix file that I could use with nix-shell for my Rails app. I would like to use Ruby version which is not in the packages. I came up with something like this https://gist.github.com/lowski/9391734b78cf319e04613a1b9f704563 but it does not work. Anyone eager to help?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28841: pythonPackages.easy-thumbnails: init at 2.4.1 (master...pr-easy-thumbnails) https://git.io/v5BBW
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28842: pythonPackages.flask-mail: init at 0.9.1 (master...pr-flask-mail) https://git.io/v5BBz
NixOS_GitHub has left #nixos []
<betaboon> done
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] betaboon closed pull request #28843: pythonPackages.flask-marshmallow: init at 2.13.5 (+ dependencies) (master...pr-flask-marshmallow) https://git.io/v5BBD
NixOS_GitHub has left #nixos []
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<hyper_ch> is there actually any limit how big github repos can be?
<tnks> So I'm perhaps going down an ill-advised path of trying to put a pure-Nix environment in Docker... from "scratch"
<ikwildrpepper> ... This limit is easy to stay within if large files are kept out of the repository. If your repository exceeds 1GB, you might receive a polite email from GitHub Support requesting that you reduce the size of the repository to bring it back down. In addition, we place a strict limit of files exceeding 100 MB in size....
<tnks> I have a fallback of doing what everyone does and rely on a base installation of something like Alpine for configuration files.
<tnks> But I thought I'd try this way out first and see how it works... though I'm now recreating some of the stuff NixOS does, so I'd appreciate some advice on how NixOS does things, since I mostly just understand Nix.
nslqqq has joined #nixos
nh2 has quit [(Ping timeout: 255 seconds)]
<tnks> The problem I have right now is fc-cache is looking for /etc/fonts/fonts.conf
<tnks> and NixOS creates a symlink, but I'm curious if there's a function I can call to do what NixOS does to set up these links.
<tnks> I was hoping 'nix-env -i fontconfig' would give me the etc files, but there's a difference between fontconfig-2.12.1-bin and fontconfig-2.12.1
<gchristensen> nixpkgs: 625M ... not bad
<mfiano> are all the commented lines in the generated configuration.nix file defaults? or only the declarations i explicitly uncomment are used?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5Bb1
<NixOS_GitHub> nixpkgs/master 4a6295e Jörg Thalheim: turses: fix build
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #28862: small documentation fixes (master...doc_fix) https://git.io/v5Bb5
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5BNJ
<NixOS_GitHub> nixpkgs/release-17.09 1b8c778 Jörg Thalheim: turses: fix build...
NixOS_GitHub has left #nixos []
<bbarker> gchristensen - do you happen to know which of the commands in the stage-x-init.sh files actually creates /run/current-system? Looking at the vm image while it is shutdown, nothing is under `/run`, which I guess makes sense
<gchristensen> the activation script
<bbarker> ok
<gchristensen> stagex calls the generation's 'activate' (see: /run/current-system/activate), which has ln -sfn "$(readlink -f "$systemConfig")" /run/current-system
<mguex> samba is out of date...
<Infinisil> A lot of stuff in nixpkgs is out of date :P
nh2 has joined #nixos
<gchristensen> mguex: can you send a PR?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5BAU
<NixOS_GitHub> nixpkgs/master e4bc14f Jörg Thalheim: python2Packages.jedi: fix tests
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5BAm
<NixOS_GitHub> nixpkgs/release-17.09 9c3a136 Jörg Thalheim: python2Packages.jedi: fix tests...
NixOS_GitHub has left #nixos []
<mfiano> Why isit pulling in all these things I don't declare in my config?
bennofs has joined #nixos
<hodapp> sphalerite: okay, back to looking at this 'how to build in a subdir of the repo' problem
<hodapp> I am not sure what I should be doing differently if I'm to just 'cd' to the directory from postUnpack
<Infinisil> hodapp: What's your current problem?
faffolter has joined #nixos
<hodapp> Infinisil: I'm trying to run a normal build but from a subdirectory of the repo. He recommended a couple things, one of which was just 'cd subdir' in postUnpack
<hodapp> it's a Python package, btw - has a setup.py that should work fine
<hodapp> 'cd subdir' fails, as there is no such directory from the working directory it starts from
<Infinisil> hodapp: mkdir?
<mfiano> Where is the support channel?
<hodapp> Infinisil: I need to enter a subdirectory, not create one
<hodapp> that build is in that subdir
<hodapp> rather, the thing that I need to build
<Infinisil> mfiano: Can you show your config? And did you rebuild with nixos-rebuild?
<hodapp> not at the repo's root
<Infinisil> hodapp: Hmm, if you clone it yourself it works?
<mfiano> Infinisil: This is an initial build. I am following the manual, and using nixos-install. It is puling in a multitude of packages I don't care about such as xscreensaver, various fonts, etc.
<mfiano> Also grub failed to install
<hodapp> Infinisil: the errors aren't from the build, they appear to be from different Nix build steps failing because it's not in the right directory
freeman42x[m] has joined #nixos
<hodapp> It starts me out in /tmp/nix-build-python3.5-tf_slim-09a32f32.drv-0, models-09a32f32905c47b7c7453d6438b7c3cf758f4675-src is in that directory, and the subdirectory 'slim' is inside of that - and that's where I need to start from
<Infinisil> mfiano: I see, what's your config?
<mfiano> I am not so sure how I am going to show my config, as I am in a tty in a virtual machine.
<Infinisil> mfiano: Ah
<hodapp> if I put 'cd $sourceRoot/slim' in postUnpack, I get: /nix/store/8x163pkhv83frdh1ng9sdkq2b9nvspg6-findutils-4.6.0/bin/find: 'models-09a32f32905c47b7c7453d6438b7c3cf758f4675-src': No such file or directory
<mfiano> It's basically what generated automatically, and me uncommenting the grub device and xserver service. nothing more
<Infinisil> hodapp: Oh I might've had that before, try preConfigure instead
<Infinisil> mfiano: Why are you uncommenting the grub device?
faffolter has quit [(Remote host closed the connection)]
<mfiano> It told me it is required to be set
<mfiano> The manual that is
<Infinisil> Ah
<dtz> or if you want patches I think you need to do something like postUnpack = ''sourceRoot=$sourceRoot/slim"
<dtz> because it wants to 'cd' into sourceRoot after unpack
<Infinisil> That could work ^^
<hodapp> Infinisil: using preConfigure seems to have worked
<dtz> and, apparently, run 'find' on it or something lol
<mguex> gchristensen: probably yeah
<mguex> first I need to get this PR out
<dtz> yeah, many paths, not sure mine's necessarily better. There's a setSourceRoot or something IIRC? dunno
vaibhavsagar_ has quit [(Ping timeout: 248 seconds)]
<symphorien> mfiano: @xscreensaver: nix-store --query --referer-closure /nix/store/xxxxxxx-xscreensaver will tell you what depends on xscreensaver
<Infinisil> mfiano: Regarding your question: "Why is it pulling in all these things I don't declare in my config": Packages sometimes have many dependencies and aren't set up to exclude all unnecessary ones in certain scenarios
freeman42y[m] has quit [(Ping timeout: 240 seconds)]
Ivanych has joined #nixos
<mfiano> I want to build a very minimal system with Xorg. I also want grub to install successfully. What are my options?
<Infinisil> mfiano: Generally nix builds a superset of what's needed
<mfiano> Ok, I am following the manual and I haven't got a system to build successfully yet. When I do I will look into that.
<Infinisil> mfiano: Have you mounted your boot partition to /mnt/boot?
lowski has quit [(Ping timeout: 260 seconds)]
<mfiano> I have no boot partition. I only have a root partition as I am following the install instructions.
<Infinisil> Ah right, a boot partition isn't necesarrily needed with BIOS booting
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v5BxS
<NixOS_GitHub> nixpkgs/master 1f48ad8 romildo: uget: 2.0.8 -> 2.0.10...
<NixOS_GitHub> nixpkgs/master 189797c Joachim F: Merge pull request #28840 from romildo/upd.uget...
NixOS_GitHub has left #nixos []
<Infinisil> mfiano: What's the error you're getting?
<disasm> lowski: inheritc -> inherit
<mfiano> GRUB can only be installed in this setup by using blocklists.
<clever> mfiano: do you want efi or legacy booting?
m0rphism has joined #nixos
<mfiano> legacy.
<clever> mfiano: on gpt?
<mfiano> Yes
vaibhavsagar_ has joined #nixos
<clever> mfiano: you must create a bios boot partition, 1 mb, no fs, never mounted
<mfiano> Ok
<clever> grub.device should still be set to the root of the device (like "/dev/sda") not the bios boot partition
Ivanych has quit [(Ping timeout: 248 seconds)]
<mfiano> Great thanks. Now I just have to figure out how to not pull in a million dependencies with xorg
<clever> ?
<mfiano> nixos-install is pulling in lots of things I don't care about, just by uncommenting the xserver service line
<mfiano> Like xscreensaver, loads of fonts, etc
<clever> ah
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #27694: Make gcc5 a nativeBuildInput for OpenCV. (master...master-opencv-fix) https://git.io/v7nIk
NixOS_GitHub has left #nixos []
ison111 has joined #nixos
<joachifm> mfiano: have you tried environment.noXlibs ?
<mfiano> I have not. I am new to this distribution, and just want to get a minimal system installed before I learn all the different tweaking options.
<joachifm> mfiano: take a look under nixos/modules/profiles. I think headless or minimal may be of interest
jbgi has joined #nixos
<joachifm> depending on how minimal you want it ...
<mfiano> Dumb question, where is 'nixos' located?
<maurer> echo $NIX_PATH to see
ison111 has quit [(Client Quit)]
<joachifm> mfiano: ah, sorry, I'm referring to the nixpkgs toplevel
<mfiano> Ok.
<clever> [clever@amd-nixos:~]$ nix-instantiate --find-file nixpkgs/nixos
<clever> /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos
erasmas has quit [(Quit: leaving)]
pakettiale has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/017561209e (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
<mfiano> Ok, I'll see how to enable these profiles
<mfiano> Thanks
<joachifm> mfiano: at least they can give you some hints about what to toggle to get rid of unwanted deps
<gchristensen> oh dang
<gchristensen> nixpkgs-unstable
<mfiano> They don't seem to. I mean, it's a starting point, but then adding xorg to the mix is going to pull in a bunch of unwanted stuff, right?
<joachifm> mfiano: oh, you want a minimal system *with* X11, I missed that
<mfiano> Yes. I don;t need a lock screen, screensaver, 20 different fonts, etc
<maurer> Oh uh
<Infinisil> Oh boy
<maurer> You should be able to do that without a bunch of profile stuff
<Infinisil> Update time \o/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28862: small documentation fixes (master...doc_fix) https://git.io/v5Bb5
NixOS_GitHub has left #nixos []
<mfiano> My plan was to install a minimal x-based system and learn NixOS from there.
<mfiano> I guess it's not going to be that easy like with other distros huh?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28860: clang 3.4: Disable hardening bits (#28543) (master...fix/clang_34_hardening) https://git.io/v5BQD
NixOS_GitHub has left #nixos []
<bbarker> gchristensen - sweet, so I have NixOS's systemd running in a docker container now :) I'm not familiar enough with Nix to know how to get a reasonable shell environment (/bin/sh is not the answer apparently :))
<gchristensen> omg
<gchristensen> nice :D
<Eisfreak7> Are all the builtin functions and the keywords of the expression language documented somewhere?
<maurer> You can probably delete a bunch of that
<mfiano> 404
<maurer> err,
<maurer> You can probably delete a bunch of it, but the relevant portions are
<maurer> desktopManager.default = "none";
<maurer> and pick a windowManager without a ton of deps
<mfiano> Thanks!
<mfiano> That will be i3-gaps, if it exists
<maurer> (this one configures it to use xmonad, which will pull in a bunch of haskell stuff, but won't pull in a lockscreen and stuff")
<bbarker> I'll try to upload it to a git repo today (and docker hub) so maybe others interested can improve the situation as well, but first I'd like to do something useful in it
<mfiano> maurer: Thanks a lot! I'll study your config in full
<mfiano> and yeah, I am a lisp developer, so haskell is a no-no :)
<hodapp> hater.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5Bjs
<NixOS_GitHub> nixpkgs/release-17.09 0fd7ef6 Will Dietz: clang_34: Disable hardening bits (#28543)...
NixOS_GitHub has left #nixos []
* Infinisil is using Xmonad too
vaibhavsagar_ has quit [(Ping timeout: 246 seconds)]
arximboldi has quit [(Quit: arximboldi)]
<Infinisil> Huh? I'm currently trying to shrink a 50% full 480GB NTFS partition with Windows 10, and it can only get 2GB out of it..
<Infinisil> Trying to make space for nixos..
<mfiano> Look at the source. Oh, wait
<Judson> Is this the thing with NTFS where they put the inodes list about 10% of the way into the volume?
<bbarker> oh noes, the infamous error i was getting on Nix+Alpine as well: [root@nixos:/run/current-system]# nix-channel --update
<Infinisil> Judson: No idea but could be, there is a note: "You cannot shrink a volume beyound the point where any unmovable files are located"
nh2 has quit [(Ping timeout: 252 seconds)]
<Judson> IIRC (and it has been years), NTFS keeps its list of inodes near but not at the top of the volume - and the list cannot be relocated.
<Judson> I mean, now that I've settled in with patchelf, it seems like it should be easy, but that's what I understand.
<Judson> Maaaybe there used to be a 3rd party tool that could do it?
samueldr has left #nixos []