gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64
<nextos> hi, nixos beginner (but I've already contributed a few packages). There's a horrible piece of software I only want to use once, and it would require too much patching to build. How can I build it as in other distros? Using FHS? Or perhaps inside a systemd-nspawn with a regular distro?
<tilpner> nextos - nix-shell, steam-run, docker
<tilpner> (vm)
mizu_no__ has quit [Quit: Computer has gone to sleep.]
<tilpner> Oh, and if you're really desperate... fsc-run c.c
<adelbertc> is there a function that takes a nix name and drops the hash prefix of it?
<kakuzade> tilpner: No. This is the "preferred language for displaying pages" I meanthe interface language, like the open menu.
<tilpner> adelbertc - Try builtins.parseDrvName
<adelbertc> like given `<hash>-foo-1.1.0.yml` i want just the `foo-1.1.0.yml` bit
<nextos> tilpner: fsc made me LOL, thanks!
<tilpner> kakuzade - Oops, sorry
<adelbertc> tilpner: that seems to be for parsing name-version, doesn't drop the hash prefix
ma27 has quit [Ping timeout: 252 seconds]
yegle has quit [Quit: WeeChat 2.0]
<tilpner> adelbertc - You could workaround with substring
yegle has joined #nixos
<adelbertc> true
BlessJah has quit [Ping timeout: 252 seconds]
<adelbertc> just drop the first 32?
<nextos> tilpner: with nix-shell i have problems as ./configure fails to find zlib (which i supplied as argument to nix-shell)
coot has quit [Ping timeout: 240 seconds]
BlessJah has joined #nixos
<tilpner> adelbertc - with builtins; (p: substring ((stringLength storeDir) + 34) (stringLength p) p)
<adelbertc> right
<adelbertc> ill give that a shot, thanks!
<jack[m]> Heh. nixpkgs is an impurity in some of my derivations.
coot has joined #nixos
FareTower has joined #nixos
<gchristensen> jack[m]: wouldn't it be an input, not an impurity? :))
coot_ has joined #nixos
kakuzade has quit [Quit: Page closed]
<jack[m]> gchristensen; I was using nixpkgs = import <nixpkgs>, and it changed over time.
<gchristensen> ah yeah, that is considered an input
coot__ has joined #nixos
babyflakes has quit [Quit: Connection closed for inactivity]
coot has quit [Read error: No route to host]
coot_ has quit [Ping timeout: 248 seconds]
<clever> jack[m]: the biggest benefit of that method, is that you can audit your expressions, by confirming they build with NIX_PATH unset, then you know that you dont care what the value is in the future
KingOfThePirates has quit [Ping timeout: 260 seconds]
KingOfThePirates has joined #nixos
<petersjt014[m]> has anybody gotten the nix Intellij plugin working?
<KingOfThePirates> How do you spell your name again?
coot__ has quit [Remote host closed the connection]
<jack[m]> clever; thanks!
<petersjt014[m]> I'm looking to test it out and I'm not sure it's doing anything
coot has joined #nixos
<nextos> how can i avoid hardening in manual calls to gcc inside a nix-shell? I.e. disabling the CFLAG -Werror=format-security?
<clever> nextos: one min
erasmas has quit [Quit: leaving]
<KingOfThePirates> Bump
<clever> nextos: disableHardening has to be set to a special string
<clever> github search is being derpy and finding all but the most important reference to it
fyuuri has quit [Ping timeout: 240 seconds]
<nextos> ok
<clever> nextos: oh, because its called hardeningDisable, lol
<ldlework> collision between ‘/nix/store/7l2s98i180w8mp4srpsgnc241qmladry-aspell-dict-en-2016.06.26-0/lib/aspell/american-variant_0.alias’ and ‘/nix/store/4qjsid0j7ic0cvwkw6dfznzlswsryjl5-home-manager-path/lib/aspell/american-variant_0.alias’; use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages
<ldlework> I think I have manually installed an aspell package with nix-env and installed one with home-manager, and now home-manager refuses to build
<ldlework> help? I'm kinda confused.
coot_ has joined #nixos
<nextos> clever: i used this in a derivation hardeningDisable = [ "all" ];
coot_ has quit [Remote host closed the connection]
<nextos> but no luck getting that to work inside a nix-shell
coot has quit [Read error: Connection reset by peer]
<clever> nextos: what does echo $hardeningCFlags say?
coot has joined #nixos
<nextos> clever: its not set, i assume gcc wrapper is setting that?
<nextos> im building a package in a really dirty way inside a nix-shell
<clever> nextos: the gcc wrapper just obeys it
<clever> add-hardening.sh is what sets it
<nextos> ok, its not set, so if i set that? hardeningFlags or hardeningCFlags?
<clever> i'm not sure where else that error could be coming from
<nextos> clever: i'm seeing how make is adding -Werror=format-security, its just a matter of getting rid of that
<ldlework> nevermind
<dhess> hmm time to get more remote NixOS builders for my Hydra :)
digitus has quit [Quit: digitus]
KingOfThePirates has quit [Quit: Page closed]
alexteves has quit [Read error: Connection reset by peer]
KingOfThePirates has joined #nixos
coot has quit [Quit: coot]
coot has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nixos
sigmundv_ has quit [Ping timeout: 260 seconds]
dan_b has quit [Ping timeout: 240 seconds]
Sonarpulse has quit [Ping timeout: 276 seconds]
<taohansen> is there a NixOps specific IRC I can ask questions to?
<taohansen> or something like an enterprise deployments channel
<simpson> taohansen: I think that #nixos is it.
nuncanada has quit [Ping timeout: 260 seconds]
silver has quit [Read error: Connection reset by peer]
thc202 has quit [Ping timeout: 268 seconds]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/499b3edb306 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
stepcut has quit [Remote host closed the connection]
sigmundv__ has quit [Ping timeout: 240 seconds]
stepcut has joined #nixos
coot has quit [Ping timeout: 240 seconds]
randomstrangerb has quit [Ping timeout: 268 seconds]
pirateking has joined #nixos
randomstrangerb has joined #nixos
KingOfThePirates has quit [Quit: Page closed]
stepcut has quit [Ping timeout: 268 seconds]
Lisanna has quit [Remote host closed the connection]
CapsAdmin has quit [Read error: Connection reset by peer]
rauno has quit [Ping timeout: 256 seconds]
srdqty has quit [Quit: WeeChat 1.9.1]
srdqty has joined #nixos
stepcut has joined #nixos
nuncanada has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
<jtojnar> $ readlink -f (which ping)
<jtojnar> /run/wrappers/wrappers.RJuIh8wiS4/ping
<jtojnar> what does that mean?
<tilpner> ping needs suid permissions, and those aren't allowed in /nix/store
pirateking has quit [Ping timeout: 260 seconds]
<tilpner> That's why it gets a wrapper and is placed outside
pirateking has joined #nixos
<tilpner> Huh. A davfs2 mount makes NixOS go into emergency mode...
<Dezgeg> every mountpoint without noauto that fails to mount does
<tilpner> Oh, really? That's good to hear
throwboy has quit [Ping timeout: 260 seconds]
<tilpner> Dezgeg - Do you happen to know where I can lookup how device works when fsType = "fuse"?
<tilpner> It has this weird "binary#extraData# format, but it's unclear what protocol binary must fulfill
randomstrangerb has quit [Ping timeout: 256 seconds]
randomstrangerb has joined #nixos
rardiol1 has left #nixos [#nixos]
nixy has quit [Quit: WeeChat 2.0]
oida has quit [Quit: WeeChat 1.6]
Supersonic112 has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdorman opened pull request #34403: Semi automated emacs package updates (master...semi-automated-emacs-package-updates) https://git.io/vN9WI
NixOS_GitHub has left #nixos [#nixos]
Supersonic112 has joined #nixos
pkill9 has quit [Ping timeout: 256 seconds]
fragamus has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
markus1199 has joined #nixos
markus1189 has quit [Ping timeout: 240 seconds]
pirateking has quit [Ping timeout: 260 seconds]
ericsagnes has quit [Ping timeout: 276 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
d4g_ has joined #nixos
d4g has quit [Ping timeout: 256 seconds]
s33se_ has joined #nixos
nuncanada has quit [Ping timeout: 240 seconds]
s33se has quit [Ping timeout: 248 seconds]
coot has joined #nixos
tertleeltret has quit [Quit: Connection closed for inactivity]
coot has quit [Read error: Connection reset by peer]
coot has joined #nixos
Fannar has joined #nixos
Fannar has quit [Client Quit]
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm has joined #nixos
nuncanada has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] deepfire opened pull request #34404: WIP: ghc 8.4 overrides (master...x-ghc-8.4-overrides) https://git.io/vN98d
NixOS_GitHub has left #nixos [#nixos]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jekor has quit [Ping timeout: 260 seconds]
babyflakes has joined #nixos
<acowley> I think hydra has a lot of stalled jobs on nixpkgs:trunk jobset
<johnw> i haven't seen a nixpkgs-unstable update in several days
nextos has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<acowley> There's a block of 1600 jobs that have been queued for a day https://hydra.nixos.org/jobset/nixpkgs/trunk
<johnw> acowley: do you live in Austin?
<acowley> johnw: Close! New Jersey
<acowley> :P
<johnw> haha
<johnw> where in NJ?
<dhess> hehehehe
<acowley> South-West NJ; Marlton is the name of the town.
<johnw> ah
<johnw> I once lived in Caldwell, upper-middle
xcmw has joined #nixos
andersk has quit [Remote host closed the connection]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andersk has joined #nixos
xcmw has joined #nixos
digitalmentat has quit [Ping timeout: 246 seconds]
mizu_no_oto has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pjan opened pull request #34405: Adds modifier option to developPackage (master...developPackage-modifier) https://git.io/vN9Rm
NixOS_GitHub has left #nixos [#nixos]
<dhess> Currently I have a .travis.yml in most of my projects, which is hooked into Travis-CI via GitHub for automatic builds.
<dhess> But given how slow those are relative to my Hydra builds, I'd like to set up the Hydra so that only after a build is successful does it kick off a Travis build. Anyone doing something like that?
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
aw has joined #nixos
<dhess> These are Haskell projects. I would just drop the Travis stuff, but it's still useful for testing with vanilla Cabal and Stack.
spacefrogg has joined #nixos
slyfox has quit [Ping timeout: 256 seconds]
slyfox has joined #nixos
srdqty has quit [Ping timeout: 260 seconds]
magnetophon has quit [Ping timeout: 260 seconds]
magnetop` has joined #nixos
srdqty has joined #nixos
nuncanada has quit [Ping timeout: 268 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
srdqty has quit [Ping timeout: 248 seconds]
leat has quit [Ping timeout: 268 seconds]
srdqty has joined #nixos
nuncanada has joined #nixos
spear2 has joined #nixos
leat has joined #nixos
magnetop` has quit [Ping timeout: 240 seconds]
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jonafato opened pull request #34406: gnome-shell-extension-clipboard-indicator: init at v30 (master...gnome-shell-extension-clipboard-indicator-v30) https://git.io/vN9EN
NixOS_GitHub has left #nixos [#nixos]
srdqty has quit [Quit: WeeChat 1.9.1]
marusich has joined #nixos
Fannar has joined #nixos
hamishmack has quit [Quit: hamishmack]
hamishmack has joined #nixos
hamishmack has quit [Client Quit]
orivej has quit [Ping timeout: 256 seconds]
ericsagnes has joined #nixos
schoppenhauer has quit [Ping timeout: 252 seconds]
schoppenhauer has joined #nixos
bfrog has joined #nixos
Fannar has quit [Ping timeout: 240 seconds]
bfrog has quit [Ping timeout: 240 seconds]
lopsided98 has quit [Ping timeout: 246 seconds]
lopsided98 has joined #nixos
ericsagnes has quit [Ping timeout: 240 seconds]
hamishmack has joined #nixos
raynold has joined #nixos
babyflakes has quit [Quit: Connection closed for inactivity]
Rusty1_ has quit [Quit: Konversation terminated!]
s33se_ has quit [Ping timeout: 256 seconds]
fragamus has joined #nixos
ma27 has joined #nixos
s33se has joined #nixos
Isorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
kreisys has joined #nixos
Isorkin has joined #nixos
coot has quit [Quit: coot]
rauno has joined #nixos
ma27 has quit [Ping timeout: 256 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Isorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Isorkin has joined #nixos
marusich has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markuskowa opened pull request #34407: rdma-core: fix rxe_cfg and platforms flags (master...rdma-core-fix-pr) https://git.io/vN9aY
NixOS_GitHub has left #nixos [#nixos]
marusich has joined #nixos
jb55 has quit [Ping timeout: 252 seconds]
binh_ has joined #nixos
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
periklis has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/853a6fe9088 (from 17 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
marusich has quit [Ping timeout: 252 seconds]
kreetx has joined #nixos
stephenjudkins has joined #nixos
throwboy has joined #nixos
<throwboy> hey, does anyone here know of a way to quickly query throug the NixOS packages on the cli?
MercurialAlchemi has joined #nixos
<throwboy> I know "nix-env -qasP *" exists but thats painfully slow
fragamus has joined #nixos
FareTower has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markuskowa opened pull request #34408: beegfs: add beeond, enable RDMA (master...beegfs-rdma-pr) https://git.io/vN9Vl
NixOS_GitHub has left #nixos [#nixos]
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
srdqty has joined #nixos
srdqty has quit [Client Quit]
<adisbladis> throwboy: I guess the best way right now is to use nixUnstable
<adisbladis> Which has "nix search"
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
kitemikaze has joined #nixos
stephenjudkins has joined #nixos
<srhb> throwboy: I like to grep through the package set. And there's also nix index, or what it's called.
rauno has quit [Ping timeout: 240 seconds]
nz has quit [Ping timeout: 265 seconds]
reinzelmann has joined #nixos
nz has joined #nixos
<throwboy> adisbladis oh this exists? I did not know about that, thank you
jeaye has quit [Quit: WeeChat 1.9.1]
jeaye has joined #nixos
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rauno has joined #nixos
<fearlessKim[m]> throwboy or "nox <PKG_NAME>"
aanderse has quit [Ping timeout: 240 seconds]
<fearlessKim[m]> well PKG_NAME is more like PART_OF_THE_NAME
hyper_ch2 has joined #nixos
<fearlessKim[m]> how can I prevent nox from picking up my user overlays ? or nix-index ? it ends up triggering all sorts for error as nox for instance mix my overlay with nixpkgs stable while I write them for unstable.
asuryawanshi has joined #nixos
goibhniu has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Isorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Isorkin has joined #nixos
knupfer has joined #nixos
<sphalerite> fearlessKim: maybe make the overlay conditional on the nixpkgs version?
<fearlessKim[m]> Linus: I would rather completely disable it for some operations. 1/ I use it as a scratch nixpkgs, it's badly written, relies on local sources etc. and when I run $ nox-review, it's impure. I want to run nox against nixpkgs only, to check that I don't submit errors (which could be hidden by my overlay).
<sphalerite> fearlessKim: in that case I'd probably go with only using explicitly when you need it. Something like nix-env -f '<nixpkgs>' --arg overlays '[ ~/hacky-overlay.nix ]' -iA hackyoverlaystuff
Neo-- has joined #nixos
<fearlessKim[m]> I tried `$ export NIXPKGS_OVERLAYS="" nox-review` but it didn't seem to succeed
<fearlessKim[m]> Linus: I need it more than I don't need it so I would favor disabling over enabling. Thanks for the suggestion though.
Itkovian has joined #nixos
freeman42x[NixOS has joined #nixos
rardiol1 has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
throwboy has quit [Remote host closed the connection]
zzamboni has joined #nixos
Tucky has joined #nixos
Myrl-saki has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] steveeJ opened pull request #34409: qemu-vm: fix script syntax and VM args (master...steveej-qemu-vm-fixes) https://git.io/vN9K4
NixOS_GitHub has left #nixos [#nixos]
<fearlessKim[m]> Linus: trying `nix-shell -p nox --arg overlays '[]'` Hope that works :)
<sphalerite> I doubt it
<sphalerite> I think your best bet is to patch nox
<sphalerite> to change the nix command it uses
<sphalerite> shouldn't be too hard
asuryawanshi has joined #nixos
<rauno> Has anyone experience using network disk in nixos filesystem mount ?
<rauno> when mounting with regular mount cmd, it works but when i define it in configuration.nix is fails
<sphalerite> rauno: how are you defining it?
<rauno> fileSystems."/mnt/disk" ={ device = "/dev/rbd0";fsType = "ext4";};
<rauno> somewhy network drops when it tries to activate it and then obviously this network disk is failing also..
<fearlessKim[m]> Linus: indeed it fails :/ for now, I'll just move my overlay
MichaelRaskin has left #nixos [#nixos]
<sphalerite> rauno: ah right, and what you want is for the system to boot anyway? Add options = ["nofail"];
<sphalerite> Oh wait no you want it to not fail x)
<rauno> i mean currently is fails even when not booting (just nixos-rebuild
<rauno> i mean currently is fails even when not booting (just nixos-rebuild)
<sphalerite> So what you need is to make sure systemd knows it depends on the network being up
thc202 has joined #nixos
<sphalerite> I'm not sure how to do that unfortunately
<adisbladis> /dev/rbd0 is a ceph device so I would recommend putting it after ceph :3
zzamboni has quit [Quit: Leaving.]
<rauno> um, how :) ?
<rauno> does filesystems."" have some kind of after or smth ?
<sphalerite> Might look something like systemd.mounts."/mnt/disk" = {requires = ["ceph"]; after=["ceph"];}
<sphalerite> Not sure though
<rauno> hum
<rauno> seems like something useful
<adisbladis> rauno: Hmm.. That should probably be a new fsType :)
<sphalerite> adisbladis: I don't think so since it's a block device that has a regular partition on it
zzamboni has joined #nixos
<adisbladis> sphalerite: Ahh check.
<sphalerite> s/partition/filesystem/
ottidmes has joined #nixos
ThatDocsLady has joined #nixos
zzamboni has quit [Ping timeout: 248 seconds]
zzamboni has joined #nixos
babyflakes has joined #nixos
aarvar has quit [Ping timeout: 256 seconds]
zzamboni has quit [Ping timeout: 248 seconds]
dbe_ has joined #nixos
<steveeJ> I'm trying to use fetchgit to clone a local repository and use a specific branch but fetchgit doesn't recognize the git repo as such. does it only support bare repos?
zzamboni has joined #nixos
Lisanna has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jwiegley opened pull request #34411: ditaa: 0.9 -> 0.11 (adds --svg support) (master...ditaa-0.11) https://git.io/vN9i5
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
<rauno> weird is that when i change systemd.mounts = [] it wont update the service file..
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
zzamboni has quit [Client Quit]
<LnL> lists append by default, you have to use a higher priority to override it
lonokhov has joined #nixos
<LnL> systemd.mounts = mkForce [];
<LnL> but that kind of sounds like a bad idea
zzamboni has joined #nixos
<rauno> i think the mkForce isnt the case..
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
<fearlessKim[m]> rauno: some service don't autorestart, there is a setting to force it, I had the problem with libvirtd
<steveeJ> answer to self: the path for fetchgit must not be a string, see https://github.com/NixOS/nixpkgs/issues/17747
rogue_koder has quit [Quit: Konversation terminated!]
ssmike has quit [Remote host closed the connection]
<rauno> added alias wand wantedby multi-user.target seemed to do the trick
hotfuzz has joined #nixos
sigmundv_ has joined #nixos
hotfuzz_ has quit [Ping timeout: 248 seconds]
MP2E has quit [Remote host closed the connection]
fyuuri has joined #nixos
astsmtl- has joined #nixos
astsmtl has quit [Read error: Connection reset by peer]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vN9Xq
<NixOS_GitHub> nixpkgs/master 6c744fc Stefan Frijters: pyprof2calltree: init at 1.4.3 (#34379)
NixOS_GitHub has left #nixos [#nixos]
Itkovian has joined #nixos
binh_ has quit [Remote host closed the connection]
binh_ has joined #nixos
ssmike has joined #nixos
Itkovian_ has joined #nixos
ericsagnes has joined #nixos
ckauhaus has joined #nixos
Itkovian has quit [Ping timeout: 256 seconds]
<steveeJ> I have hardcoded hydra as a cache in my configuration.nix and have installed nixUnstable. now I'm stuck with 'error: 'https://hydra.nixos.org' does not appear to be a binary cache' :-D
lonokhov has quit [Remote host closed the connection]
<LnL> hydra has not had a cache since years
<steveeJ> my config might be a couple years old
pie___ has quit [Ping timeout: 256 seconds]
lonokhov has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jwiegley closed pull request #34411: ditaa: 0.9 -> 0.11 (adds --svg support) (master...ditaa-0.11) https://git.io/vN9i5
NixOS_GitHub has left #nixos [#nixos]
raynold has quit [Quit: Connection closed for inactivity]
Itkovian_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vidbina has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jwiegley reopened pull request #34411: ditaa: 0.9 -> 0.11 (adds --svg support) (master...ditaa-0.11) https://git.io/vN9i5
NixOS_GitHub has left #nixos [#nixos]
vidbina has quit [Ping timeout: 256 seconds]
fyuuri has quit [Ping timeout: 240 seconds]
vidbina has joined #nixos
a6a3uh has joined #nixos
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34252: hplip: Fixes runtime errors (master...hplip_fixes) https://git.io/vNicb
NixOS_GitHub has left #nixos [#nixos]
vidbina has quit [Ping timeout: 260 seconds]
vidbina has joined #nixos
zzamboni has joined #nixos
<sphalerite> steveeJ: mv /etc/nix/nix.conf{,.old} ; sed 's/hydra\.nixos\.org/cache.nixos.org/' /etc/nix/nix.conf.old > /etc/nix/nix.conf
<sphalerite> ?
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
<sphalerite> or maybe just --option binary-caches cache.nixos.org
vidbina has quit [Ping timeout: 240 seconds]
freeman42x[NixOS has quit [Ping timeout: 248 seconds]
swayf has joined #nixos
vidbina has joined #nixos
swayf_ has joined #nixos
swayf_ has quit [Remote host closed the connection]
swayf_ has joined #nixos
swayf_ has quit [Remote host closed the connection]
swayf_ has joined #nixos
swayf_ has quit [Remote host closed the connection]
swayf_ has joined #nixos
swayf_ has quit [Remote host closed the connection]
swayf has quit [Ping timeout: 265 seconds]
swayf_ has joined #nixos
a6a3uh has quit [Quit: Bye]
vidbina has quit [Ping timeout: 240 seconds]
swayf_ has quit [Ping timeout: 265 seconds]
knupfer has quit [Ping timeout: 240 seconds]
Guest73602 has joined #nixos
coot has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vN99y
<NixOS_GitHub> nixpkgs/master e4570af Markus Kowalewski: beegfs: add rdma support
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 043dece Markus Kowalewski: beegfs: build beeond
<NixOS_GitHub> nixpkgs/master c6eb84b Jörg Thalheim: Merge pull request #34408 from markuskowa/beegfs-rdma-pr...
rauno has quit [Ping timeout: 248 seconds]
a6a3uh has joined #nixos
ottidmes has quit [Ping timeout: 256 seconds]
Itkovian has joined #nixos
rauno has joined #nixos
flugsio has joined #nixos
a6a3uh has quit [Quit: Bye]
<ij> Why would ruby gems contain references to gcc?
aanderse has joined #nixos
<Biappi> ij: knowing nothing of ruby, but something of other similar runtimes, you might have ruby libraries that wrap c libraries
<Biappi> one example that coems to mind, UI libraries
<ij> Uhm, not in the nix code, but in the final compiled files.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34381: nixos/less configure less with module (master...less) https://git.io/vNyyp
NixOS_GitHub has left #nixos [#nixos]
<ij> Yeah, compilation does happen, in nokogiri that's for xml, for example.
<ertes-w> i'm currently building docker containers via nix (using dockerTools.buildImage), but some of them get quite massive, and i understand that right now reducing closure sizes is unrealistic… is there a way to build images that don't contain any files from the store? the idea is to just bind-mount the host's store
binh_ has quit [Ping timeout: 256 seconds]
<ij> ertes-w: Just curious, what do you have in the container and how big is it? This ruby container that I made's around 500M.
<ij> gcc's included. /o/ yay
<ertes-w> ij: i have the sensu-client in there and lots of additional software for the actual checks
<ertes-w> the container is at 1.3 GiB right now, and i expect it to grow further
<ertes-w> which means that the painful iteration times are only going to get worse
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vN97b
<NixOS_GitHub> nixpkgs/master 8baa11d Bart Brouns: rtv: 1.19.0 -> 1.21.0
<NixOS_GitHub> nixpkgs/master 41013a5 Jörg Thalheim: Merge pull request #34401 from magnetophon/rtv...
NixOS_GitHub has left #nixos [#nixos]
a6a3uh has joined #nixos
<ij> I don't think you can omit copying the store (that you want to save on by mounting it from the system) with the nixpkgs as it is. You'll have to write code to do it then.
<ij> Code's in pkgs/build-support/docker/default.nix above and below 477, as you might've found already.
<ij> Then you'll also have to figure out how to manage the nix store that you want to mount, that sounds like a big hassle still.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg force-pushed unstable-aarch64 from 7f7f4f2 to c361a8b: https://git.io/vSSlm
<NixOS_GitHub> nixpkgs/unstable-aarch64 d9ef70c Tuomas Tynkkynen: nixos/qemu: Deduplicate QEMU serialDevice into qemu-flags.nix
<NixOS_GitHub> nixpkgs/unstable-aarch64 b2d4eb7 Tuomas Tynkkynen: nixos/tests: Drop unnecessary qemu-flags.nix include...
<NixOS_GitHub> nixpkgs/unstable-aarch64 2225f43 Tuomas Tynkkynen: nixos/qemu-flags: Take a 'pkgs' parameter...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vN9dq
<NixOS_GitHub> nixpkgs/master ab5357b Tuomas Tynkkynen: eternal-terminal: init at 4.1.2
NixOS_GitHub has left #nixos [#nixos]
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
KingOfThePirates has joined #nixos
dbe_ has quit [Ping timeout: 240 seconds]
a6a3uh has quit [Quit: Bye]
<KingOfThePirates> how might one register their freenode webchat name so it's not temporary each time?
<vegai> KingOfThePirates: /msg nickserv help
<KingOfThePirates> vegai: ty
KingOfThePirates has quit [Client Quit]
<vegai> I don't know if that .... applies to .... oh
pirateking has joined #nixos
<vegai> yeah so I don't know if the freenode webchat works differently
<vegai> but I guess it shouldn't
Guest73602 has quit [Changing host]
Guest73602 has joined #nixos
Guest73602 is now known as TweyII
<TweyII> vegai: NickServ is just a bot running on the Freenode server, your client is irrelevant
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vN9Ft
<NixOS_GitHub> nixpkgs/master af38f1a Tuomas Tynkkynen: seturgent: Move out from linuxPackages_*...
NixOS_GitHub has left #nixos [#nixos]
<vegai> TweyII: yeah...
<TweyII> But I doubt the webchat will log you in automatically
fyuuri has joined #nixos
<pirateking> pirateking is already registered!? how dare they
<pirateking> can i rename without relogging? I'm not seeing it in the list of commands. maybe ghost but that doesn't sound familiar
<TweyII> pirateking: /nick <nickname>
<pirateking> TweyII: ty
<TweyII> pirateking: Choosing your nickname is up to your client, NickServ just enforces which ones you're allowed
<pirateking> yeah but i want it to be official
<TweyII> ghost forcibly boots someone (usually an old connection of yours, hence the name) off a nickname you own
<TweyII> pirateking: Right, but I mean that's why you set your nickname with a client command rather than by talking to NickServ
<pirateking> oh. then how might i do a client command?
<TweyII> pirateking: /nick <nickname>
simukis has joined #nixos
<LnL> everything starting with a / is a command :)
<TweyII> (usually; it depends on the client, but that syntax is conventional)
pirateking is now known as rogerg
steshaw has joined #nixos
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
vidbina has joined #nixos
<rogerg> perfect thanks guys
<domenkozar> huh
<domenkozar> no audio on my headphones since last nixos 17.09 bump
<domenkozar> please send help
knupfer has joined #nixos
<aminechikhaoui> :D
<aminechikhaoui> just revert ?
<Yaniel> pulse/plasma occasionally forgets my audio output assignments, maybe that happened to you too?
freeman42x[NixOS has joined #nixos
<etu> If you use pulseaudio, try checking pavucontrol which card it uses
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34414: postfix: Correct license (master...postfix) https://git.io/vN9b6
NixOS_GitHub has left #nixos [#nixos]
adamt has joined #nixos
<rogerg> i know system.autoUpgrade.enable = true; keeps the packages up to date.. but does anyone know how to keep the programs inside the packages up to date? i find many of the time the package has a lower version than the latest stable. i.e. rustup, or firefox
<domenkozar> etu: hmm where does it show the card?
<adamt> Hiya. Did anybody make some sort of integration from Hydra to Slack, e.g. for posting when builds fail? My Google-foo fails me (too many projects named hydra..).
<etu> domenkozar: output devices and configuration is relevant tabs for which cards you have (for playback) and then under playback you can choose what program uses which card
<adisbladis> domenkozar: You can also do it from the command line using pacmd:
<adisbladis> "$ pacmd list-sink-inputs" to list all current streams
<adisbladis> "$ pacmd list-cards" to list all cards
<adisbladis> And then to move to the correct card: "$ pacmd move-sink-input 154 alsa_output.pci-0000_00_1f.3.analog-stereo"
<adisbladis> Yaniel: Actually plasma has a nice gui to manage pulseaudio :) It's just a bit hidden
vidbina_ has joined #nixos
peacememories has joined #nixos
<rogerg> rogerg: nvm i see how to update a package properly https://nixos.wiki/wiki/Updating_a_package_in_Nixpkgs
vidbina has quit [Remote host closed the connection]
<ij> Is builtins.filterSource shallow?
knupfer has quit [Ping timeout: 246 seconds]
<ij> eh, I'll just try it in repl
knupfer has joined #nixos
swayf has joined #nixos
swayf_ has joined #nixos
<ij> It ain't. Tested with: "builtins.filterSource (type: name: builtins.trace [type name] true) ./.".
silver has joined #nixos
swayf has quit [Ping timeout: 265 seconds]
Isorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Isorkin has joined #nixos
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
rogerg has quit [Ping timeout: 260 seconds]
a6a3uh has joined #nixos
lopsided98 has quit [Read error: Connection reset by peer]
<sphalerite> adisbladis: Is it the one in the sound settings?
<sphalerite> Because I always find myself using pavucontrol anyway because that one's so hard to get to, and iirc not as nice to use iether
<adisbladis> sphalerite: The volume control. You can take an application in the volume control widget and drop it on the desired device
<sphalerite> oh huh
<sphalerite> discoverability A++
<etu> wow
<etu> amazing
lopsided98 has joined #nixos
<adisbladis> Hard to find but when you know it its pretty nice :)
Itkovian_ has joined #nixos
Itkovian has quit [Ping timeout: 240 seconds]
<Yaniel> adisbladis: yes, that's what I'm using
<etu> That sounds as discoverable as dropping your CD-Icon in the bin to eject it </joke>
<Yaniel> at least said icon changes into an eject icon when you start dragging a cd or other image
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vanzef opened pull request #34416: ibus-kkc engine support (master...kkc) https://git.io/vN9hG
NixOS_GitHub has left #nixos [#nixos]
pie___ has joined #nixos
orbekk has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asuryawanshi has quit [Ping timeout: 240 seconds]
peacememories has joined #nixos
fyuuri has quit [Ping timeout: 260 seconds]
xcmw has joined #nixos
peacememories has quit [Client Quit]
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 248 seconds]
Mateon3 is now known as Mateon1
rogerg has joined #nixos
rogerg has quit [Client Quit]
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
orivej has joined #nixos
civodul has joined #nixos
zzamboni has quit [Quit: Leaving.]
thblt has joined #nixos
zzamboni has joined #nixos
pie___ is now known as pie_
johnw has quit [Ping timeout: 240 seconds]
<goibhniu> etu: lol
vidbina has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #34417: dunst: 1.3.0 -> 1.3.1 (master...dunst) https://git.io/vNHv3
NixOS_GitHub has left #nixos [#nixos]
oida has joined #nixos
vidbina_ has quit [Remote host closed the connection]
Rusty1 has joined #nixos
ssmike has quit [Remote host closed the connection]
a6a3uh has quit [Quit: Bye]
pkill9 has joined #nixos
a6a3uh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jyp opened pull request #34418: Tensorflow: revert to wheel-based build and update to 1.5.0 (master...tensorflow-1.5) https://git.io/vNHfk
NixOS_GitHub has left #nixos [#nixos]
ssmike has joined #nixos
asuryawanshi has joined #nixos
hyper_ch2_ has joined #nixos
<ij> What was that annoying little file I had to touch in order to get nix-repl history working
<ij> ?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hyper_ch2_ has quit [Ping timeout: 260 seconds]
hyper_ch2 has quit [Ping timeout: 260 seconds]
xcmw has joined #nixos
iyzsong has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 89d66b8 Gabriel Ebner: pythonPackages.xdot: 0.7 -> 0.9
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/vNHU3
a6a3uh has quit [Quit: Bye]
<TweyII> ij: ~/.nix-repl-history?
<ij> I thought so, but it still doesn't work. Does that make it work in your end?
a6a3uh has joined #nixos
FRidh has joined #nixos
vidbina has quit [Quit: Lost terminal]
vidbina has joined #nixos
alexteves_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vNHTx
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master f7bb9f6 zimbatm: vscode: 1.19.2 -> 1.19.3
ssmike has quit [Remote host closed the connection]
vidbina_ has joined #nixos
vidbina has quit [Remote host closed the connection]
a6a3uh has quit [Quit: Bye]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jyp closed pull request #34418: Tensorflow: revert to wheel-based build and update to 1.5.0 (master...tensorflow-1.5) https://git.io/vNHfk
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jyp opened pull request #34420: pythonPackages.tensorflow: 1.3.1 -> 1.4.1 (master...tensorflow-wheel) https://git.io/vNHkx
NixOS_GitHub has left #nixos [#nixos]
aloiscochard has joined #nixos
rauno has quit [Ping timeout: 256 seconds]
ssmike has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lboklin opened pull request #34421: godot: 2.1.4 -> 3.0 (master...master) https://git.io/vNHLI
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
<ij> It seems that terraform.withPlugins from a fresh 17.09 channel don't work. It requests `terraform init`, which also doesn't work.
<ij> Even with -get-plugins=true and -plugin-dir=.terraform.
vidbina_ has quit [Remote host closed the connection]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #33746: docker-edge: 17.12.0 -> 18.01.0 (master...docker_18_01) https://git.io/vN305
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Ping timeout: 240 seconds]
peacememories has joined #nixos
spear2 has quit [Quit: Leaving]
randomstrangerb has quit [Ping timeout: 248 seconds]
randomstrangerb has joined #nixos
vidbina has joined #nixos
simendsjo has joined #nixos
peacememories has quit [Client Quit]
steshaw has quit [Quit: Connection closed for inactivity]
xcmw has joined #nixos
wacke has joined #nixos
<wacke> hi all! how can i define default sieve scripts in configuration.nix? i have some config snippet, may i post it here (23lines)
FareTower has joined #nixos
<wacke> ?
<wacke> nixos 17.09
<wacke> config here: https://pastebin.com/KZZfM0xb
thblt has quit [Remote host closed the connection]
glenn_ has quit [Ping timeout: 252 seconds]
ssmike has quit [Remote host closed the connection]
simendsjo has quit [Ping timeout: 265 seconds]
hask_bee_3 has joined #nixos
ssmike has joined #nixos
szicari has joined #nixos
ssmike has quit [Remote host closed the connection]
yann-kaelig has joined #nixos
oida has quit [Ping timeout: 276 seconds]
thblt has joined #nixos
Isorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Isorkin has joined #nixos
szicari has quit [Quit: szicari]
<srid> sieve?
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
<wacke> yes
<wacke> i can not enable it
FRidh has quit [Remote host closed the connection]
oida has joined #nixos
infinisil has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy pushed 1 new commit to master: https://git.io/vNHOw
<NixOS_GitHub> nix/master f93e890 Ben Gamari: configure: Use $CPP instead of cpp directly...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy closed pull request #1824: configure: Use $CPP instead of cpp directly (master...patch-2) https://git.io/vNDFu
NixOS_GitHub has left #nixos [#nixos]
reinzelmann has quit [Quit: Leaving]
<sudoreboot[m]> Anyone using Plasma 5 and/or Nvidia drivers and have trouble with severe frame drops?
infinisil has quit [Client Quit]
<Yaniel> I do see occasional freezes but that goes beyond what I would call frame drops
ssmike has joined #nixos
infinisil has joined #nixos
<sudoreboot[m]> Recently I can't really play games and if I am watching even just simple videos my FPS drop significantly. In 3D applications it actually drops below 15 most of the time
<sudoreboot[m]> I tried both unstable and 17.09
<Yaniel> oh, framerate drops
<Yaniel> haven't really noticed
ssmike has quit [Remote host closed the connection]
magnetop` has joined #nixos
ssmike has joined #nixos
ryanartecona has joined #nixos
magnetop` is now known as magnetophon
<thblt> Hi! I've just upgraded to Firefox 58 (using the Mozilla overlay) and the UI font (Roboto Condensed, for GTK2 and 3) has been replaced with some monospace font. No other application have this issue (but maybe Firefox is my only GTK2 app?).
<thblt> I've installed pcmanx-gtk2 (the only other GTK2 app I could find, and it displays perfectly)
<schoppenhauer> hi. is anyone using cryptocat on nixos?
xcmw has quit [Ping timeout: 265 seconds]
xcmw has joined #nixos
<Leo`> I have derivations that stick around in the nix-store after a GC while I thought they should be deleted, is there a way to trace a derivation back to its root?
<LnL> nix-store -q --roots <path>
<Leo`> Cool.
<Leo`> Thanks.
<Leo`> /run/booted_system
<Leo`> u___u
<Leo`> -*
TweyII has quit [Ping timeout: 248 seconds]
<tokudan[m]> is someone working on the security update firefox 58.0.1?
MercurialAlchemi has quit [Ping timeout: 256 seconds]
kreisys has quit [Read error: Connection reset by peer]
erasmas has joined #nixos
swayf_ has quit [Remote host closed the connection]
swayf_ has joined #nixos
swayf_ has quit [Remote host closed the connection]
<niksnut> thblt: I had a similar problem caused by the existence of ~/.gtkrc-2.0
<thblt> niksnut: thanks, but removing this file doesn't seem to change anything.
<thblt> or maybe
<thblt> There's an improvement. ~/.config/gtk-3.0/settings.ini seems to have an effect on Firefox font.
<thblt> OK, so Firefox is now using GTK3, and here lies the issue. Yet, it's still not a GTK issue, Emacs is perfectly happy with using Roboto Condensed.
vidbina has quit [Ping timeout: 240 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] tokudan opened pull request #34424: firefox-bin: 58.0 -> 58.0.1 [security] (master...ff-bin5801) https://git.io/vNHCR
vidbina has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tokudan opened pull request #34425: firefox-bin: 58.0 -> 58.0.1 [security] (release-17.09...1709-ff-bin5801) https://git.io/vNHC1
NixOS_GitHub has left #nixos [#nixos]
__monty__ has joined #nixos
<__monty__> Is there a way to make an equivalent of a package-git in nixpkgs? I was pointed at overlays yesterday but realized today that they don't actually solve my problem.
<wacke> has someone any hints how to configure postfix/rspamd/dovecot/sieve? postfix is working, rspamd also, dovecot is working, sieve is not working
<wacke> i also don't see any lda/lmtp logs
jensens has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
adamt has quit [Ping timeout: 248 seconds]
<tokudan[m]> wacke: mabye have a look at https://github.com/r-raymond/nixos-mailserver
<__monty__> How does one find out the hash to pass to fetchFromGithub?
<wacke> yeah, saw this, but no luck, i use some snippets from this repo
<fpletz> __monty__: nix-prefetch-url -A packagename.src
<fpletz> that should work for all fetch* functions
<fpletz> wacke: I've a working dovecot with sieve, it's only dovecot config though, nothing nixos-specific
<wacke> fpletz: can you paste some relevant parts somewhere?
<fpletz> wacke: already on it :)
<wacke> thanks!
<joko> Hey, is it still not possible to override attributes in NixOS services?
xcmw has joined #nixos
a6a3uh has joined #nixos
TweyII has joined #nixos
TweyII is now known as Guest93733
Sonarpulse has joined #nixos
<fearlessKim[m]> tokudan: or you fail once and save the result :>
<tokudan[m]> fearlessKim: fail what?
<__monty__> I think that was in reply to me?
<tokudan[m]> fearlessKim: if you're talking about the hash: that wasn't me ;)
<fearlessKim[m]> tokudan: sorry, that was for monty
iyzsong has quit [Ping timeout: 264 seconds]
xcmw has quit [Client Quit]
<fpletz> that should be everything sieve-related
<fpletz> I can also recommend the antispam plugin in combination with rspamd, works great
<fpletz> also, there is a managesieve service in dovecot so the sieve filters can be administered, in my case it is done via roundcube
<__monty__> fpletz: How would nix-prefetch-url -A work for packages that aren't in nixpkgs yet?
<wacke> fpletz: thanks, i have similar config, and what is your config for postfix? did you define lmtp transport somewhere?
<fpletz> wacke: yep: services.postfix.config.virtual_transport = [ "lmtp:unix:/run/dovecot2/lmtp-postfix" ];
<fpletz> and in dovecot: unix_listener /run/dovecot2/lmtp-postfix { /* user and group stuff */ }
<wacke> hmmmm
* fpletz should PR lots of his mail stuff to nixos-mailserver soon \o/
<wacke> hmm, ok, i see, my postfix delivers the mails via local(8) instead of dovecot-lmtp, any idea what can be wrong?
<fearlessKim[m]> seems like there is nix-stuff for the server aspect but I would like to see some config generator for the client stuff, like alot/astroid/offlineimap/notmuch. The config are often similar yet I have to reinput my ids for every program. Boring.
thblt` has joined #nixos
thblt has quit [Ping timeout: 256 seconds]
fyuuri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir opened pull request #34426: libyaml-cpp: 0.5.3 -> 0.6.0 (master...libyamlcpp) https://git.io/vNHBP
NixOS_GitHub has left #nixos [#nixos]
hask_bee_3 has quit [Quit: Textual IRC Client: www.textualapp.com]
stephenjudkins has quit [Ping timeout: 240 seconds]
M-dpetranek has joined #nixos
glenn_ has joined #nixos
nschoe has quit [Ping timeout: 256 seconds]
vrederv has joined #nixos
Arcaelyx has joined #nixos
<vrederv> Hey folks is it possible on NixOS to create a temporary sandboxed environment with only specific packages (+ their dependencies)?
<vrederv> I am not a NixOS user ... just wondering.
<fearlessKim[m]> vrederv: have you checked the wiki FAQ ? I remembre reading sthg about this
orivej has quit [Ping timeout: 256 seconds]
<gchristensen> nix-shell can take `--pure`, vrederv.
winem_ has quit [Ping timeout: 252 seconds]
<fearlessKim[m]> vrederv: https://nixos.wiki/wiki/FAQ#How_do_I_enable_sandboxed_builds_on_non-NixOS.3F --pure might be the best anser
sigmundv_ has quit [Ping timeout: 248 seconds]
szicari has joined #nixos
<LnL> pure has nothing to do with sandboxing
<LnL> but it should give you a shell that's very similar to a non sandboxed build environment
digitalmentat has joined #nixos
a6a3uh has quit [Quit: Bye]
<gchristensen> yeah ... I was sort of assuming vrederv wasn't actually thinking the technical version of sandbox, but you're right
lonokhov has quit [Quit: leaving]
fyuuri has quit [Ping timeout: 264 seconds]
wacke has quit [Ping timeout: 240 seconds]
nschoe has joined #nixos
<__monty__> How would one add optional dependencies to a package?
<LnL> usually with a flag that can be overridden
Guest93733 is now known as TweyII
TweyII is now known as Guest41947
<__monty__> I'm worried about the convenience. Would you have to specify the flags you want to override on updates?
coot has quit [Quit: coot]
<Guest41947> __monty__: { optional-dependency ? null }: stdenv.mkDerivation { buildInputs = optional (optional-dependency != null) optional-dependency; }
Guest41947 has quit [Changing host]
Guest41947 has joined #nixos
Guest41947 is now known as TweyII
orivej has joined #nixos
<__monty__> If you install a package with an optional dependency this way, will nix-env -u do the right thing?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 5 new commits to master: https://git.io/vNHgP
<NixOS_GitHub> nixpkgs/master 8e83158 Tuomas Tynkkynen: nixos/qemu: Deduplicate QEMU serialDevice into qemu-flags.nix
<NixOS_GitHub> nixpkgs/master 3be9d46 Tuomas Tynkkynen: nixos/tests: Drop unnecessary qemu-flags.nix include...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 1ce1380 Tuomas Tynkkynen: nixos/qemu-flags: Take a 'pkgs' parameter...
vidbina has quit [Remote host closed the connection]
<LnL> depends how you override it
<TweyII> __monty__: nix-env -u installs from all-packages.nix, which is where (combined with any config.nix overrides you may have) arguments get passed
<TweyII> __monty__: So nix-env has no say in what happens here, conventionally (you *could* have something in all-packages.nix that takes an argument and then use --arg with nix-env, but nobody does that AFAIK)
raynold has joined #nixos
<__monty__> TweyII: Even with -iA?
<LnL> yes, if you don't remove your config/overlay it gets applied to all user operations
digitalmentat has quit [Quit: Leaving]
<LnL> even if the package is not installed, you just won't notice it in that case :)
<__monty__> So the only way to deviate from the default flag values is an overlay/override?
oida has quit [Quit: WeeChat 1.6]
simendsjo has joined #nixos
<vrederv> fearlessKim[m], gchristensen, LnL thanks guys nix-shell seems sweet
<LnL> __monty__: no you can override things with flags like --arg/--argstr or by writing an expression
<__monty__> LnL: But you'd have to pass --arg when doing nix-env -u?
jb55 has joined #nixos
<LnL> yes
<LnL> something like --arg config '{}' will make the current command ignore your local config.nix for example
<LnL> not sure if it works with nix-env -u specifically
stephenjudkins has joined #nixos
<__monty__> I'm going over this package and I'm wondering why file is a propagatedbuildinput while less isn't. Can anyone tell me why this would be? https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/ranger/default.nix
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hotfuzz_ has joined #nixos
duckwho has joined #nixos
duckwho has quit [Client Quit]
<__monty__> file is an optional dependency and less is used as a fallback.
hotfuzz has quit [Ping timeout: 265 seconds]
digitus has joined #nixos
duckwho has joined #nixos
<TweyII> __monty__: I'm guessing because less is patched everywhere to refer to the Nix store path of less, but file is not — so it needs to be in path for the package to work
<TweyII> Why file isn't also patched in, I don't know — maybe it was just harder to patch
xcmw has joined #nixos
<TweyII> Probably there are more occurrences of ‘file’ in the codebase
<__monty__> What's generally the prefered method? Patching or propagating?
stepcut has quit [Remote host closed the connection]
duckwho has quit [Client Quit]
<magnetophon> I'm trying to build a pkg without optimisation, to work around a bug, so I put in 'NIX_CFLAGS_COMPILE = "";'. Is that correct? (still getting the bug, so I'm not sure.)
<TweyII> __monty__: I'd say patching
stepcut has joined #nixos
<TweyII> Propagating pollutes the build environment of any dependents
thblt` is now known as thblt
<__monty__> What should upstream do to make patching as painless as possible?
lexwho has joined #nixos
<TweyII> Ideally, patching shouldn't be required — there shouldn't be hardcoded paths to things in the source. If upstream makes the paths of programs configurable or looks them up at build time (though I'm not sure how advisible that is), we just have to flag them
<TweyII> If there are paths in source it sure helps if they're only mentioned in one place in a variable or something
nix-gsc-io`bot has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #34428: gegl_0_3: 0.3.26 → 0.3.28 (master...gegl-0.3.28) https://git.io/vNHor
NixOS_GitHub has left #nixos [#nixos]
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/078fc694257 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
ryanartecona has quit [Quit: ryanartecona]
<lexwho> excuse me, gentlemen, i'm making pkgs.buildFHSUserEnv ... with pkgs ... how can I tell in to install packages only prebuilt binaries? because they are compiling from source. is that even possible?
<TweyII> Note that AFAIK NixOS adheres to the FHS, so anything that doesn't build on NixOS because it assumes the path of something is technically violating that standard
<__monty__> TweyII: ranger uses a couple commands like 'echo', some fallbacks 'less' and 'vim' and has some optional deps like 'file'. I don't think any of the paths are hardcoded.
<TweyII> __monty__: Sorry, by ‘hardcoded’ I included looking up the paths in PATH at runtime
stepcut has quit [Ping timeout: 240 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<TweyII> ‘echo’ is a shell builtin in bash
coot has joined #nixos
<__monty__> TweyII: At some point ranger used /bin/echo but that's not important. Is there a way ranger can fallback to less and vim without requiring even default configuration?
Isorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Isorkin has joined #nixos
ottidmes has joined #nixos
<ij> Can I use nix-build get a path to build's output only if it's been built already?
<symphorien> I think -j0 does that
xcmw has quit [Ping timeout: 248 seconds]
<lexwho> excuse me, gentlemen, i'm making pkgs.buildFHSUserEnv ... with pkgs ... how can I tell in to install packages only prebuilt binaries? because they are compiling from source. is that even possible?
Arcaelyx has joined #nixos
<symphorien> If they compile from source this is usually that prebuilt ones are not available
aarvar has joined #nixos
<infinisil> TweyII: NixOS certainly does *not* adhere to FHS? Or was that a typo?
<lexwho> let me explain : I have lets say 'nix-index' package in my host system. it is installed from prebuild binary with nix-env -iAb "" and i'm happy. but when I add nix-index to my buildFHSUserEnv, it is building from source. how to avoid last, and force usage of binary?
<infinisil> lexwho: it depends on the nix expressions used to build the FHS stuff, which could be completely different than the installed one
oida has joined #nixos
<simpson> lexwho: There might not be a suitable binary. After all, binaries are only *cached* copies of builds that you would have done yourself.
<ij> symphorien: It seems to be working. I tested with just «runCommand "x" {} "echo x > $out"» and it actually works. I'm amazed.
<TweyII> infinisil: I believe it does
<TweyII> infinisil: The FHS is quite minimal
<simpson> TweyII: NixOS does *not* conform to FHS.
<infinisil> It's even listed explicitly as one that does not adhere to it
<clever> lexwho: most of the time, buildFHSUserEnv is the wrong tool to solve a problem
<TweyII> infinisil: Damn. :( Okay.
swayf_ has joined #nixos
<infinisil> I fail to see why you thought it would
<simpson> TweyII: No /lib, /usr/bin is minimal, /usr and /var are missing many subdirs, etc.
<simpson> I mean, what's your NixOS install look like? My /usr/bin has only /usr/bin/env in it!
<infinisil> and /bin has only sh in it
fragamus has joined #nixos
<clever> and you dont even have a /lib
<TweyII> simpson: What does FHS guarantee exists in /{usr/,}bin?
swayf has joined #nixos
<TweyII> Quite a few things, on closer inspection
a6a3uh has joined #nixos
<TweyII> I guess it's not nearly as minimal as I thought it was
rihards has joined #nixos
<simpson> It's not at all minimal. FHS is valuable because it's cross-kernel and cross-distro and cross-vendor; LSB only applies to Linux distros.
<TweyII> Yeah.
<TweyII> Just a long-standing misconception of mine, I guess
<TweyII> Good to have it fixed
swayf_ has quit [Ping timeout: 265 seconds]
stephenjudkins has quit [Remote host closed the connection]
johnw has joined #nixos
jensens has quit [Ping timeout: 268 seconds]
johnw_ has joined #nixos
johnw has quit [Ping timeout: 248 seconds]
yegortimoshenko has quit [Remote host closed the connection]
TweyII has quit [Ping timeout: 240 seconds]
yegortimoshenko has joined #nixos
mkoenig has quit [Ping timeout: 256 seconds]
07IACDZD4 has joined #nixos
<07IACDZD4> nixpkgs/master aa2e607 dywedir: dunst: 1.3.0 -> 1.3.1
07IACDZD4 has left #nixos [#nixos]
<07IACDZD4> nixpkgs/master 4cfa91e Joachim F: Merge pull request #34417 from dywedir/dunst...
<07IACDZD4> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vNH1D
7GHAB0FU6 has joined #nixos
<7GHAB0FU6> [nixpkgs] joachifm closed pull request #34417: dunst: 1.3.0 -> 1.3.1 (master...dunst) https://git.io/vNHv3
7GHAB0FU6 has left #nixos [#nixos]
mkoenig has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
<infinisil> what is up with this nixos bot's weird nick
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #34403: Semi automated emacs package updates (master...semi-automated-emacs-package-updates) https://git.io/vN9WI
NixOS_GitHub has left #nixos [#nixos]
<gchristensen> infinisil: I think it is probably contention in github's bot causing it to not be able to become the right nickname
<infinisil> it should really just stay joined instead
randomstrangerb has quit [Ping timeout: 256 seconds]
<infinisil> but i guess that requires a machine being connected constantly, which github probably doesn't want to do, but still
<gchristensen> Irc accounts can only be in so many channels at once
randomstrangerb has joined #nixos
rihards has quit [Quit: rihards]
glenn_ has quit [Remote host closed the connection]
glenn_ has joined #nixos
<samueldr> ♥ nix, nixos and y'all devs, if you didn't know; again nix saves the day at work by making something hard much more trivial (sorry I can't be more specific)
<fpletz> nix makes easy problems hard and hard problems easy :3
<gchristensen> I prefer my easy problem to be hard than my hard problems to be ehard
glenn_ has quit [Ping timeout: 276 seconds]
FRidh has joined #nixos
stepcut has joined #nixos
<ottidmes> Does it make sense security wise to try and use openssh in the initrd rather than dropbear? I would guess it could increase the attack vector (larger project, more configuration that could be misconfigured) or decrease it (dropbear might be susceptible to certain attacks openssh is not).
a6a3uh has quit [Quit: Bye]
jtojnar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #34405: Adds modifier option to developPackage (master...developPackage-modifier) https://git.io/vN9Rm
NixOS_GitHub has left #nixos [#nixos]
glenn_ has joined #nixos
<fpletz> ottidmes: I would also prefer openssh but it will probably make the initrd much bigger, but that doesn't matter on a server
<fpletz> dropbear is ~500k and openssh is ~3M
<ottidmes> fpletz: Right, that was what I was thinking as well, the space requirements is a non-issue for me
<Yaniel> the smaller one makes more sense if you are going to audit it at least
<Yaniel> since there is less to inspect
mkoenig has quit [Ping timeout: 268 seconds]
ryanartecona has joined #nixos
ma27 has joined #nixos
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
mkoenig has joined #nixos
glenn_ has quit [Ping timeout: 252 seconds]
ma27 has quit [Client Quit]
stepcut has quit [Remote host closed the connection]
<infinisil> Nooo, why is haskell-ide-engine marked as broken in master :(
stepcut has joined #nixos
tmaekawa has joined #nixos
stepcut_ has joined #nixos
periklis has quit [Ping timeout: 240 seconds]
stepcut has quit [Read error: Connection reset by peer]
<tmplt> is it possible to override a package so that a command is run before starting the program within? This is for idea-community on bspwm, which I do `wmname LG3D` before starting.
marusich has joined #nixos
Czen has quit [Quit: Tumbling down]
<ottidmes> I have already tried to replace dropbear with openssh, but I am not quite sure how to fix the privilage seperation error message. I did add the sshd user to /etc/passwd, but I probably missed some other stuff
Czen has joined #nixos
<ottidmes> tmplt: Why not just add this script to your bspwmrc: https://github.com/baskerville/bspwm/issues/391
glenn_ has joined #nixos
<tmplt> ottidmes: I do this currently, but since I only need to do this for Idea I figured I could Nix-ify it if possible
<infinisil> simpson: you don't happen to be @peti on github?
<simpson> infinisil: No?
glenn_ has quit [Remote host closed the connection]
<infinisil> never mind then
glenn_ has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rardiol1 has quit [Remote host closed the connection]
jb55 has quit [Read error: Connection reset by peer]
<ottidmes> tmplt: I just put my bspwmrc in my NixOS configuration git repo, I do not really see the value in lifting it to the Nix language
rardiol1 has joined #nixos
vrederv has quit [Quit: leaving]
bfrog has joined #nixos
<FRidh> funny, nix-instantiate and nix eval keep certain containers (lists, sets) as CODE, whereas integers and strings at similar location are represented properly
xcmw has joined #nixos
<infinisil> FRidh: what else would you expect?
<contrapumpkin> if you have integer literals and string literals and such they're not going to be thunks
stepcut_ has quit [Remote host closed the connection]
<FRidh> I would each to be serialized to json
<contrapumpkin> --strict
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/staging e851d53 Vladimír Čunát: docbook-xsl-ns: "revert" after parent commit...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vNHQs
<magnetophon> When I build a pkg with NIX_CFLAGS_COMPILE = "-Ofoo"; it fails, as expected, but when I use NIX_CFLAGS_COMPILE = "-O0"; it still builds with -O3 What's going on?
<magnetophon>
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vNHQ8
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/staging c9171e5 Vladimír Čunát: Merge branch 'master' into staging...
<FRidh> contrapumpkin: thank you!
<FRidh> I should have asked this before...ugh
<contrapumpkin> :)
<hyper_ch> hey Mic92, are you there?
ssmike has quit [Remote host closed the connection]
<symphorien> magnetophon: that's due to hardening
<lexwho> hello, so i'm trying to write code in NIX, i made file default.nix with contents : with builtins; [(elem 2 [1 2 3])] ; when i call nix-repl default.nix it compains: error: value is a list while a set was expected . how to fix?
nonethejewels has quit [Quit: Lost terminal]
ssmike has joined #nixos
<symphorien> -DFORTIFYSOURCE requires -O2
<magnetophon> symphorien: so how do I build without -O3 ?
knupfer has joined #nixos
<symphorien> Can't remember exactly but something like disableHardening=all
vcunat has joined #nixos
<magnetophon> symphorien: thanks!
<symphorien> To do more fine grained things, best is to read the code of gcc-wrapper
<contrapumpkin> lexwho: nix-repl doesn't want a file with a top-level list
<contrapumpkin> why do you have a top-level list?
<contrapumpkin> it normally treats its argument as the attrset to bring into scope within the repl session
<magnetophon> symphorien: I have hardeningDisable = [ "all" ]; and NIX_CFLAGS_COMPILE = "-O0"; but I still get -O3... :/
<magnetophon>
<lexwho> how do I know what nix-repl want? :)
<lexwho> i'm trying to practice code from https://learnxinyminutes.com/docs/nix/
<symphorien> Export NIX_DEBUG=1 to find out
<lexwho> just want to write code in file , to print output for various expressions
<infinisil> lexwho: you just open nix-repl (without arguments), then write `import default.nix` and press enter
<infinisil> lexwho: you can also do (on the command line): `nix-instantiate --eval` which does what you wanted (eval's the file default.nix`
<infinisil> which is equivalent to `nix-instantiate --eval default.nix`
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #nixos
swayf has quit [Remote host closed the connection]
swayf has joined #nixos
coot has quit [Quit: coot]
<lexwho> sounds nice) when i open nix-repl and type import defaut.nix it says undefined variable. when nix-instantiate --eval default.nix , the output is [ <CODE> ]. like literrally, without result of evaluation
stepcut has joined #nixos
rauno has joined #nixos
<symphorien> Maybe import ./default.nix
<tmplt> I tried `services.xserver.displayManager.slim.theme = pkgs.slimThemes.flat;` instead of copying the `pkgs.fetchurl` call from `slim/themes.nix` in nixpkgs. This compiled but display-manager failed to start, unable to find `/nix/store/...-slim-theme/default/slim.theme`. Is this not supposed to work?
<lexwho> well, that did a job! thanks!
<tmplt> Copying the fetchurl call works, as per the example value, but since it passed through Nix I figured it would work.
swayf has quit [Ping timeout: 265 seconds]
jb55 has joined #nixos
<lexwho> interesting notice : when i change code in default.nix and import it again, repl output last (probably cached) result and don't re-evaluate code changes. in order to re-evaluate code changes in default.nix, i had to restart nix-repl
rauno has quit [Ping timeout: 240 seconds]
coot has joined #nixos
<lexwho> at least it works some how :)
swayf has joined #nixos
<srhb> tmplt: I think it's just that the path is not what you expect. It appears to be in share/slim/themes/flat-testing
verite has joined #nixos
<tmplt> srhb: Ah, I see
<tmplt> Specifying that should probably work then
hiroshi has quit [Ping timeout: 240 seconds]
<srhb> tmplt: Well, perhaps. It seems to make more assumptions about what the path actually is.
pSub has joined #nixos
pSub has quit [Changing host]
pSub has joined #nixos
winem_ has joined #nixos
<infinisil> lexwho: ah right, sorry yeah, paths need to have a "/" in them to be paths, so ./default.nix instead of default.nix, and since default.nix is the default (duh), you can also use ./. instead of ./default.nix
stephenjudkins has joined #nixos
<srhb> tmplt: Yeah, it calls unpackFile on the theme.
<infinisil> lexwho: and yeah, my mistake, nix-instantiate --eval doesn't evaluate everything strictly, you need to use nix-instantiate --eval --strict for that
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rauno has joined #nixos
<tmplt> srhb: `theme = "${pkgs.slimThemes.flat}/share/themes/flat-testing/";` works, however
<tmplt> Thanks for the help
<srhb> tmplt: Welcome! I guess unpackFile is a noop on such a path then, and doesn't fail. Great :)
<lexwho> however i'm still not sure how to iterate through lists and ranges in for each loop
<hyper_ch> Mic92: I fail at making a 3rd option for zfs :(
<infinisil> lexwho: nix is a functional language, there is no for loop, only map and fold and stuff
glenn_ has quit [Remote host closed the connection]
glenn_ has joined #nixos
* lexwho me https://www.zazzle.com/rlv/are_you_kidding_me_rage_face_meme_flyer-p244270233814540491bfpe8_400.jpg when confronting languages with paradigms other like python/java
<srhb> Don't worry, it'll pass. ;-)
<vcunat> Beware, it's addictive.
<srhb> But yes, not thinking in terms of loops or "instructions" can be daunting at first.
<srhb> That, too...
<infinisil> Haskell got me
<srhb> SML got me. (Then Haskell, because the IO story ruined the illusion)
<infinisil> The IO story?
<srhb> There is none.
<infinisil> oh
<srhb> Everything is pure and nice until oops, IO.
<srhb> Then you can just do whatever.
<srhb> *rage*
<infinisil> then you can't run anything?
<srhb> You can!
<srhb> You just lose all purity.
<srhb> Basically everything had an unsafePerformIO around it, in Haskell terms (but would evaluate every time, somehow)
<infinisil> oh i see, dang
<srhb> Well, no great loss. :-)
<srhb> I do miss the module system though...
<srhb> Oh well, can't have it all.
glenn_ has quit [Ping timeout: 240 seconds]
<lejonet> srhb, infinisil: Great news, the function works as intended :D
<infinisil> the function? you mean your module?
<lejonet> Yeah, the function to generate the service files
<lejonet> in the module
<infinisil> nice!
* infinisil refreshes lejonet's master ceph.nix file
<lejonet> So now I've only got one question (I guess 2) why didn't it add a [Install] section even tho I've specified wantedBy and how do I create targets, I guess in a similar way as I did services but systemd.targets instead of systemd.services?
<__monty__> srhb: Feel you on the modules.
<hodapp> grr, synergy is running, and client can ping the server, but despite me adding 24800 to allowedTCPPorts, that port still has seemingly nothing running on it when I try to hit it from the client
<srhb> lejonet: Yay!
<srhb> __monty__: Maybe backpack to the rescue :-)
FareTower has quit [Ping timeout: 256 seconds]
<hodapp> is there something else magical I must do to actually have synergy answer?
<tmplt> I'm trying to use `physlock` as user but am unable. Are users to allowed to run it by default?
<__monty__> srhb: I have a feeling it's more complex and less powerful though.
<lejonet> infinisil: the whole mkMerge ( map nested ugliness? Yeah, I definitively could (and should!)
<srhb> tmplt: Unable how? Is it a suid thing?
<srhb> __monty__: That's my first feeling too, but I didn't look into it much.
<tmplt> srhb: "physlock: Must be root!" is the only thing I get, and a 1 return value
<lejonet> just wanted to ensure the function worked as intended for the actual service :)
<srhb> hodapp: Does it listen on the address you expect?
<srhb> hodapp: (Well, obviously not, but does it maybe listen on localhost?)
<srhb> tmplt: Are you on NixOS? Maybe security.wrappers can help you
<hodapp> srhb: hm, 'netstat' seems to suggest it's not listening at all
<tmplt> srhb: I am; and I'll check that out
<srhb> hodapp: Perhaps if you specify an address for it?
<srhb> tmplt: For reference I'm using slock, which needs setuid root, so: security.wrappers.slock = { source = "{pkgs.slock.out}/bin/slock"; user = "root"; };
<srhb> tmplt: I then get a /run/wrappers/bin/slock which has setuid root
<hodapp> srhb: hm, I guess I'll try hard-coding an IP here
<srhb> hodapp: Worth a try!
<infinisil> tmplt: also running physlock daemon but not able to use it, i'll try messing around with it
<srhb> hodapp: I don't know the service, so I'm just guessing
<hodapp> hrmph, netstat still shows nothing listening on that port
<hodapp> srhb: me neither, because it's not really documented much
<srhb> hodapp: What's your config?
<infinisil> tmplt: srhb: It seems the root thing is rather hardcoded: https://github.com/muennich/physlock/blob/master/main.c#L109-L110
srdqty has joined #nixos
<infinisil> I don't have any experience with setuid though, but it feels relevant
<tmplt> infinisil: I'm trying out srhb's slock solution
<infinisil> i don't call just using another program a solution
<srhb> infinisil: I meant for them to replace slock with physlock of course.
<tmplt> infinisil: sorry, I meant I'll see about adapting it to physlock
<srhb> This is just the approach to use.
<infinisil> ah
<srhb> Hence "for reference" ;)
<srhb> hodapp: Does it barf anything to logs? Maybe it needs the config file. Otherwise I don't know.
ssmike has quit [Ping timeout: 256 seconds]
<pie_> just had a random idea
<pie_> wonder how good nix would be for building linux distros :D
<srhb> So good we ended up building one!
<pie_> building / developing
<hodapp> srhb: looking at "No protocol specified" now which apparently isn't a fatal error since the service is still running...
<pie_> well yeah but i mean like...yknow, generatins a separate distro ;P
<pie_> *generating
<srhb> pie_: I was being a bit facetious, but yes. :-P
<pie_> though i guess you could say people already do this
<tmplt> infinisil, srhb: `security.wrappers.physlock = { source = "${pkgs.physlock}/bin/physlock"; user = "root"; };` works! Thanks again for the help
<pie_> srhb, yeah i know :PPPP
<srhb> tmplt: You are welcome. :)
<srhb> tmplt: (Do note the security implications, by the way. The application is now root for all intents and purposes)
<hodapp> nothing in the logs suggests that it should just be failing completely to even listen on the port, blargh
ryanartecona has quit [Quit: ryanartecona]
<infinisil> tmplt: srhb: Nice! Should this maybe be in the nixos module?
<tmplt> srhb: understood; I'll have to keep tabs on pkgs.physlock, I suppose.
qu3u3 has joined #nixos
<srhb> infinisil: I don't think that anything should quietly setuid things, personally.
<srhb> But the lack of discoverability is annoying, granted :/
<srhb> There's precedence though.
<srhb> (like sudo, of course)
<infinisil> srhb: well not quietly, but have option like `services.physlock.allowNonRoot`
<hodapp> https://symless.com/forums/topic/2785-synergy-19-rc3-server-does-not-listen-on-port/ oh apparently it just ships broken, fuck this noise
magnetop` has joined #nixos
glenn_ has joined #nixos
<srhb> infinisil: That would probably be quite acceptable :)
<infinisil> srhb: which would be disabled by default, and have a description with info regarding security
* srhb nods
tmaekawa has quit [Quit: tmaekawa]
* infinisil thinks about PRing that
<tmplt> infinisil: I'm putting my vote behind an explicit option, if it counts for anything
<ottidmes> I have been using physlock for a while, without the user = "root"; bit, I do have the problem right now that I do not see any screens, but I can still unlock it with my password. I just thought that was because I was using kernel 4.4, I will see if user = "root" fixes this
magnetop` is now known as magnetophon`
<srhb> hodapp: Errr.
<infinisil> ottidmes: how do you invoke it?
magnetophon has quit [Ping timeout: 248 seconds]
<ottidmes> infinisil: I believe I just use services.physlock.enable = true; and then it just works when I suspend or hibernate with systemctl
<hodapp> maybe something like x2x will work.
<ottidmes> But I do have security.wrappers.physlock.source = "${pkgs.physlock}/bin/physlock";
<infinisil> ah well duh
<infinisil> systemctl stuff works too for me since always
<infinisil> just calling physlock without the security wrapper thing didn't work
duckwho has joined #nixos
ryanartecona has joined #nixos
MP2E has joined #nixos
<infinisil> tmplt: wait, you don't get the "must be root" error anymore when running `physlock`? because i do, even with the security wrapper thing added
<srhb> infinisil: which physlock?
<srhb> infinisil: You need the one from /run/wrappers/bin specifically
<tmplt> infinisil: I do not, no.
magnetophon` is now known as magnetophon
<ottidmes> infinisil: did you include user = "root"?
<infinisil> srhb: oh, hold on
<infinisil> yeah that works srhb
<srhb> Great :)
glenn_ has quit [Ping timeout: 252 seconds]
<srhb> It might be confusing to have the original in systemPackages at the same time anyway. I don't recall the normal PATH order
<srhb> (I *think* it should be first though)
<infinisil> yeah that's what's bothering me
glenn_ has joined #nixos
<lejonet> infinisil: Hmm, I now have a conundrum when refactoring, it works like a charm except for one daemon type that has need to know the id of itself in the extraServiceConfig, which I send in from outside the function
<lexwho> guys, i'm in nix-repl, how i can explore whats inside stdenv package\module? internal functons like stdenv.something?
alanz has quit [Quit: ZNC - http://znc.in]
<tmplt> srhb: wait, should /run/wrappers/bin be specified somewhere?
<srhb> lexwho: Tab completion :)
alanz has joined #nixos
<srhb> tmplt: I think it's on $PATH by default?
<infinisil> srhb: tmplt: ottidmes: Oh I see, I had to relog
<lejonet> infinisil: I'm thinking of maybe just adding a if then else statement in the function might work to have it to have all info, but was wondering if there maybe was a nifty way to do it otherwise?
a6a3uh has joined #nixos
<lexwho> srhb not so simple, should i write "import stdenv" or "with stdenv" or what and how?
<srhb> lexwho: Oh, you probably want to start the repl with nix-repl '<nixpkgs>'
qu3u3 has quit []
<srhb> lexwho: Then, you can tab complete pkgs.stdenv.<TAB>
<srhb> lexwho: Mind, stdenv is *probably* not what you want to explore if you're just learning the language. Perhaps builtins.<TAB> and lib.<TAB> are more useful.
<infinisil> lejonet: what id are you talking about?
<lejonet> infinisil: the one in the daemons list, the one that is given to the generateServiceFile function by the map function
<srhb> lexwho: Did you try the interactive tutorial, by the way?
<lejonet> I guess there isn't really a way to get delayed processing of a ${} in a string sent into a function? Logically it resolves all those when it calls the function (unless I maybe could escape the $ ?)
fragamus has joined #nixos
<lexwho> srhb , which interactive tutorial you mean? plz share the link
<infinisil> lejonet: maybe you just want to have that service more separate, since it's actually a bit more different
<infinisil> lejonet: everything is delayed in nix, it's called laziness
<tmplt> I'm trying out `nixos-rebuild build-vm` (great feature, by the by) but I can't get mouse input to work. qemu doens't even display one. Must it be enabled? Keyboard input works.
<lexwho> srhb oh, I see it first time, looks great, I want to try it, thanks for sharing.
xcmw has joined #nixos
* lexwho bookmarked
<srhb> lexwho: :)
<infinisil> lejonet: can you link to a commits specific line of where the id thing still works maybe? I'm still not sure what you mean
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #34429: libxkbcommon: 0.7.2 → 0.8.0 (master...libxkbcommon-0.8.0) https://git.io/vNHjX
NixOS_GitHub has left #nixos [#nixos]
<lejonet> infinisil: yeah I know that nix is lazy, But I was thinking of maybe if you could make it even lazier xD
<lejonet> infinisil: sure, let me find it
<infinisil> it's the laziest it can get, since it only evaluates stuff when it really needs it
<lejonet> Well thats the thing tho, I was thinking that maybe I could escape the ${} that is sent into the first function, so that it doesn't get evaluated until its sent into the second function, where the ${daemon} actually is in scope, which it isn't in the first function call
coot has quit [Quit: coot]
<__monty__> lejonet: Just wrap it in a function.
<srhb> tmplt: Hmm, I'm not sure what might cause that. I have mouse in my build-vm
<lejonet> __monty__: wrap what in a function? the string?
hiroshi has joined #nixos
<lejonet> I guess I could make a generateExtraServiceConfig function that generates all that
<lejonet> That might be the cleanest solution honestly
<__monty__> lejonet: Yeah {var}: "something about ${var}"
civodul has joined #nixos
<infinisil> lejonet: make sure to not abstract stuff that only gets used once
<infinisil> abstraction is useless in such a scenario
<infinisil> and makes the code just harder to read
<infinisil> so maybe you should just separate that single service that's different from the others
<infinisil> a bit more
<lejonet> infinisil: well, this would technically just create a function that is an attr set, that returns a different attrset depending on value input, it would be used only in 1 place, but that function would be the generateDaemonList function, so it would be called 4 times at the most (and 0 times at the least)
<tmplt> Another issue I'm trying to fix: should `programs.command-not-found.enable = true` create an /etc/zshrc? It does that for bash, and what it looks like in nixpkgs, it should for zsh.
srdqty has quit [Quit: WeeChat 1.9.1]
erictapen has quit [Remote host closed the connection]
erictapen has joined #nixos
<tmplt> But it is absent, so the helper function is never sourced
<tmplt> command_not_found_handle(), that is
<srhb> tmplt: It does set programs.zsh.interactiveShellInit
<lejonet> infinisil: you mean like creating a specific generateDaemonList for that service?
simendsjo has quit [Ping timeout: 240 seconds]
<srhb> tmplt: iff programs.zsh.enable = true
<srhb> tmplt: Maybe you don't have that? :)
ThatDocsLady has quit [Ping timeout: 248 seconds]
<tmplt> srhb: that was the option I was missing, yes; thanks thrice-fold
<srhb> I'm on a roll! \o/
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lejonet> infinisil: maybe I should just add an optionalAttrs here: https://github.com/lejonet/nixpkgs/blob/ceph/nixos/modules/services/network-filesystems/ceph.nix#L38
<infinisil> lejonet: hmm not sure
<lejonet> it would be the easiest solution, but maybe not the most correct one
<lejonet> Because that string needs the daemonId variable, that is in scope at that line
<lejonet> Sure, its in scope at L13 too, but it seems like it would be messy to add it there
<lejonet> (in L13 its called daemon instead)
vidbina has joined #nixos
nuncanada has quit [Ping timeout: 256 seconds]
<infinisil> lejonet: it seems you've got a pretty good feel for the language now :)
<lejonet> infinisil: My latent programming brain cells seem to start to wake up a bit atleast :P
<lejonet> all 3 of em!
<infinisil> heh
fragamus has joined #nixos
ckauhaus has quit [Quit: Leaving.]
ssmike has joined #nixos
<lejonet> Jokes aside, I think it would be best to put it at L38 as an optionalAttrs (daemonType == "osd") { thingy }; Mainly due to the fact that its a ExecStartPre directive, so not just a "simple" key valuepair like more or less all the other serviceConfig stuff is
asuryawanshi has quit [Read error: Connection reset by peer]
<infinisil> seems reasonnable
<lejonet> That will also make the code at L278-281 cleaner, because it won't have a looooong string value that destroys the otherwise nice lineup
fragamus has quit [Ping timeout: 252 seconds]
* infinisil is kinda tired and will therefore just nod in agreement to lejonet's future code refactorings
<lejonet> haha, no worries ^^ I appreciate the input regardless, you can just yell at me in the PR if something goes horribly wrong
lsyoyom has quit [Quit: WeeChat 1.9.1]
asuryawanshi has joined #nixos
lsyoyom has joined #nixos
ssmike has quit [Ping timeout: 252 seconds]
goibhniu has quit [Ping timeout: 264 seconds]
coot has joined #nixos
jensens has joined #nixos
aarvar has quit [Ping timeout: 265 seconds]
<infinisil> ye :)
WilliButz has quit [Ping timeout: 256 seconds]
Isorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
alex`` has quit [Remote host closed the connection]
Isorkin has joined #nixos
alex`` has joined #nixos
<lejonet> Yay, its working as intended, now to create the appropriate targets too
<lejonet> Still don't understand why no [Install] section is generated for the services :/
<lejonet> But it seems to be a nixos/nix thing so probably all is nice and dandy
fragamus has joined #nixos
<lexwho> will be happy to clarify few details, I understood structure: " { ar, gu, ments }: #\n and then body of function " , but what "..." and " {} " does mean in { ..., pkgs ? import <nixpkgs> {} }:
<lexwho> ?
johnw_ is now known as johnw
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #34430: psol, ngx_pagespeed: 1.13.35.1 -> 1.13.35.2 (master...update/pagespeed-1.13.35.2) https://git.io/vNQUb
NixOS_GitHub has left #nixos [#nixos]
johnw has quit [Changing host]
johnw has joined #nixos
<lejonet> { } is just an attribute set
<srhb> lejonet: [Install] doesn't make much sense. It's used by systemctl enable/disable which you cannot on NixOS, since it's a read only filesystem
<lejonet> srhb: True, and nix handles the enabling/disabling in its own way
<srhb> lexwho: https://nixos.org/nix/manual/#ss-functions -- the section about set patterns
<srhb> lexwho: In short, that entire thing is ONE argument (a key/value set) which must have keys ar, gu and ments.
<srhb> lexwho: If it also included "..." it would allow other keys to be present in the set.
<lexwho> thanks
jb55 has quit [Read error: Connection reset by peer]
WilliButz has joined #nixos
Neo-- has quit [Ping timeout: 240 seconds]
hamishmack has quit [Quit: hamishmack]
magnetophon has quit [Ping timeout: 248 seconds]
randomstrangerb has quit [Ping timeout: 268 seconds]
randomstrangerb has joined #nixos
WilliButz has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #34431: json-glib: fixup darwin install_name (master...darwin-json-glib) https://git.io/vNQkf
NixOS_GitHub has left #nixos [#nixos]
szicari has quit [Read error: Connection reset by peer]
szicari_ has joined #nixos
magnetophon has joined #nixos
WilliButz has joined #nixos
petar has quit [Remote host closed the connection]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
winem_ has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ajgrf opened pull request #34432: mblaze: 0.3 -> 0.3.1 (master...mblaze-update) https://git.io/vNQki
NixOS_GitHub has left #nixos [#nixos]
petar has joined #nixos
coot has quit [Quit: coot]
stepcut has quit [Remote host closed the connection]
jb55 has joined #nixos
digitus has quit [Quit: digitus]
aarvar has joined #nixos
acertain has joined #nixos
coot has joined #nixos
<lejonet> lol, I think my most common commit message so far is something involving adding/removing ; xD
duckwho has quit [Ping timeout: 260 seconds]
duckwho has joined #nixos
kreetx has quit [Ping timeout: 268 seconds]
digitus has joined #nixos
<samueldr> aren't most commit either adding, removing or a combination of both?
<lejonet> I'm meaning that I have a whole bunch of commits that only add, move or remove semicolons in different places :P
vcunat has quit [Quit: Leaving.]
a6a3uh has quit [Quit: Bye]
<lejonet> infinisil,srhb: now I've added the targets and tmpfiles, I would deem the module ready for testing now :D
<lejonet> Because now it can successfully generate ceph.conf, all of the services for the different daemons, the different targets and adds the appropriate rule in tmpfiles.d
<infinisil> lejonet: I actually have no need for ceph at all, so not sure if I'll be actually testing it
<infinisil> well i can run it i guess, but that's about it
<lejonet> infinisil: yeah, I know that, was more as a fyi/status update :)
hamishmack has joined #nixos
<lejonet> But now its time for me to actually setup my cluster and ensure it works, now that I can conf it completely through a fancy nix expression :D
<infinisil> \o/
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<infinisil> Damn, is there no way to generate a random value in nix?
<lejonet> Is going to be very interesting to see how the performance differs on baremetal as opposed to fully virtualised (I've done some labtests with all the daemons virtualised and such)
<infinisil> I guess IFD would work, but meh
<lejonet> infinisil: generate it the debian way?
<lejonet> Aka set it to 4, as decided by a fair dice roll
<infinisil> heh
<infinisil> I guess a prng could work, with builtins.currentTime as a seed hmmmmmmmmmm
<infinisil> interesting
<lejonet> Whatcha need a random value for? Seeings as randomness is a wide topic I'm not surprised that nix doesn't really have a function for it
randomstrangerb has quit [Ping timeout: 248 seconds]
<infinisil> lejonet: i thought about generating a random configuration.nix for testing or an example
<lejonet> Interesting thought
randomstrangerb has joined #nixos
<infinisil> currently looking for a simple prng
asuryawanshi has quit [Ping timeout: 264 seconds]
<lexwho> https://0x0.st/sb_O.nix omfg, what have I done, I'm makin progress, wasn't beleived it is possible, but soon will be able to write better expressions
<lejonet> fetching values from /dev/random or urandom isn't a possibility?
<lejonet> lexwho: awesome domain name
ryanartecona has quit [Quit: ryanartecona]
<infinisil> lejonet: that would require IFD which is really slow, especially if it would be used for each random value anew
<lejonet> infinisil: ah, what is IFD?
<lejonet> But yeah, anything that forces a context switch from nix is a bad thing, because it'll add a significant amount of latency
<infinisil> import-from-derivation, essentially something like `import (pkgs.runCommand "foo" {} "echo 10 > $out")` which will evaluate to 10
<infinisil> where you import nix code from a resulting build
<infinisil> this means builds need to run during nix evaluation
<lejonet> Essentially running a subshell child process?
<infinisil> not really
<infinisil> you declare a derivation and how it gets built, and then import nix code from that
<infinisil> which means the nix code doesn't even exist when you start evaluating
<infinisil> and it needs to construct it by doing a nix-build first
<infinisil> then import it
hiratara has quit [Ping timeout: 252 seconds]
<lejonet> ah, I see, yeah, that adds a looot of overhead
<infinisil> but actually that won't work for random values
<infinisil> oh, maybe it does, *thinks*
<infinisil> it does! maybe not even half-bad
<lexwho> i'f i'm in nix-repl, how I can see something line in python> help(object.function) to see documentation, API, possible artguments and return value?
<lexwho> *like in python
hiratara has joined #nixos
<infinisil> lexwho: you can't
<lexwho> sorry for mistyping, sleepy (1 a.m.)
<infinisil> lexwho: the only thing that has docs associated with it are nixos options
jb55 has quit [Ping timeout: 240 seconds]
<infinisil> You'll have to view the source of nixpkgs/lib to see the library docs
<lexwho> let's say I want to see API refference\doc about lib.id , how could I?
<lejonet> You guys good with nixops? Is there anyway to create ad-hoc tasks that is run just once? I'm thinking like the creating the ceph cluster, I'm going to have to do a one time initialization per disk and such, create some directories for the different daemons and such
<infinisil> lejonet: i think that's usually done with an ExecPre
<lejonet> infinisil: but it should be a permanent directory/mountpoint... in the /var path too, so I don't really see why it should have to be checked each startup of the service, just feels... iffy to me :P
Fare has joined #nixos
<lexwho> or I want to see doc for builtins.head , is that impossible?
jb55 has joined #nixos
<lexwho> k, I found related doc in https://nixos.org/nix/manual/ , sorry if distracted you
<infinisil> lexwho: and when the user removes the directory and starts the service again it should fail?
<lexwho> my bad)
babyflakes has quit [Quit: Connection closed for inactivity]
<infinisil> sorry that was to lejonet
<lexwho> np mate
<infinisil> lejonet: it kinda makes sense to have a directory check before the service starts
<lejonet> infinisil: well, seeing as atleast for the osd daemontype, they are mountpoints, starting the service without the appropriate disk mounted on the mountpoint is reallly bad
<lejonet> I can buy it a bit more for the other daemontypes, but not the osd daemontype
coot has quit [Quit: coot]
<lejonet> (mainly because other than osd daemons, the other daemons "just" need a directory to store some metadata in, whereas the osd daemon is the actual object backing part of ceph)
jb55 has quit [Ping timeout: 256 seconds]
jensens has quit [Ping timeout: 248 seconds]
<lejonet> and the annoying part with having a ExecPre is that even tho the default location is quite simple, its completely user configurable to where each daemon looks for its stuff :/
stepcut has joined #nixos
ryanartecona has joined #nixos
duckwho has quit [Quit: WeeChat 2.0.1]
<lexwho> oh what a good productive day
Fare has quit [Ping timeout: 256 seconds]
<lexwho> I have done and learned so much
acertain has left #nixos ["WeeChat 1.9.1"]
duckwho has joined #nixos
duckwho has quit [Client Quit]
ryanartecona has quit [Ping timeout: 256 seconds]
jb55 has joined #nixos
szicari_ has quit [Quit: szicari_]
simukis has quit [Quit: simukis]
hiratara has quit [Quit: ZNC - http://znc.in]
<lexwho> damn, bros, dat feeling when you lurking youtube for nix language lecture but instead tube spams you with creepy asian animations, I will not share link to this harmful stuff in order to save sanity and mental health
hiratara has joined #nixos
<infinisil> lexwho: is this sarcasm?? GIVE ME THE LINK
coot has joined #nixos
* lexwho full of irony and puns
<lexwho> stay safe, oyasumi
lexwho has quit []
steshaw has joined #nixos
jb55 has quit [Ping timeout: 240 seconds]
vidbina has quit [Ping timeout: 268 seconds]
<Ralith> ooh, nix-bundle looks neat
<Ralith> I wonder why it has slow startup
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tertleeltret has joined #nixos
Itkovian_ has quit [Ping timeout: 256 seconds]
<joepie91> Ralith: presumably because it's a self-extracting archive that needs to extract first or something?
__monty__ has left #nixos [#nixos]
<Ralith> ah, of course
<Ralith> I guess it needs to be refactored to use some sort of compressed filesystem instead
vidbina has joined #nixos
matthewbauer has joined #nixos
<hodapp> "Chix Nix Bundle-O-Stix: A Feminist Critique of the Disaggregation of Property" no, search engine, not *that* nix-bundle
<dtz> lol!
Itkovian has joined #nixos
<matthewbauer> anyone know what's preventing nixpkgs-unstable from getting updated? all jobs succeeding here: https://hydra.nixos.org/job/nixpkgs/trunk/unstable#tabs-constituents
ottidmes has quit [Quit: WeeChat 1.9.1]
<fpletz> matthewbauer: that's the job you want: https://hydra.nixos.org/job/nixos/trunk-combined/tested
<fpletz> looking into it
coot has quit [Ping timeout: 240 seconds]
ykaelig has joined #nixos
yann-kaelig has quit [Ping timeout: 252 seconds]
Myrl-saki has quit [Ping timeout: 268 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 72ab053 Daniel Frank: firefox-bin: 58.0 -> 58.0.1 [security]...
<NixOS_GitHub> nixpkgs/release-17.09 c1d9aff Andreas Rammhold: Merge pull request #34425 from tokudan/1709-ff-bin5801...
<NixOS_GitHub> [nixpkgs] andir pushed 2 new commits to release-17.09: https://git.io/vNQ9W
NixOS_GitHub has left #nixos [#nixos]
xcmw has joined #nixos
Itkovian_ has joined #nixos
<magnetophon> Can anyone tell me why llvm defaults to v4 and not v5?
matthewbauer has quit [Ping timeout: 248 seconds]
Itkovian has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill closed pull request #34175: npth: 1.3 -> 1.5, enable tests, update license (staging...update/npth) https://git.io/vNV6U
NixOS_GitHub has left #nixos [#nixos]
thblt has quit [Ping timeout: 264 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #34433: faust: 2.5.10 -> 2.5.17 (master...faust) https://git.io/vNQHs
NixOS_GitHub has left #nixos [#nixos]
aminechi1haoui has joined #nixos
aminechi1haoui has quit [Client Quit]
aminechikhaoui has quit [Quit: leaving]
aminechikhaoui has joined #nixos
aminechikhaoui has quit [Client Quit]
aminechikhaoui has joined #nixos
aminechikhaoui has quit [Client Quit]
aminechikhaoui has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
aminechikhaoui has quit [Client Quit]
aminechikhaoui has joined #nixos
<dtz> magnetophon: because no one wants to test the PR that changes the default ;)
<dtz> (and of course no one wants to break things that aren't tested yet :))
<dtz> magnetophon: changing the default has greatest impact on Darwin, which also is rather under-powered re:builders so understandably such big changes can take time unless motivated by a bug or something
<LnL> I'm going to try to look at it properly this week
<dtz> \o/
<magnetophon> dtz: ok, thanks. Then I guess I made the right choice to have my pkg PR depend on 5.
<dtz> (and since Linux has no "real" pressing reason to bump, splitting the default didn't seem warranted :))
<dtz> magnetophon: esp with 6 around the corner! :)
* dtz can't believe LLVM (trunk) is "7" haha
<dtz> crazy new versioning :D
glenn_ has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markuskowa opened pull request #34434: uhd: 3.10.2.0 -> 3.10.3.0 (master...uhd-fix-boost-pr) https://git.io/vNQQi
NixOS_GitHub has left #nixos [#nixos]
Itkovian_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aminechikhaoui has quit [Quit: leaving]
Fare has joined #nixos
matthewbauer has joined #nixos
alexteves_ has quit [Ping timeout: 252 seconds]
aminechikhaoui has joined #nixos
mizu_no_oto has joined #nixos
aminechikhaoui has quit [Quit: leaving]
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
aminechikhaoui has joined #nixos
Sonarpulse has quit [Ping timeout: 248 seconds]
aminechikhaoui has quit [Client Quit]
verite has quit [Ping timeout: 256 seconds]
aminechikhaoui has joined #nixos
alex`` has quit [Ping timeout: 252 seconds]
freeman42x[NixOS has quit [Ping timeout: 276 seconds]
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
jono has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
binh_ has joined #nixos
glenn_ has joined #nixos
<Lisanna> Hey guys, for some reason my NixOS module is failing with infinite recursion if I reference "config" from inside config at all. I have something like this: { config, lib, pkgs, ... }: let cfgBase = config; in { options.services.blah = ...; config = ... lib.traceSeqN 1 cfgBase ...; }
fyuuri has joined #nixos
<Lisanna> is this a frequently encountered problem that has an understood likely fix?
<fpletz> Lisanna: are you setting an option in the config attrset that you're refering to with cfgBase?
<Lisanna> I mean, yeah, isn't that the point?
<Lisanna> but, I do actually have other references to it that work
<fpletz> i mean the exact same option
bsima has joined #nixos
stepcut has quit [Remote host closed the connection]
<Lisanna> all the options in config = ..; just create systemd services
<Lisanna> and a user