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://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
acarrico has joined #nixos
loonquawl has quit [Quit: loonquawl]
nD5Xjz has joined #nixos
<pcarrier> anybody tried to make /var/tmp and /tmp tmpfs? I'm wondering what the best approach is to get permissions and security right
<clever> dhess: yeah, dang, no sha256, but it does support ref and ref
<clever> ref and rev*
* clever heads off to bed
nD5Xjz has quit [Ping timeout: 246 seconds]
<[Leary]> Huh, looks like I don't need nix-prefetch-git then, just need to use builtins.fetchGit rather than pkgs.fetchgit.
<{^_^}> [nixpkgs] @andrewrk opened pull request #37352 → zig: 0.1.1 -> 0.2.0 → https://git.io/vx3Mj
lverns has joined #nixos
<{^_^}> [nixpkgs] @psyky opened pull request #37353 → Easystroke → https://git.io/vx3DU
<{^_^}> [nixpkgs] @knedlsepp opened pull request #37354 → pythonPackages.notebook: fix darwin build → https://git.io/vx3DL
ashkitten1 is now known as ashkitten
Lisanna has joined #nixos
testuser has quit [Ping timeout: 240 seconds]
Lisanna has quit [Quit: Lisanna]
<dsop> i am getting nix-shell requires a single derivation when trying to run a nix-shell
<dsop> i can't find much about that error
<rawtaz> dsop: i have no idea but it sounds like it's getting two results from expressions rather than one?
mudri has quit [Ping timeout: 240 seconds]
nD5Xjz has joined #nixos
testuser has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nD5Xjz has quit [Ping timeout: 240 seconds]
Ariakenom has quit [Quit: Leaving]
tos9_ has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
tos9 has quit [Ping timeout: 240 seconds]
tos9_ is now known as tos9
nuncanada has quit [Ping timeout: 240 seconds]
xcmw has joined #nixos
srdqty has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @peterhoeg pushed to master « qscintilla: fix build on darwin »: https://git.io/vx3SV
aarvar has quit [Ping timeout: 256 seconds]
pkill9 has quit [Ping timeout: 240 seconds]
<manveru> spotify is broken on nixpkgs-unstable?
<manveru> can't download it anymore
zearen has quit [Ping timeout: 240 seconds]
<srid> my grub menu no longer shows up, and nixos boots immediately after bios screen. is there a way to fix this? i have dual boot to windows
thc202 has quit [Ping timeout: 248 seconds]
kblobr has quit [Ping timeout: 246 seconds]
<ottidmes> srid: Maybe set boot.loader.timeout = 3; (for example), don't know what else causes this behavior
nD5Xjz has joined #nixos
zearen has joined #nixos
kblobr has joined #nixos
Mateon1 has quit [Ping timeout: 260 seconds]
nD5Xjz has quit [Ping timeout: 240 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes> Argh, stupid nmap, seemed to work as regular user, did not work on LAN, checked manual, fixed, and now it works as a regular user, but no longer works as root with same arguments
dnovosel has joined #nixos
<ottidmes> Luckily setting --unprivileged works
alhariel has joined #nixos
<alhariel> im using xfce+xmonad and my multimedia keys are not automagically working correctly
<alhariel> the +vol and -vol keys do nothing at all, the mute key shows a notification of toggling mute but has no effect on the audio itself
<alhariel> the brightness keys work correctly
<manveru> jtojnar: seems like networkmanager on nixpkgs-unstable is also broken
spear2 has joined #nixos
<ottidmes> alhariel: I am on xfce+bspwm and I use a hotkey daemon for those, not sure if there is anything in xfce to handle those things
nD5Xjz has joined #nixos
<_null_> is there a way to override the buildInputs on a derivation? It seems (though I can be wrong) that overrideDerivation just appends instead
hiroshi- has joined #nixos
<_null_> Alternatively, is there a trivial/minimal package in nixpkgs that's empty? since that would also work
<ottidmes> alhariel: https://wiki.archlinux.org/index.php/Xbindkeys is probably the easiest. I am using https://wiki.archlinux.org/index.php/Sxhkd though, since that came with bspwm (although it can be used outside bspwm)
hiroshi has quit [Ping timeout: 264 seconds]
hiroshi- is now known as hiroshi
<_null_> maybe I'm just wrong and screwed something up with my build before cause it's certainly not hitting the cache
logzet has quit [Remote host closed the connection]
<ottidmes> _null_: I have never actually overridden a derivation like that, although I have been using NixOS long enough, but why do you expect to hit the cache when changing build inputs?
mk-fg has quit [Ping timeout: 246 seconds]
<alhariel> ottidmes: ill probably just set the hotkeys in the xmonad config
<_null_> I mean, I was changing the build inputs, so if I had been correct and they were appending, I *would* have hit the cache since it wouldn't have changed the build inputs (since it would have appended [] instead of setting it to [])
pkill9 has joined #nixos
<alhariel> im just not sure what to do with the notifications tho
<_null_> so yeah I'm wrong and there's a different factor here.
nD5Xjz has quit [Ping timeout: 240 seconds]
<ottidmes> _null_: The example of overrideDerivation replaces the buildInputs attribute, so it should not append: https://blog.flyingcircus.io/2017/11/07/nixos-the-dos-and-donts-of-nixpkgs-overlays/
<_null_> It's just for fun, but someone on an older version managed to make a 1.2MB docker image with redis, and I can't reproduce it, since there's a glibc depedency sneaking in. I thought it was from the lua buildInput since that's the only new thing since that version of nixpkgs besides redis changes. So it's due to something different in redis
<_null_> Yeah, I couldn't find that, so I wasn't sure
<ottidmes> _null_: You should be using overrideAttrs nowadays apparently: https://nixos.org/nixpkgs/manual/#sec-pkg-overrideDerivation
<_null_> Now that I know that it's silly but sometimes you just want to figure out the answer even if you're horribly wrong along the way
<_null_> Oh, good to know
<ottidmes> _null_: Because I can, sometimes is a good enough reason :)
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
zearen has quit [Ping timeout: 264 seconds]
<_null_> is it a bad idea to use override to replace input packages?
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #37355 → src: 1.17 -> 1.18 → https://git.io/vx3HG
<gchristensen> I think that is what it is for
<_null_> Yeah I guess it is but it feels weird because I would think names would be a huge problem
<gchristensen> names?
Mateon2 has joined #nixos
nD5Xjz has joined #nixos
srjek_ has joined #nixos
<_null_> okay, so I'd imagine most references are going to be ${app1}/bin/app1
<_null_> and there doesn't seem to be a hacky way to use ${app2}/bin/app2
<_null_> Maybe I should just debug the glibc reference instead
srjek|home has quit [Ping timeout: 265 seconds]
nD5Xjz has quit [Ping timeout: 265 seconds]
zearen has joined #nixos
n0qqe has joined #nixos
noqqe has quit [Ping timeout: 260 seconds]
n0qqe is now known as noqqe
lord| has quit [Ping timeout: 256 seconds]
tnks has joined #nixos
<tnks> I've never thought much about this, but how does man find the manpages installed by Nix? I don't see a MANPATH set.
<ottidmes> tnks: Check `man man`, it points to the man_db.conf file in the nix store that contains the configuration where it is going to look for manpages
<tnks> ottidmes: hmm... I think for my Debian+Nix setup, it's something else.
<tnks> I think man derives the path from PATH.
<ottidmes> tnks: Or less in-depth, you could run `manpath` and it will show the default path, which is /run/current-system/sw/share/man
<tnks> ottidmes: but you're right. I found it in `man man`: By default, man uses manpath derived code to determine the path to search.
<tnks> I was curious where the man pages are for the new "nix" command.
<tnks> I think the --help message might point to something that doesn't exist yet.
nD5Xjz has joined #nixos
<ottidmes> tnks: As far as I know the manpage of the new nix command is not out yet
<tnks> ottidmes: okay, good to know.
<ottidmes> tnks: The --help of nix is pretty good though, together with the nix manual, at least for now
<ottidmes> I am off to sleep now, goodnight
<tnks> it's good enough to dink around with... but there's so much not there.
<tnks> part of me is grateful for the work done... but another part of me feels that it's not good to "release" something without at least finishing documentation.
pkill9 has quit [Ping timeout: 260 seconds]
lverns has quit [Ping timeout: 240 seconds]
nD5Xjz has quit [Ping timeout: 264 seconds]
nuncanada has joined #nixos
ottidmes has quit [Ping timeout: 240 seconds]
owickstrom has quit [Remote host closed the connection]
owickstrom has joined #nixos
nD5Xjz has joined #nixos
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm has joined #nixos
rardiol1 has quit [Remote host closed the connection]
lord| has joined #nixos
nD5Xjz has quit [Ping timeout: 240 seconds]
krey has joined #nixos
zearen has quit [Ping timeout: 260 seconds]
<krey> this change I've been waiting for has been merged into NixOS master. How can I get it? I added the nixpkgs channel, updated channels, but it doesn't seem to be working
nD5Xjz has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
aarvar has joined #nixos
<alhariel> so, ive basically just set services.mpd.enable = true and defined some audio_outputs in services.mpd.extraConfig
Supersonic112 is now known as Supersonic
markus1189 has joined #nixos
<alhariel> so with the default music dir being /var/lib/mpd/music, how am i supposed to modify it, given that even tho my user is in mpd group, theres only read permission for group
alexteves has quit [Quit: Leaving]
nD5Xjz has quit [Ping timeout: 240 seconds]
markus1199 has quit [Ping timeout: 240 seconds]
peterzky has joined #nixos
<dsop> krey: are you running unstable?
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @dezgeg pushed to master « nss: Fix aarch64 build »: https://git.io/vx35m
<krey> dsop: I'm not sure how to exactly answer that question
<krey> dsop: most of my packages are from 17.09, some from nixos-unstable
<dsop> ah okay
<krey> dsop: what do you mean?
dnovosel has quit [Ping timeout: 240 seconds]
alhariel has quit [Quit: Leaving]
nD5Xjz has quit [Ping timeout: 264 seconds]
tos9 has left #nixos [#nixos]
<dsop> krey: ah sorry i misread, i don't think i can help you, sorry. maybe someone else can
nD5Xjz has joined #nixos
<krey> can someone explain why we need to supply sha256 hashes for fetchFromGitHub?
nD5Xjz has quit [Ping timeout: 240 seconds]
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
aw has joined #nixos
spacefrogg has joined #nixos
nuncanada has quit [Quit: Leaving]
mk-fg has quit [Ping timeout: 252 seconds]
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
nD5Xjz has joined #nixos
<infinisil> krey: for purity and security the nix sandbox only allows network access for things you know the hash of already
<infinisil> Which is called a fixed-output derivation
otulp has quit [Ping timeout: 240 seconds]
<krey> infinisil: seems like purity is already ensured by the rev, argument, no?
nD5Xjz has quit [Ping timeout: 240 seconds]
<krey> infinisil: and security... something something https?
<infinisil> krey: nope, the rev argument gets just translated to an url, what the web server serves there could change tomorrow
<infinisil> krey: security because you know that the content will not change. Review it once and you can trust it forever (until you update it and the hash changes)
<krey> infinisil: yeah, that makes sense
<adisbladis[m]> krey: What infinisil said :) Also some projects re-tag the same release -.-
<adisbladis[m]> krey: And having checksums sort of makes TLS or not a moot point. Sure, it's still good for privacy but we don't want to rely on the transport layer for integrity checks.
<{^_^}> [nixpkgs] @volth opened pull request #37356 → gephi: build from sources → https://git.io/vx3d9
<{^_^}> [nixpkgs] @volth opened pull request #37357 → jogl: init at 2.3.2 → https://git.io/vx3dQ
nD5Xjz has joined #nixos
nD5Xjz has quit [Ping timeout: 240 seconds]
eliaslfox has quit [Read error: Connection reset by peer]
srjek_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @brainrape opened pull request #37358 → idrisPackages: add packages → https://git.io/vx3Fl
nD5Xjz has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #37359 → lib: Split Darwin into macOS and iOS → https://git.io/vx3bY
nD5Xjz has quit [Ping timeout: 264 seconds]
eliaslfox has joined #nixos
krey has quit [Ping timeout: 240 seconds]
sigmundv has quit [Ping timeout: 260 seconds]
nD5Xjz has joined #nixos
kerrhau has quit [Ping timeout: 260 seconds]
eliaslfox has quit [Read error: Connection reset by peer]
kerrhau has joined #nixos
kerrhau has joined #nixos
kerrhau has quit [Changing host]
nD5Xjz has quit [Ping timeout: 264 seconds]
schoppenhauer has quit [Ping timeout: 240 seconds]
schoppenhauer has joined #nixos
eliaslfox has joined #nixos
<fearlessKim[m]> what's the canonical way to disable a package depending on a condition ? like I want to disable a package if its dependency is on certain version of a buildInput
Fare has joined #nixos
zzamboni has joined #nixos
rauno has quit [Ping timeout: 256 seconds]
leat has quit [Ping timeout: 260 seconds]
nD5Xjz has joined #nixos
<fearlessKim[m]> nevermind, I got a fix I think
abathur has joined #nixos
nD5Xjz has quit [Ping timeout: 260 seconds]
spear2 has quit [Quit: Leaving]
leat has joined #nixos
<dsop> I see a package (vscode) on nixpkgs for weeks but i don't find it in nix-env despite being on unstable, any idea why?
_null_ has quit [Ping timeout: 240 seconds]
blankhart has quit [Read error: Connection reset by peer]
_null_ has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #37351 → unifi: 5.6.30 -> 5.6.36 → https://git.io/vx3Xp
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/vx3No
<{^_^}> → 75491184 by @badi: unifi: 5.6.30 -> 5.6.36
<{^_^}> → 4fe3edd7 by @peterhoeg: Merge pull request #37351 from badi/unifi
blankhart has joined #nixos
nD5Xjz has joined #nixos
nD5Xjz has quit [Ping timeout: 240 seconds]
obadz has quit [Ping timeout: 260 seconds]
obadz has joined #nixos
<elvishjerricco> dsop: nixpkgs has vscode. What have you tried?
nD5Xjz has joined #nixos
nD5Xjz has quit [Ping timeout: 260 seconds]
zzamboni has quit [Quit: Leaving.]
MercurialAlchemi has joined #nixos
rauno has joined #nixos
rauno has quit [Remote host closed the connection]
rauno has joined #nixos
<fearlessKim[m]> dsop nix search vscode should give you the path
Guanin has quit [Ping timeout: 246 seconds]
gerschtli has joined #nixos
ma27 has joined #nixos
Guanin has joined #nixos
gerschtli has quit [Ping timeout: 240 seconds]
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
newhoggy_ has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
ma27 has quit [Ping timeout: 240 seconds]
newhoggy has quit [Ping timeout: 240 seconds]
nD5Xjz has joined #nixos
newhoggy_ has quit [Ping timeout: 276 seconds]
muzzy has quit [Read error: Connection reset by peer]
nD5Xjz has quit [Ping timeout: 246 seconds]
<adisbladis[m]> dsop: Because vscode is non-free maybe?
zzamboni has joined #nixos
<dsop> elvishjerricco: i tried nix-env -qa 'vscode.*' doesn't show up. I tried nix-env -qa | grep vscode and niether there
<dsop> elvishjerricco: so i was wondering how it should be installed
<dsop> it also doesn't show up in the search on the nixos.org website
MichaelRaskin has left #nixos [#nixos]
<etu> dsop: Yeah, the website doesn't show unfree stuff either
zzamboni has quit [Client Quit]
peterzky has quit [Quit: WeeChat 2.0]
<fearlessKim[m]> running ./dev-shell from nixops master with nixos-unstable `while evaluating the attribute 'src' of the derivation 'nixops-tarball-1.6pre0_abcdef' at /home/teto/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
<fearlessKim[m]> Nix daemon out of memory` :S any idea? I just freed 40Gb from drive
boomshroom-away has quit [Ping timeout: 260 seconds]
<etu[m]> Memory, not disk
<adisbladis[m]> dsop: Vscode is unfree (and unfree packages are hidden from searches by default)
nD5Xjz has joined #nixos
aarvar has quit [Ping timeout: 256 seconds]
pie_ has quit [Ping timeout: 240 seconds]
nD5Xjz has quit [Ping timeout: 240 seconds]
<fearlessKim[m]> etu: nix has become greedy, I never had any problem running this command before, I have 3G available according to free -m
orivej has quit [Ping timeout: 264 seconds]
nD5Xjz has joined #nixos
alex`` has joined #nixos
nD5Xjz has quit [Ping timeout: 256 seconds]
<fearlessKim[m]> even with 6Go it can't ./dev-shell nixops :'(
_null_ has quit [Ping timeout: 264 seconds]
reinzelmann has joined #nixos
<elvishjerricco> fearlessKim[m]: That sounds like something else. There's no way it needs more than 6Gb
rauno has quit [Ping timeout: 256 seconds]
<fearlessKim[m]> tried setting everything on master and disabled overlay without success. I wonder if it's due to https://github.com/NixOS/nix/issues/1969. I have nix.package = nixUnstable. I will rebuild without that
<adisbladis[m]> fearlessKim: You could try playing around with the environment variable GC_MAXIMUM_HEAP_SIZE
<adisbladis[m]> Set it to something huge like 10G :P
peterzky has joined #nixos
reinzelmann has quit [Ping timeout: 252 seconds]
<fearlessKim[m]> adisbladis: it fails very fast (<1sec) even with GC_MAXIMUM_HEAP_SIZE http://nixpaste.lbr.uno/nCnufrhk?nix
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/vx3h2
<{^_^}> → 44683781 by @peterhoeg: terraform: update plugins
<{^_^}> → 059f33c6 by @peterhoeg: terraform: 0.11.3 -> 0.11.4
<adisbladis[m]> fearlessKim: And you dont happen to have a huge file in the nixops repo?
justbeingglad has joined #nixos
<fearlessKim[m]> arf I had a coredump of firefox :s my bad
<adisbladis[m]> fearlessKim: Haha :D All good then
<fearlessKim[m]> completely forgot about that (generated last week) but to my defense the error message could be more informative :)
nD5Xjz has joined #nixos
reinzelmann has joined #nixos
nD5Xjz has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @gebner merged pull request #37355 → src: 1.17 -> 1.18 → https://git.io/vx3HG
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vx3js
<{^_^}> → 0f6286cc by @gebner: Merge pull request #37355 from AndersonTorres/upload/src
<{^_^}> → 9ff2b67d by @AndersonTorres: src: 1.17 -> 1.18
hotfuzz_ has joined #nixos
zzamboni has joined #nixos
hotfuzz has quit [Ping timeout: 240 seconds]
BombStrike has joined #nixos
zzamboni has quit [Ping timeout: 240 seconds]
zzamboni has joined #nixos
justbeingglad has left #nixos [#nixos]
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Profpatsch merged pull request #27882 → Nwjs 0.23 → https://git.io/v7gJL
<{^_^}> [nixpkgs] @Profpatsch pushed to master « node_webkit/nwjs: 0.12 -> 0.23.6 »: https://git.io/vxseU
<Profpatsch> Shameless self-merge!
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #37363 → pythonPackages.thumbor: mark as broken under Python 3 → https://git.io/vxsen
<{^_^}> [nixpkgs] @FRidh closed pull request #37363 → pythonPackages.thumbor: mark as broken under Python 3 → https://git.io/vxsen
<{^_^}> [nixpkgs] @FRidh reopened pull request #37363 → pythonPackages.thumbor: mark as broken under Python 3 → https://git.io/vxsen
zzamboni has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @adisbladis merged pull request #37340 → unbound: 1.6.8 -> 1.7.0 → https://git.io/vx3EJ
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to staging: https://git.io/vxser
<{^_^}> → 955898a0 by @ryantm: unbound: 1.6.8 -> 1.7.0
<{^_^}> → a59cbaee by @adisbladis: Merge pull request #37340 from ryantm/auto-update/unbound
alex`` has quit [Quit: WeeChat 2.0.1]
zzamboni has joined #nixos
alex`` has joined #nixos
nD5Xjz has joined #nixos
thc202 has joined #nixos
MercurialAlchemi has quit [Ping timeout: 268 seconds]
nD5Xjz has quit [Ping timeout: 264 seconds]
chisui has joined #nixos
MercurialAlchemi has joined #nixos
rauno has joined #nixos
<joepie91> Profpatsch: eesh, that only jumped by a few versions :p
ThatDocsLady has joined #nixos
dvim has joined #nixos
mudri has joined #nixos
Tucky has joined #nixos
johnnydread[m] has joined #nixos
peterzky has quit [Quit: WeeChat 2.0]
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37221 → emacsPackagesNg.melpaPackages 2018-03-17 → https://git.io/vxYDU
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxsfo
<{^_^}> → 508c9b83 by @matthewbauer: melpa-packages 2018-03-17
<{^_^}> → f62b2fe1 by @matthewbauer: Merge pull request #37221 from matthewbauer/auto-update/emacsPackagesNg.melpaPackages
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37156 → elpa-packages 2018-03-15 → https://git.io/vxq2p
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxsf6
<{^_^}> → a7afedd2 by @matthewbauer: elpa-packages 2018-03-15
<{^_^}> → 79a40fc3 by @matthewbauer: Merge pull request #37156 from matthewbauer/auto-update/emacsPackagesNg.elpaPackages
coot has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36962 → btrbk: 0.26.0 -> 0.26.1 → https://git.io/vxTAP
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxsfd
<{^_^}> → d788ba5a by @ryantm: btrbk: 0.26.0 -> 0.26.1
<{^_^}> → 4e2aa3c3 by @matthewbauer: Merge pull request #36962 from ryantm/auto-update/btrbk
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37098 → rtv: 1.21.0 -> 1.22.1 → https://git.io/vxLSd
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxsfA
<{^_^}> → 9b2f74f8 by @ryantm: rtv: 1.21.0 -> 1.22.1
<{^_^}> → c58f0ee8 by @matthewbauer: Merge pull request #37098 from ryantm/auto-update/rtv
nD5Xjz has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37296 → Fix fallout from #36275 → https://git.io/vxO98
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxsJe
<{^_^}> → 124d47c6 by @matthewbauer: meta: fix fallout from #36275
<{^_^}> → bfdc4029 by @matthewbauer: Merge pull request #37296 from matthewbauer/fix-maintainers-path
pkill9 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36744 → nasc: init at 0.4.6 → https://git.io/vAjOZ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxsJs
<{^_^}> → 28a67ec1 by @samdroid-apps: nasc: init at 0.4.6
<{^_^}> → 04e6a14d by @matthewbauer: Merge pull request #36744 from samdroid-apps/add-nasc
<{^_^}> [nixpkgs] @dotlambda merged pull request #37331 → appdaemon: 3.0.0b4 -> 3.0.0 → https://git.io/vx3Zc
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vxsJR
<{^_^}> → 9d98f0cb by @dotlambda: appdaemon: 3.0.0b4 -> 3.0.0
<{^_^}> → 6be6fcc0 by @dotlambda: Merge pull request #37331 from dotlambda/appdaemon-3.0.0
chocopuff has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36423 → emacs: use unstable melpa for dependencies → https://git.io/vAbcv
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxsJQ
<{^_^}> → 635114b8 by @matthewbauer: emacs: use unstable melpa for dependencies
<{^_^}> → ee52f36f by @matthewbauer: Merge pull request #36423 from matthewbauer/emacs-use-unstable-melpa
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36775 → vale: init at 0.10.1 → https://git.io/vAjQC
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vxsUU
<{^_^}> → 66998084 by @marsam: maintainers: add marsam
<{^_^}> → bde912b4 by @marsam: vale: init at 0.10.1
<{^_^}> → 50fcb349 by @matthewbauer: Merge pull request #36775 from marsam/feature/add-valelint
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36585 → grpc: 1.9.1 -> 1.10.0 → https://git.io/vAxw9
<{^_^}> → 2689ae1f by @ryantm: grpc: 1.9.1 -> 1.10.0
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxsUY
<{^_^}> → 6a68171d by @matthewbauer: Merge pull request #36585 from ryantm/auto-update/grpc
pie_ has joined #nixos
<Profpatsch> joepie91: Yeah, and every reverse dependency broke horribly with the newest version.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36524 → unp: init at 2.0-pre7 → https://git.io/vAAsG
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxsU4
<{^_^}> → 6d7b4197 by @timor: unp: init at 2.0-pre7
<{^_^}> → c52e8358 by @matthewbauer: Merge pull request #36524 from timor/unp
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36414 → Add opentimestamps → https://git.io/vAFFI
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/vxsUa
<{^_^}> → c9b4dc17 by @erikarvstedt: pythonPackages.pysha3: init at 1.0.2
<{^_^}> → 7374c5be by @erikarvstedt: pythonPackages.opentimestamps: init at 0.2.1
<{^_^}> → 2ee097b8 by @erikarvstedt: opentimestamps-client: init at 0.5.1
civodul has joined #nixos
roberth has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36977 → fanficfare: 2.22.0 -> 2.23.0 → https://git.io/vxktJ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxsUb
<{^_^}> → 1891567c by @ryantm: fanficfare: 2.22.0 -> 2.23.0
<{^_^}> → a43fcd44 by @matthewbauer: Merge pull request #36977 from ryantm/auto-update/fanficfare
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36967 → cfitsio: 3.43 -> 3.430 → https://git.io/vxkek
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxsUN
<{^_^}> → bc5ad14e by @ryantm: cfitsio: 3.43 -> 3.430
<{^_^}> → b89f229d by @matthewbauer: Merge pull request #36967 from ryantm/auto-update/cfitsio
<{^_^}> [nixpkgs] @matthewbauer pushed to revert-36967-auto-update/cfitsio « Revert "cfitsio: 3.43 -> 3.430" »: https://git.io/vxsUA
<joepie91> Profpatsch: oh? how's that?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36966 → cdrtools: 3.02a06 -> 3.01 → https://git.io/vxTjU
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxsTf
<{^_^}> → a83c4596 by @ryantm: cdrtools: 3.02a06 -> 3.01
<{^_^}> → d67c5052 by @matthewbauer: Merge pull request #36966 from ryantm/auto-update/cdrtools
<{^_^}> [nixpkgs] @Mic92 pushed 0 commits to cpan-update: https://git.io/vxsTL
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37079 → picard-tools: 2.17.10 -> 2.17.11 → https://git.io/vxLlY
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxsTc
<{^_^}> → 892244dd by @ryantm: picard-tools: 2.17.10 -> 2.17.11
<{^_^}> → 9f58d17d by @matthewbauer: Merge pull request #37079 from ryantm/auto-update/picard-tools
pie_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37055 → libwebsockets: 2.4.1 -> 2.4.2 → https://git.io/vxLIR
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxsTC
<{^_^}> → 1d93c684 by @ryantm: libwebsockets: 2.4.1 -> 2.4.2
<{^_^}> → 00e7b063 by @matthewbauer: Merge pull request #37055 from ryantm/auto-update/libwebsockets
robstr has joined #nixos
nD5Xjz has joined #nixos
chocopuff has quit [Quit: WeeChat 2.0.1]
nD5Xjz has quit [Ping timeout: 256 seconds]
mounty has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos
__Sander__ has joined #nixos
paraseba has quit [Ping timeout: 252 seconds]
<Profpatsch> joepie91: Well, apparently every nwjs 0.x version is a breaking change.
<Profpatsch> So between 0.9 and 0.23 there have been 14 breaking changes.
periklis has joined #nixos
<Profpatsch> And upstream is at 0.29 already, this was a PR from mit 2017 :)
<Profpatsch> s/mit/mid/
<joepie91> ahhh
<joepie91> right
nD5Xjz has joined #nixos
<Profpatsch> They even changed the name in the meantime.
<Profpatsch> I’m not sure why I even PRed that, since a Chromium with broken sandboxing and nodejs is a hideous idea that should never have happened.
MP2E has quit [Remote host closed the connection]
mounty has joined #nixos
<vaibhavsagar> but semantic versioning was supposed to solve all the problems and also make me breakfast in the morning
<joepie91> Profpatsch: heh, I have Opinions about this
<vaibhavsagar> where did we go wrong
<joepie91> vaibhavsagar: I mean, technically speaking, anything under 1.x has no stability guarantees, so... :P
<Profpatsch> joepie91: Opinions? Hear, hear!
<vaibhavsagar> the fact that this is officially sanctioned behaviour makes my point for me
<joepie91> vaibhavsagar: ?
<Profpatsch> vaibhavsagar: The project also uses patch versions, so that’s normal semantic versioning.
<Profpatsch> They just like to make breaking changes, like, a lot.
<bkolera> I don't suppose that many nixos issues come in as jsfiddles, but does anyone here know anything about how firefox and chromium guess mime types and have solutions for these shenanigans? Worth a github nixpkgs ticket? https://jsfiddle.net/q89vbo4q/31/
<joepie91> Profpatsch: tl;dr the fact that Electron and NW.js exist is bad, but also indicative of a problem that a lot of people like to pretend doesn't exist, namely the horribleness of working with existing UI toolkits, and I understand why people choose to use Electron/NW.js and from a cost perspective it's a justifiable choice today
<joepie91> Profpatsch: basically all parties are at fault here
<joepie91> to some degree
<Profpatsch> joepie91: Ah, right. Yes, there arguably is no better GUI toolkit than CSS/JS at the moment.
<joepie91> Profpatsch: and this is extra annoying because any time I try to bring up the UI toolkit problem, the most rabid anti-NW.js/Electron people start getting angry at me, trying to convince me that current UI toolkits are fine and everybody else is just doing it wrong etc. etc. etc.
<Profpatsch> And future toolkits will most likely build on e.g. Flexbox.
<joepie91> there's just a total denial of the problem by almost everybody
<Mic92> go 23
<joepie91> result: Electron and NW.js remain a thing and no amount of "this stuff is bad" is going to change that
<{^_^}> [nixpkgs] @dotlambda merged pull request #37363 → pythonPackages.thumbor: mark as broken under Python 3 → https://git.io/vxsen
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vxsIE
<{^_^}> → d8c26c0d by @vaibhavsagar: pythonPackages.thumbor: mark as broken under Python 3
<{^_^}> → 67f2d3e2 by @dotlambda: Merge pull request #37363 from vaibhavsagar/break-thumbor-python3
<joepie91> but those in the position to change it, refuse to accept that there is a problem to be solved...
<joepie91> very frustrating :/
<Profpatsch> joepie91: I really like Purescript for that reason.
<Profpatsch> But did you know emacs is a pretty good GUI toolkit?
<{^_^}> [nixpkgs] @dotlambda pushed commit from @vaibhavsagar to release-18.03 « pythonPackages.thumbor: mark as broken under Python 3 »: https://git.io/vxsIV
<joepie91> Profpatsch: insert strategic nonresponse here
<Profpatsch> Especially for quick prototyping, Emacs is a perfect system.
<joepie91> :p
<Profpatsch> :)
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
jluttine has quit [Ping timeout: 264 seconds]
<joepie91> Profpatsch: also, I'd argue that a good layout system would need to be based on not just flexbox but also CSS grids, and that a few performance issues with that remain to be solved
<joepie91> namely, relatively speaking, layouting the way a browser does it is pretty expensive
<Profpatsch> joepie91: Did you know that it’s hard even for Qt to render long lists?
<{^_^}> [nixpkgs] @proteansec opened pull request #37365 → bacula: 5.2.13 -> 9.0.6 → https://git.io/vxsIM
<joepie91> so ideally you'd want some small simplifications to take off the edge of the layout calculations
<Profpatsch> The Tomahawk people had lots of problems with long playlists afaik.
<joepie91> Profpatsch: oh yeah, I'm sure. it still boggles my mind how nobody seems to have optimized large elements beyond a few text editors and a few websites
<joepie91> it's *not that difficult*
<Profpatsch> When you do arbitrary mutations it pretty much is.
<joepie91> a bit of viewport magic and cheating on size estimations should be enough to implement it performantly
<joepie91> Profpatsch: 'perfect is the enemy of good' applies here :P
<Profpatsch> Well, it’ll be really annoying if your users click the wrong elements all the time because your estimations are off by a few pixels.
<joepie91> Profpatsch: example: if you're displaying a long list of items, then you don't want to actually calculate the height of each element in the list, but rather just the elements that are visible and those that can be scrolled to quickly; and then you want to make a simplified estimate of the total length of the entire list without actually calculating every other element
<joepie91> Profpatsch: and if your scrollbar position ends up being off in such a way that the last pixel takes three scrolls to get to rather than two, well, oh well
testuser has quit [Quit: Leaving]
<joepie91> once you implement simplifications like that, you can get it way more efficient, loading data and calculating stuff as it's accessed
<joepie91> (I did a PoC of this a Long Time ago in HTML/CSS/JS)
<Profpatsch> Better give your programmers an infinite list abstraction over that.
<joepie91> (with a height and translation hack to make the positioning work out)
<Profpatsch> Or you are in for a fun time.
<joepie91> Profpatsch: how do you mean?
<Profpatsch> Well, your model should not suffer from view optimizations down the line.
<Profpatsch> I’d argue today’s paging of REST responses is a pretty clear sign of not enough abstraction.
flugsio has quit [Ping timeout: 264 seconds]
<Profpatsch> Or even: a leaky one.
<joepie91> oh, in that sense
<joepie91> sec
<joepie91> Profpatsch: excellent read on this topic: https://tumbledry.org/2011/05/12/screw_hashbangs_building
PeterRomfeld[m] has quit [Ping timeout: 255 seconds]
ConorCurry[m] has quit [Ping timeout: 255 seconds]
Obscurity[m] has quit [Ping timeout: 255 seconds]
<Profpatsch> Fuck me, you get a network request between every few elements.
<Profpatsch> That’s the ultimate IO trap.
M-Dan has quit [Ping timeout: 255 seconds]
<Profpatsch> But then again, POSIX has the same problem: man 2 recv
<joepie91> I mean, there's necessarily going to be a tradeoff here
<joepie91> either you send a lot of data or you send little data a lot
<joepie91> inherent tradeoff, can't really solve that, no matter the situation
<joepie91> other than trying to do your best guess at estimating the optimal amount of data to be sent
<Profpatsch> Hm, it’s really the same problem as with other protocols.
midchildan[m] has quit [Ping timeout: 255 seconds]
<Profpatsch> Can send length first of course.
<joepie91> it applies even for things that don't go over the network
<joepie91> see eg. IPC
jluttine has joined #nixos
M-Dan has joined #nixos
<Profpatsch> Yeah, as I said recv from socket basically
<joepie91> hell, 0mq has some pretty bizarre batching logic
<joepie91> to work around this problem
<joepie91> and even that is, afaik, just twiddling the sliders until it performs well
<joepie91> weirdly, 0mq's batching logic apparently works *so* well that neither sending raw UDP packets nor writing your own batching logic is likely to outperform 0mq in sheer throughput
Neo-- has joined #nixos
<joepie91> I should really read its implementation some day :P
trikl[m] has quit [Ping timeout: 255 seconds]
paraseba has joined #nixos
Obscurity[m] has joined #nixos
PeterRomfeld[m] has joined #nixos
dkibi has joined #nixos
AllanDaemon has quit [Ping timeout: 255 seconds]
trikl[m] has joined #nixos
flugsio has joined #nixos
leat has quit [Ping timeout: 240 seconds]
<tfc[m]> hi there. does anyone have an idea regarding this issue description? https://github.com/edolstra/nix-serve/issues/9
jensens has joined #nixos
AllanDaemon has joined #nixos
knupfer has joined #nixos
ConorCurry[m] has joined #nixos
kriztw_ is now known as kriztw
rardiol1 has joined #nixos
clefru has joined #nixos
midchildan[m] has joined #nixos
Fare has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #37155 → archivemount: 0.8.7 -> 0.8.9 → https://git.io/vxq2r
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vxstM
<{^_^}> → b451519e by @dotlambda: Merge pull request #37155 from ryantm/auto-update/archivemount
<{^_^}> → 8cf0f49e by @ryantm: archivemount: 0.8.7 -> 0.8.9
<{^_^}> [nixpkgs] @romildo opened pull request #37367 → enlightenment: 0.22.1 -> 0.22.2 → https://git.io/vxsty
coot has quit [Quit: coot]
leat has joined #nixos
MercurialAlchemi has quit [Ping timeout: 240 seconds]
MercurialAlchemi has joined #nixos
civodul has quit [Read error: Connection reset by peer]
kerrhau has quit [Ping timeout: 240 seconds]
civodul` has joined #nixos
<woffs> tfc[m]: I get the same here and am now running the nixos-17.09 version instead, which works
<tfc[m]> woffs: i am not running nixos on both machines. it's just a nix 2.0 single user installation
civodul` is now known as civodul
larsvm has joined #nixos
<tfc[m]> woffs: i would be happy to know how to debug what's wrong with my keys so i can get a step further. do you have any idea?
<{^_^}> [nixpkgs] @jokogr opened pull request #37368 → Minor JetBrains products update → https://git.io/vxsY2
<{^_^}> [nixpkgs] @jokogr closed pull request #37368 → Minor JetBrains products update → https://git.io/vxsY2
<{^_^}> [nixpkgs] @dotlambda merged pull request #35056 → pythonPackages.requests-unixsocket: init at 0.1.5 → https://git.io/vACxW
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vxsYS
<{^_^}> → 04c37137 by @catern: pythonPackages.requests-unixsocket: init at 0.1.5
<{^_^}> → 196b4863 by @dotlambda: Merge pull request #35056 from catern/master
nschoe has joined #nixos
rardiol1 has left #nixos [#nixos]
pkill9 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixops] @AmineChikhaoui pushed to master « be more consistent with EC2 backend: don't raise exceptions if the user »: https://git.io/vxsOB
nuncanada has joined #nixos
periklis has quit [Ping timeout: 268 seconds]
mudri has quit [Ping timeout: 240 seconds]
<woffs> tfc[m]: no idea yet. Just added nixos-17.09 as channel and run nix-serve with that channel with something like nix-shell -I nixpkgs=$HOME/.nix-defexpr/channels/nixos1709 -p nix-serve
<tfc[m]> woffs: ok this is completely weird. i reinstalled `nix-serve` and now it accepts the secret key on the server side. client side still does not accepts the signatures, but this looks like a different kind of errir. i am closing the old and opening a new ticket.
<woffs> Something different: how to run local nixos tests? I try to fix and debug quagga with "nix-build nixos/tests/quagga.nix" but it fails and "nixos/tests/networking.nix" also fails and I guess I do something wrong or an i3 is not enough to run those tests even with prolonged timeouts
<clever> woffs: they are attributes of nixos/release.nix
<{^_^}> [nixpkgs] @matthewbauer pushed 5 commits to master: https://git.io/vxs30
<{^_^}> → 80b8caf4 by @matthewbauer: opencolorio: fix on darwin
<{^_^}> → 4cc1cd85 by @matthewbauer: cmake-2.8: supports darwin
<{^_^}> → 397532de by @matthewbauer: openimageio: supports darwin
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
<unlmtd> neovim looks for every plugin in every individual store path ... the start time is horrible. is that the expected behavior?
<unlmtd> im talking 3-5 seconds sometimes
testuser has joined #nixos
kerrhau has quit [Ping timeout: 248 seconds]
fl3 has joined #nixos
<YegorTimoshenko[> how to disable hydra eval's restricted mode?
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<tfc[m]> woffs: ever faced this problem? https://github.com/edolstra/nix-serve/issues/10
<fl3> Hi! got a bit stuck with neovim python module "nvim-python-neovim version: 0.1.13", while the last one is 0.2.4. As far as I understand the source of that plugin is here https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/neovim/wrapper.nix#L39, but I cant get how I could update it?
sigmundv has joined #nixos
<sphalerite> unlmtd: I don't have performance issues as a result of it, but it looks like mine does that too. You could probably work around it by wrapping all the plugins in a buildEnv
<woffs> tfc[m]: don't know
<tfc[m]> argh too bad. it looks like no one else on the internet ever had this problem
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vxsGt
<{^_^}> → 44a1b6c0 by @edolstra: Fix build on non-x86_64-linux
<{^_^}> → 138af2e5 by @edolstra: Shut up signedness warning
equalunique[m] has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #34642 → pythonPackages.patator: init at 0.7 → https://git.io/vNjcL
<{^_^}> [nixpkgs] @dotlambda pushed 6 commits to master: https://git.io/vxsGC
<{^_^}> → c9bbf071 by @y0no: pythonPackages.ipy: 0.74 -> 0.83
<{^_^}> → a15544d5 by @y0no: pythonPackages.ajpy: init at 0.0.2
<{^_^}> → c9366518 by @y0no: pythonPackages.cx_oracle: init at 6.1
flugsio has quit [Ping timeout: 264 seconds]
equalunique[m] has joined #nixos
flugsio has joined #nixos
<manveru> i have a really weird fetchGit issue...
<unlmtd> sphalerite: well then that might not be my main issue, but Im certain it doesnt make it start really fast
<unlmtd> it just started today
<manveru> `fetchGit { url = https://github.com/blakepettersson/jsonapi; ref = "wip"; rev = "2ffb1e5b41be7eec76e512dd7da4ac7b501f9086"; }` fails in a default.nix via `nix build`, but when i paste it into a `nix repl`, it fetches the repo and afterwards the default.nix also works...
<manveru> how to debug? :)
<manveru> i can reproduce it if i delete the ~/.cache/nix/git dir, but then i have to wait ages for all dependencies to be fetched again :|
<sphalerite> unlmtd: if that's not the issue (which it may well be, depending on how many plugins you have, since it's O(n²)) then it's probably just one plugin. Maybe try "bisecting" to find out which one is the culprit. I'd recommend trying the buildEnv thing first though
herzmeister[m] has quit [Read error: Connection timed out]
<{^_^}> [nixpkgs] @abbradar opened pull request #37369 → Move to libglvnd for OpenGL → https://git.io/vxsZq
herzmeister[m] has joined #nixos
<garbas> hey! anybody knows how to choose an aws region when using -> nix copy --to src://<bucket> <installable>?
<woffs> thanks clever, "nix-build nixos/release.nix -A tests.quagga" works a bit better, though not fully yet :)
<garbas> i can only are able to upload to us-east-1
<garbas> i'm*
<aminechi1haoui> garbas: try --to "s3://bucket?aws-region=region" ?
* garbas tries
aminechi1haoui is now known as help
help is now known as Guest58784
Guest58784 is now known as aminechikhaoui
<garbas> aminechikhaoui: tnx for the hint. "s3://bucket?region=us-west-2" is what worked
<aminechikhaoui> great
Synthetica has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #36674 → postfix: 3.2.5 -> 3.3.0 → https://git.io/vApjj
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vxsnU
<{^_^}> → 7bb9d0bd by @ryantm: postfix: 3.2.5 -> 3.3.0
<{^_^}> → f38f3c28 by @dotlambda: Merge pull request #36674 from ryantm/auto-update/postfix
<unlmtd> sphalerite: thanks for the tip, but I found my issue; the frame wasnt updating so I couldnt see the file content even thou it was already opened. I found out by hitting the refresh map quicly after start
<unlmtd> probably because its remapped
<unlmtd> the terminal is hell for those of us who dont use qwerty
<sphalerite> >.>
ashgillman has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #35901 → far2l: 2017-10-08 -> 2018-02-27 → https://git.io/vAPUh
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxsnz
<{^_^}> → a3b406c0 by @volth: far2l: 2017-10-08 -> 2018-02-27
<{^_^}> → 24894fbc by @Mic92: Merge pull request #35901 from volth/far-2018-02-27
ixxie has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #37356 → gephi: build from sources → https://git.io/vx3d9
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/vxsnV
<{^_^}> → 94ff822e by @volth: jogl: init at 2.3.2
<{^_^}> → 887e6302 by @volth: jogl: temporary workaround for openjdk8
<{^_^}> → 1e2eec16 by @volth: gephi: build from sources
mmlb has quit [Quit: Ping timeout (120 seconds)]
<unlmtd> and qwerty is the worst keyboard, worst than plain alphabetical order ( I saw the tests for english). It was designed to spread out the most useful keys
<unlmtd> to avoid jamming
mmlb has joined #nixos
<unlmtd> another testament to man's lack of critical thinking .. follow the herd!
iyzsong has joined #nixos
<Aleksejs> Hello, how do I restart network manager? I tried systemctl restart NetworkManager but keep getting "Failed to restart NetworkManager.service: Unit NetworkManager.service not found"
<etu[m]> unlmtd: I've been on a swedish dvorak layout for 10+ years, I don't think the terminal is that bad just because of dvorak.
<{^_^}> [nixpkgs] @Mic92 merged pull request #37357 → jogl: init at 2.3.2 → https://git.io/vx3dQ
ixxie has quit [Client Quit]
sigmundv has quit [Ping timeout: 252 seconds]
<unlmtd> etu: its because I remap everything, so all the escape shortcuts (like refresh) break
ottidmes has joined #nixos
ixxie has joined #nixos
<unlmtd> the terminal assumes you wont touch a bunch of ctrl key combinations
knupfer has quit [Ping timeout: 260 seconds]
<etu[m]> Ah, I haven't done that
<Synthetica> Aleksejs: `sudo systemctl restart network-manager.service`
<unlmtd> ctrl+s and ctrl+L off the top of my head
<Aleksejs> Synthetica: thanks!
simukis has joined #nixos
<unlmtd> which I use a lot, theyre the half-page scrolling keys for vim (remapped for qwerty-based muscle memory)
xcmw has joined #nixos
<unlmtd> and a lot of developpers are hostile to fix these bugs
<unlmtd> well, in my limited experience
<etu[m]> I've just learned new locations and now 10 years later it's not a problem :p
lverns has joined #nixos
testing43 has joined #nixos
dan_b has quit [Ping timeout: 260 seconds]
xcmw has quit [Read error: Connection reset by peer]
testing43 has quit [Client Quit]
xcmw has joined #nixos
MercurialAlchemi has quit [Ping timeout: 268 seconds]
fendor has quit [Remote host closed the connection]
mightybyte has left #nixos [#nixos]
<{^_^}> [nixpkgs] @Mic92 merged pull request #35687 → libvirt: 3.10.0 -> 4.1.0 → https://git.io/vAKNe
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/vxsCk
<{^_^}> → 62bcd3b0 by @volth: gnulib: 0.1-357-gffe6467 -> 20180226
<{^_^}> → 632e9e62 by @volth: libvirt: 3.10.0 -> 4.1.0
<{^_^}> → 2fa253cb by @volth: libvirt: fix darwin build
fendor has joined #nixos
sigmundv has joined #nixos
<joepie91> hm.
<joepie91> it seems that pgadmin3 is broken?
<joepie91> segfaults on start
<joepie91> happens on both of my systems...
<joepie91> aha
lverns has left #nixos [#nixos]
<joepie91> but... I have the fixed version?
<joepie91> aha.
<joepie91> but.. that's merged too :/
<{^_^}> [nixpkgs] @volth opened pull request #37370 → Upstream rhvoice2 → https://git.io/vxsCa
<kandinski> where is the best place to ask for someone running nixos on a thinkpad x220 to share their model-specific tweaks? This is not cientific, but I feel like since I moved on from Ubuntu the fan is on all the time.
<joepie91> seems there's a few
<joepie91> (googling for device-specific configs works oddly often)
<joepie91> kandinski: specifically relevant is probably https://github.com/garbas/dotfiles/blob/master/nixos/hw/lenovo-x220.nix
<joepie91> services.thinkfan.sensor = "/sys/class/hwmon/hwmon0/temp1_input";
<kandinski> oh, good catch, thanks
<joepie91> also, didn't we have a device config repo somewhere?
<joepie91> ah, not exactly
<kandinski> https://github.com/garbas/dotfiles/blob/master/nixos/hw/lenovo.nix this is what I was looking at, thanks.
<joepie91> kandinski: very loosely related but possibly useful thing: https://gist.github.com/joepie91/67316a114a860d4ac6a9480a6e1d9c5c
<{^_^}> [nixpkgs] @ericsagnes opened pull request #37371 → pyschedule: init at 0.2.17 → https://git.io/vxsCH
<kandinski> joepie91: ta very much. I'm still chasing too many things, and this comes in handy.
<joepie91> :)
<joepie91> also, suggestions for additions to that gist welcome, with the caveat that I do curate stuff, ie. it needs to be accurate / useful / high-quality / etc. :P
<gchristensen> shlevy: updated to have a better title :) https://www.patreon.com/posts/17636486
thefloweringash has quit [Remote host closed the connection]
<joepie91> gchristensen: do you by any chance know why pgadmin3 is still broken?
<joepie91> despite presumably having been fixed 18 days ago
<joepie91> and the most recent release channel build being from 4 days ago
<gchristensen> nope
<gchristensen> sorry
<gchristensen> can't look now
<joepie91> alright
<pbogdan> looks like https://hydra.nixos.org is down
nD5Xjz has quit [Quit: WeeChat 2.0]
gchristensen changed the topic of #nixos to: Hydra is getting a hardware upgrade. || 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://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<rauno> hey
<joepie91> pbogdan: down for me too
<rauno> having some issues adding a patch to package build
<joepie91> ah
<gchristensen> pbogdan, joepie91 /topic :)
<rauno> when running patchPhase manually, it patches but with genericBuild it doesn't ..
<joepie91> gchristensen: hence the "ah" :)
<joepie91> okay, so pgadmin from unstable works
<fl3> any clues: > nix-shell -p 'python.withPackages(ps: with ps; [neovim])'
<fl3> > python -c "from neovim import VERSION as v; print(\"{}.{}.{}{}\".format(v.major, v.minor, v.patch, v.prerelease))"
<fl3> 0.1.13
<Synthetica> Ooooh, new hardware :D
<{^_^}> [nixpkgs] @ericsagnes opened pull request #37372 → Pyomo: init at 5.4.3 → https://git.io/vxsWh
<avn> Folks, anyone experienced issues with microphone in chromium (on current nixos master)?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<rauno> any idea how to debug it?
orivej has joined #nixos
<rauno> okay, found the reason, patchPhase is overridden by some "sed" cmd, how can i still be able to invoke the original patching phase ?
<ottidmes> rauno: you probably want to do prePatch or postPatch to do your own stuff while keeping the original patchPhase in place
MercurialAlchemi has joined #nixos
<rauno> it was overidden by package original maintainer, so probably shouldn't change that
<ottidmes> rauno: Or in your case change that customized patchPhase to be either the prePatch or postPatch, so the original is still called
<ottidmes> rauno: I think it is OK to do so
<{^_^}> [nixpkgs] @clefru opened pull request #37373 → Add space for NIX_CXXSTDLIB_COMPILE+=' ...' as NIX_CXXSTDLIB_COMPILE might not be empty. → https://git.io/vxs8T
<rauno> hum okay, currenly i worked it around with patch -p1 in this custom patchPhase
<ottidmes> rauno: That is a possibility, but I think it is considered better if you try and leverage the original patchPhase for this and change the customized of the original to pre/postPatch
xAFFE has joined #nixos
abathur has quit [Ping timeout: 264 seconds]
lord| has quit [Quit: WeeChat 2.0.1]
zzamboni has quit [Quit: Leaving.]
<fl3> any ideas how I could trace from which nix file that neovim python package comes?
fendor has quit [Ping timeout: 264 seconds]
<garbas> kandinski: joepie91: https://github.com/NixOS/nixos-hardware ... it is getting a lot of attentions lately. when i have time i will base my dotfiles on it
<fl3> nix-shell -p 'python.withPackages(ps: with ps; [neovim])' - still cant get why its outdated in that nix-shell :(
zzamboni has joined #nixos
<joepie91> garbas: aha! thanks
<garbas> fl3: look at the neovim derivation.
<joepie91> time to add that to my gist
<garbas> fl3: yes
<fl3> garbas: its 0.2.3 in that file, while 0.1.13 in shell :(
<kandinski> garbas, thanks for your dotfiles!
nD5Xjz has joined #nixos
nD5Xjz has quit [Client Quit]
nD5Xjz has joined #nixos
zzamboni has quit [Quit: Leaving.]
pkill9 has joined #nixos
zzamboni has joined #nixos
<fl3> garbas: probably I need something more than nix-shell -p 'python.withPackages(ps: with ps; [neovim])' to get fresh python-neovim?
krey has joined #nixos
<garbas> fl3: you want to use newest python-neovim in neovim or you want to develop it (eg. in nix-shell)?
xAFFE has quit [Quit: Gateway shutdown]
xAFFE has joined #nixos
xAFFE has quit [Client Quit]
xAFFE has joined #nixos
xAFFE has left #nixos [#nixos]
<fl3> garbas: actually I just want to use neovim :) and trying to fix "INFO: nvim-python-neovim version: 0.1.13 (outdated; from /nix/store/sb1a7sjz5k49p1z5kvcvysm022cdhf5h-python-2.7.14-env/lib/python2.7/site-packages/neovim)"
zzamboni has quit [Quit: Leaving.]
freeman42x]NixOS has joined #nixos
xcmw has joined #nixos
<garbas> fl3: there is no such things as "just using" :) everybody uses or prefers some setup of nix. the more info i know about your setup the better i can help you
<garbas> fl3: nixos?
pie_ has joined #nixos
ma27 has joined #nixos
<fl3> garbas: yes, I am trying to dig into it but run out of google keywords for googling :( I thought that "nix-shell -p 'python.withPackages(ps: with ps; [neovim])'" should gave the same version as inside neovim and is a bit more convinient to debug, its not true?
<garbas> fl3: which channel are you following?
<garbas> fl3: what you suggested wont work, since python-neovim is defined from within neovim expression
zzamboni has joined #nixos
<unlmtd> etu: the h/j/k/l keys dont make sense without qwerty
<unlmtd> remap those, then you have to remap everything
<srhb> Is there a nice, generic way of fetching sources with .git intact, extracting certain information from it and then getting rid of it?
xAFFE has joined #nixos
<ij> I'm compiling with master's ghc and haskellPackages.callPackage, but it doesn't see the 17.09 packages I've given to callPackage. Is it supposed to be that way?
pie_ has quit [Ping timeout: 255 seconds]
<etu[m]> unlmtd: Well, I don't use those. (backward, forward, next, previous) C-b, C-f, C-n, C-p (beginning-of-line, end-of-line) C-a, C-e. Works in all the shells and default in Emacs ;)
<unlmtd> yea iv learned all the emacs shortcuts without remap too
<unlmtd> doesnt make sense to remap those
<fl3> garbas: hmm, hmm, it seems that there is no neovim package in 17.09 pkgs/development/python-modules. It means I completely dont understand how nix works :(
ma27 has quit [Quit: WeeChat 2.0]
<unlmtd> ironically, I think only the death of the keyboard will precipitate the death of qwerty
<etu[m]> Bash has the same keybinds, pretty sure zsh does as well. I know that fish does.
zzamboni has quit [Ping timeout: 265 seconds]
<unlmtd> yep, so does mksh
Fare has joined #nixos
ma27 has joined #nixos
<fl3> ok, it was in python-packages.nix and it was 0.1.13. Thanks for help :|
<garbas> fl3: in 18.03 (current master) it was moved from python-packages.nix
<joepie91> garbas: added it to my gist btw
<garbas> fl3: since i see you want to use the latest neovim and latest stable nixos you can only pick neovim from master
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/vxsRr
<{^_^}> → 04f11faa by @NeQuissimus: linux: 4.4.121 -> 4.4.122
<{^_^}> → c4963d39 by @NeQuissimus: linux: 4.9.87 -> 4.9.88
<{^_^}> → e9ce4c01 by @NeQuissimus: linux: 4.14.27 -> 4.14.28
<garbas> fl3: i'll prepare the just for you, but i need to put first baby to sleep :P
drewr` has joined #nixos
<fl3> garbas: wow, thanks! I got the idea and will try to do it for myself for now to learn a bit more about nix :)
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-18.03: https://git.io/vxsR7
<{^_^}> → 10c404ac by @NeQuissimus: linux: 4.4.121 -> 4.4.122
<{^_^}> → 6c3638cf by @NeQuissimus: linux: 4.9.87 -> 4.9.88
<{^_^}> → 19daa8ca by @NeQuissimus: linux: 4.14.27 -> 4.14.28
zzamboni has joined #nixos
testuser has quit [Ping timeout: 256 seconds]
Rusty1_ has joined #nixos
fendor has joined #nixos
<pbogdan> does anyone know why the installer tests are failing on master?
knupfer has joined #nixos
drewr` has quit [Remote host closed the connection]
<Guanin> ottidmes, I'm rebooting right now and the systemd mount timeout works perfectly fine, it imposes no limit anymore :)
xAFFE has quit [Quit: Gateway shutdown]
knupfer has quit [Read error: Connection reset by peer]
xAFFE has joined #nixos
zzamboni has quit [Remote host closed the connection]
pie_ has joined #nixos
knupfer has joined #nixos
xcmw has quit [Ping timeout: 256 seconds]
lord| has joined #nixos
zzamboni has joined #nixos
xcmw has joined #nixos
drewr has quit [Remote host closed the connection]
xAFFE has quit [Quit: Gateway shutdown]
xAFFE has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed commit from @berce to master « rhvoice: init at unstable-2018-02-10 »: https://git.io/vxs0K
xAFFE has quit [Client Quit]
xAFFE has joined #nixos
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://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
asuryawanshi has joined #nixos
<ottidmes> Guanin: Great to hear!
<{^_^}> [nixpkgs] @jtojnar merged pull request #37370 → rhvoice: init at 0.6.unstable-2018-02-10 → https://git.io/vxsCa
<{^_^}> [nixpkgs] @tazjin opened pull request #37376 → mq-cli: init at 1.0.0 → https://git.io/vxsEY
xAFFE has quit [Quit: Gateway shutdown]
fendor_ has joined #nixos
xAFFE has joined #nixos
fendor has quit [Ping timeout: 256 seconds]
thefloweringash has joined #nixos
xAFFE has left #nixos [#nixos]
xcmw has quit [Ping timeout: 260 seconds]
xAFFE has joined #nixos
<gchristensen> xAFFE: you ok?
testuser has joined #nixos
periklis has joined #nixos
<xAFFE> slightly, sorry for the spam, I'm trying to setup automated nicksrv identification, but it does not seem to work
tkral has quit [Quit: Ping timeout (120 seconds)]
tkral has joined #nixos
<xAFFE> will try that later and maybe leave all the channels :-)
fl3 has quit [Remote host closed the connection]
Arcaelyx has joined #nixos
tkral has quit [Client Quit]
tkral has joined #nixos
fl3 has joined #nixos
thefloweringash has quit [Remote host closed the connection]
Adluc has quit [Ping timeout: 246 seconds]
thefloweringash has joined #nixos
tkral has quit [Client Quit]
tkral has joined #nixos
snajpa has quit [Excess Flood]
dasblondegrauen has joined #nixos
snajpa has joined #nixos
srk has quit [Ping timeout: 264 seconds]
FareTower has joined #nixos
fl3 has quit [Remote host closed the connection]
tkral has quit [Quit: Ping timeout (120 seconds)]
fl3 has joined #nixos
coot has joined #nixos
dasblondegrauen has quit [Quit: Leaving]
Fare has quit [Ping timeout: 264 seconds]
rauno has quit [Remote host closed the connection]
snajpa has quit [Ping timeout: 276 seconds]
blankhart has quit [Read error: Connection reset by peer]
superusercode has joined #nixos
thefloweringash has quit [Ping timeout: 276 seconds]
blankhart has joined #nixos
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
ashgillman has quit [Ping timeout: 256 seconds]
zzamboni has joined #nixos
<jtojnar> anyone has any idea why would `find /tmp/tmp.raT2Kv3sQH -type l` take several minutes in NixOS test?
srk has joined #nixos
amiloradovsky[m] has joined #nixos
snajpa has joined #nixos
tkral has joined #nixos
<jtojnar> the directory is not that big, maybe some problem with a virtual HDD?
<clever> jtojnar: run it under "strace -f -c"
xcmw has joined #nixos
<clefru> anybody familiar with packaging rust stuff here? I am hitting a problem with cargo, not being able to update git repo before build: https://pastebin.com/4uU7Ec1H
<clefru> I have no clue what cargo is ...
nschoe has quit [Ping timeout: 255 seconds]
Adluc has joined #nixos
<fendor_> did someone try to use haskell-ide-engine on nix? Everytime I start it, it tries to download a new ghc and fails since it is not using nix
FareTower has quit [Ping timeout: 256 seconds]
asuryawanshi has quit []
xcmw has quit [Ping timeout: 240 seconds]
blankhart has quit [Ping timeout: 240 seconds]
erasmas has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #35564 → qemu: add optional virglrenderer and opengl support → https://git.io/vArLQ
asuryawanshi has joined #nixos
Lisanna has joined #nixos
<Lisanna> omfg, I've been writing too much nix code
<Lisanna> I can't write python anymore, at all
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<joepie91> lol
<joepie91> Lisanna: careful, in a week you'll have written a Nix-to-Python transpiler
<Lisanna> ):
<Lisanna> everything is stateful
<Lisanna> I can't even
<Lisanna> (nix is my first functional language... which really really sucks, since now I can't use any imperative languages at all without getting an upset stomach)
<joepie91> Lisanna: fwiw, I find JS to be pretty decent for writing stateless code :P it's not strictly a functional language but it does pretty well
<joepie91> from what I recall of Python, not having used it for a while now, I suspect it's quite a bit harder there
<fendor_> would still prefer elm if it is possible
thefloweringash has joined #nixos
<{^_^}> [nix] @shlevy pushed 3 commits to master: https://git.io/vxsVR
<{^_^}> → ec6a328f by @bchallenor: Dockerfile: 1.11.14 -> 2.0
<{^_^}> → a74288b9 by @bchallenor: Dockerfile: verify tar file with sha256sum
<{^_^}> → ae299ab4 by @shlevy: Merge branch 'master' of git://github.com/bchallenor/nix
<{^_^}> [nix] @shlevy merged pull request #1987 → Dockerfile: 1.11.14 -> 2.0 → https://git.io/vx31u
<fl3> garbas: I ended up installing neovim from nixos-unstable, and it works pretty fine. Thanks for help :)
<garbas> fl3: +1
xcmw has joined #nixos
tkral has quit [Quit: Ping timeout (120 seconds)]
bigvalen has quit [Quit: ZNC by prozac - http://znc.sourceforge.net]
<gchristensen> srhb: ping
<gchristensen> srhb: can we merge https://github.com/NixOS/nixpkgs/pull/37132 ?
Adluc has quit [Ping timeout: 256 seconds]
xAFFE has left #nixos [#nixos]
xAFFE has joined #nixos
<srhb> gchristensen: Oops, yes! Can't click the button right now.
<srhb> gchristensen: I don't think peti had any further objections :)
<gchristensen> srhb: mind if I click it? :)
<srhb> gchristensen: Only if you don't sing the merge tune at the same time!
* gchristensen sings the tune
<srhb> woo!
<{^_^}> [nixpkgs] @grahamc merged pull request #37132 → haskellPackages.ghcWithPackages: Wrap haddock with GHC lib dir → https://git.io/vxtDF
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/vxsrT
<{^_^}> → 2956cc87 by @srhb: haskellPackages.ghcWithPackages: Wrap haddock with GHC lib dir
srk has quit [Remote host closed the connection]
<{^_^}> → 81da63f0 by @grahamc: Merge pull request #37132 from srhb/haddock-wrapped
<clever> oh, related to that pr, i need a way to get the closure of a given haskell package, as a list of derivations
<clever> is there an easy way to do that?, shal i just recursively map over the propagatedBuildInputs?
nschoe has joined #nixos
<ottidmes> clever: Do you perhaps know if you can have multiple initrd's with kexec? Would be useful if I could add my extra initrd with the secrets when kexec'ing, although I guess I could unpack the extra initrd myself in the initrd
drewr has joined #nixos
srk has joined #nixos
<clever> ottidmes: my kexec tools already adds files to the initrd
Adluc has joined #nixos
<clever> ottidmes: basically, i uncompress (but not unpack) the initrd, then i generate a 2nd initrd with the ssh pubkey, then i just concat the 2 cpio archives, and re-compress
<clever> there is a special marker at the start of cpio archives, and the kernel will easily accept joining several with cat
<clever> but the compression layer gets a bit more upset over that, so i have to re-compress
<clever> kexec itself, doesnt accept a list
iyzsong has quit [Ping timeout: 260 seconds]
<ottidmes> clever: Ah, thanks, that is a nice solution
reinzelmann has quit [Quit: Leaving]
<clever> actually, it doesnt re-compress
<clever> oops
<clever> gzip is also happy with cat'ing several streams together
<ottidmes> clever: apparently :P
<clever> the hardest part i had to figure out, back when i made my own initrd's for gentoo, is that you must use cpio -H newc
<clever> to set the format
<ottidmes> clever: Yeah, I remembered you saying that before, but somehow forgot that you had this (extending the initrd) already in your example
<clever> line 36 of the same file also copies that file out of the initrd, and into the final rootfs
<clever> so it allows ssh
<shlevy> Hydra down again?
<ottidmes> clever: yeah, that was my main problem, kexec would no longer allow me to SSH in the system, not that it really matters in my case, but still, something I'd rather fix
<clever> ottidmes: you can either embed your pubkey into the configuration.nix as standard, or use the file in / on the host
<ottidmes> clever: I am now adding a rescue netboot like you have, but keep it build separately from the rest of my system, its rather annoying to have it rebuild it every time I tweak / test my config, so instead I will just call nix-build in a script to build it
chocopuff has joined #nixos
<guillaum1> I have a new package (gcompris, an educational game). Is it better to do my pull request on top of nixpkgs/master or something else ? (release-18.03 for example?)
asuryawanshi has quit [Ping timeout: 248 seconds]
<ottidmes> guillaum1: Should be based on master
<guillaum1> ottidmes: ok, thank you.
Sonarpulse has joined #nixos
<Sonarpulse> anyone noticed the media keys stopped working?
<Sonarpulse> `light` seems to require root
<Sonarpulse> now
<Sonarpulse> (media keys to adjust brightness)
<ottidmes> guillaum1: I believe 18.03 is even frozen at the moment, they try to bring failures down as close to 0 as possible
Sonarpulse has quit [Remote host closed the connection]
xcmw has quit [Ping timeout: 240 seconds]
rauno has joined #nixos
Sonarpulse has joined #nixos
asuryawanshi has joined #nixos
xcmw has joined #nixos
<infinisil> Hmm, i still have this PR with the znapzend fix: https://github.com/NixOS/nixpkgs/pull/35073
<infinisil> Can somebody merge this please? It'a a trivial bugfix without which the znapzend module doesn't work for anybody using it for the first time
jtojnar has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @shlevy pushed to binutils-2.30 « binutils: Revert apparently-broken multiple-definition support in gold. »: https://git.io/vxsiX
fendor_ has quit [Ping timeout: 260 seconds]
xcmw has quit [Ping timeout: 256 seconds]
lord| has quit [Quit: WeeChat 2.0.1]
<{^_^}> [nixpkgs] @guibou opened pull request #37377 → Guibou add gcompris → https://git.io/vxsPo
mkoenig has quit [Ping timeout: 240 seconds]
xeji has joined #nixos
blankhart has joined #nixos
fendor_ has joined #nixos
johann__ has joined #nixos
purewater[m] has joined #nixos
<{^_^}> [cabal2nix] @angerman opened pull request #339 → Add `Windows` to platforms. → https://git.io/vxs11
logzet has joined #nixos
wtok has joined #nixos
pxc has joined #nixos
logzet has quit [Remote host closed the connection]
logzet has joined #nixos
alexteves has joined #nixos
mkoenig has joined #nixos
winem_ has joined #nixos
wtok has quit [Ping timeout: 240 seconds]
volhovm has joined #nixos
<volhovm> Hi! Is there a way to install 32 bit glibc on 64bit nixos?
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
zzamboni has quit [Quit: Leaving.]
ron__ has joined #nixos
<clever> !libraries
<clever> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<clever> volhovm: what exactly are you trying to do?
zzamboni has joined #nixos
<volhovm> clever: I'm invoking gcc with -m32 and it fails to find `gnu/stubs-32.h`
asuryawanshi has quit [Ping timeout: 260 seconds]
<volhovm> It's just a 32bit asm exercise
<clever> volhovm: ah, you want to use pkgsi686Linux instead of pkgs
zzamboni has quit [Client Quit]
<clever> so things like pkgsi686Linux.stdenv.mkDerivation or pkgsi686Linux.callPackage
zzamboni has joined #nixos
<clever> then nix will give you 32bit everything
<volhovm> clever: ok thanks, will see how it goes!
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/747a426ce63 (from 24 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<makefu> clever is a wealth of arcane knowledge
<clever> volhovm: you likely also dont need -m32 at that point, since nix will provide a 32bit only gcc
<ij> I'm wondering how can the haskellPackage.direct-sqlite work, if I don't see a direct dependency in hackage-packages.nix?
xAFFE has left #nixos ["Error from remote client"]
rauno has quit [Ping timeout: 255 seconds]
himmAllRight17 has quit [Remote host closed the connection]
himmAllRight has joined #nixos
coconnor has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ryantm opened pull request #37378 → Revert "cdrtools: 3.02a06 -> 3.01" → https://git.io/vxsHk
<makefu> clever: persisted your knowledge, just in case https://nixos.wiki/wiki/Cross_Compiling
pxc has quit [Ping timeout: 276 seconds]
wchresta has joined #nixos
zzamboni has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @globin merged pull request #37378 → Revert "cdrtools: 3.02a06 -> 3.01" → https://git.io/vxsHk
<{^_^}> [nixpkgs] @globin pushed commit from @ryantm to master « Revert "cdrtools: 3.02a06 -> 3.01" »: https://git.io/vxsQI
prismate has joined #nixos
prismate has left #nixos ["WeeChat 0.3.8"]
<fendor_> did someone try to use haskell-ide-engine in nix?
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
digitus has joined #nixos
<clever> makefu: also, its not really cross-compiling, its a 32bit->32bit compiler
kthnnlg has joined #nixos
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
<makefu> clever: pffff, make another suggestion :D
<makefu> but yes i thought the same
coconnor has joined #nixos
zzamboni has quit [Client Quit]
<{^_^}> [cabal2nix] @peti merged pull request #339 → Add `Windows` to platforms. → https://git.io/vxs11
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/vxs7H
<{^_^}> → 69873f88 by @angerman: Add `Windows` to platforms.
<{^_^}> → 4f0c2c3b by @peti: Merge pull request #339 from angerman/patch-1
zzamboni has joined #nixos
<disasm> zimbatm: I've seen you mention shellcheck in the past on some PR's. Do you have a solution for getting shell check to pass on shell scripts with a nix-shell shebang defining dependencies for a script?
wchresta has quit [Ping timeout: 260 seconds]
<gchristensen> I manually spectify --shell or whatever the argument is
fendor_ has quit [Ping timeout: 240 seconds]
zzamboni has quit [Ping timeout: 264 seconds]
<makefu> clever: what would be the correct page title for this info?
<clever> makefu: something more along the lines of just building 32bit stuff
<makefu> okay i will start a section with "Packaging" and down below all the stuff you can package
fendor has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #37379 → asciidoc: add enableJava option → https://git.io/vxsdQ
alhariel has joined #nixos
krey has quit [Quit: Lost terminal]
mduggie has quit [Ping timeout: 245 seconds]
<alhariel> does anyone here have a working mpd
<{^_^}> [nix] @dtzWill opened pull request #1989 → util: rename stdout/stdin members to avoid conflicts w/standard macro → https://git.io/vxsFm
rauno has joined #nixos
jensens has quit [Ping timeout: 264 seconds]
xcmw has joined #nixos
Tucky has quit [Quit: WeeChat 2.0.1]
<wilornel> Hi #nixos! I have this command that I want to always be running. `unison my_proj -repeat 1`. It tries to connect to a remote machine. If the machine is reachable, the command keeps running until the machine is unreachable. If the machine is unreachable, the control goes back to the shell, and I have to run it again when the remote machine becomes available.
<Synthetica> wilornel:
<Synthetica> `while true`?
maximiliantagher has joined #nixos
xeji has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @Ma27 opened pull request #37380 → zed: remove → https://git.io/vxsbH
<ma27> are there any folks using the `zed` editor? Upstream is obviously dead, so it might be better to remove it from nixpkgs (see https://github.com/NixOS/nixpkgs/issues/37361)
<Synthetica> They'll probably react in the comments, if they exist 🤷
<ma27> Synthetica: just asking here as well as I'm doubt that everybody keeps track of open PRs %)
<makefu> clever: the info is now at https://nixos.wiki/wiki/Packaging/32bit_Applications
FareTower has joined #nixos
<clever> makefu: sounds good
ixxie has joined #nixos
sanscoeur has joined #nixos
hakujin1 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #37379 → asciidoc: add enableJava option → https://git.io/vxsdQ
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vxsNj
<{^_^}> → 9ede31bf by @dotlambda: asciidoc: add enableJava option
<{^_^}> → d0b429f5 by @dotlambda: Merge pull request #37379 from dotlambda/asciidoc-enableJava-option
<{^_^}> [nixpkgs] @dotlambda pushed to release-18.03 « asciidoc: add enableJava option »: https://git.io/vxsAL
periklis has quit [Ping timeout: 248 seconds]
<mbrgm> using dots in nix attribute keys is not a good idea, right?
Ariakenom has joined #nixos
<mbrgm> like e.g. in nixops machine names
<makefu> mbrgm: no problem, really
johann__1 has joined #nixos
<makefu> for example: services."my.service" works without any issues
johann__ has quit [Read error: Connection reset by peer]
<mbrgm> makefu: ok... I ran into an issue with nixops, but I'll have to double-check that
<ToxicFrog> mbrgm: note that `foo.bar.baz` and `foo."bar.baz"` are not the same thing.
<makefu> that is true of course
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36413 → vo-amrwbenc: init at 0.1.3 → https://git.io/vAFdx
<{^_^}> [nixpkgs] @matthewbauer pushed 5 commits to master: https://git.io/vxsxY
<{^_^}> → 1efef6b1 by Adam Copp: Add vo-amrwbenc library package.
<{^_^}> → 2040e4c2 by Adam Copp: Fix maintainer list
<{^_^}> → 828fdd49 by Adam Copp: Merge branch 'master' of https://github.com/Esteth/nixpkgs
<wilornel> Synthetica: is there a solution where I don't have to manually run the `while true` command?
<wilornel> I'm resending to people can see: I have this command that I want to always be running. `unison my_proj -repeat 1`. It tries to connect to a remote machine. If the machine is reachable, the command keeps running until the machine is unreachable. If the machine is unreachable, the control goes back to the shell, and I have to run it again when the remote machine becomes available.
<wilornel> Is there a way to create a daemon which launches anytime I boot my instance?
<Synthetica> Well, you _could_ make a systemd user service?
<{^_^}> [nixpkgs] @globin merged pull request #37380 → zed: remove → https://git.io/vxsbH
<{^_^}> [nixpkgs] @globin pushed commit from @Ma27 to master « zed: remove »: https://git.io/vxsxK
<wilornel> alright, that's what I thought
<wilornel> is that done slightly differently in nixos?
<Synthetica> Yeah
thblt has quit [Ping timeout: 264 seconds]
ambro718 has joined #nixos
blankhart has quit [Ping timeout: 260 seconds]
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
coot has quit [Quit: coot]
<kthnnlg> Hi All, I am writing a nix script to help me do some development work. In this script, I have a build dependency on a derivation named foo. Now, suppose that foo creates some binaries in the $out/bin/ folder. What is the usual method to ensure that the binaries created by foo are in the PATH of my development derivation? Thanks
blankhart has joined #nixos
<symphorien> kthnnlg: how will you script be used ? with nix-shell ?
<kthnnlg> yep, with nix-shell
<symphorien> then put foo in the buildInputs of the derivation
<kthnnlg> yep, it's there
<symphorien> then ${foo}/bin should be in the PATH of the nix-shell
maximiliantagher has quit [Ping timeout: 276 seconds]
<{^_^}> [nix] @shlevy merged pull request #1989 → util: rename stdout/stdin members to avoid conflicts w/standard macro → https://git.io/vxsFm
<{^_^}> [nix] @shlevy pushed 2 commits to master: https://git.io/vxsh3
<{^_^}> → 9b33201e by @dtzWill: util: rename stdout/stdin members to avoid conflicts w/standard macro
<{^_^}> → d53970d3 by @shlevy: Merge pull request #1989 from dtzWill/fix/avoid-reserved-standard-macros
<fl3> Neovim works fine, but trying to figure out how package overrides works :) I added this: https://gist.github.com/not-fl3/137ac05c6ee6e1e34fc7b4e538356ca0 to my configuration.nix and expect to get neovim-2.0.4 in some nix-shell. What I am doing wrong?
<infinisil> fl3: And you have pkgs.fetcUrl in there which would throw an error if it would get evaluated
<{^_^}> [nixpkgs] @jtojnar opened pull request #37381 → gobjectIntrospection: fix incorrect GIR shared library paths → https://git.io/vxsjv
<coconnor> wilornel: here is an example that is relevant https://gist.github.com/coreyoconnor/776f64f43b7a7ea7bc7a1435dcefb7f6
<kthnnlg> symphorien: oops, sorry, what i actually wanted was for the bin subfolder of foo to appear in the PATH of the terminal session that is opened by nix-shell
<symphorien> hum this is somewhat non standard...
endformationage has joined #nixos
<fl3> infinisil: hmm, no errors reported by nixos-rebuild :(
[Leary] has quit [Remote host closed the connection]
<symphorien> anywa you can preConfigure = '' export PATH=$PATH:${foo}/bin/foo '';
<fl3> symphorien: I used the advice from 9.11.3.7. in your link, its not relevant to my case?
<kthnnlg> symphorien: super, thankx
<clever> kthnnlg: the bin dir of every buildInput is added to PATH automatically
<clever> kthnnlg: so builtInputs = [ foo ]; would do it
<symphorien> fl3: this is strange. In the overlay example they override python, because pythonPackages is an attribute of python
<symphorien> in the example above, they override directly.
<symphorien> how do you install neovim ?
<symphorien> with pythonPackage.neovim or neovim ?
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
__Sander__ has quit [Quit: Konversation terminated!]
<fl3> symphorien: I am trying both "nix-shell -p neovim" and "nix-shell -p pythonPackages.neovim"
<makefu> symphorien: pythonPackages is generally only for libraries, check out https://nixos.wiki/wiki/Python#Contribution_guidelines
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36838 → texmaker: 4.5 -> 5.0.2 → https://git.io/vxejh
<{^_^}> → a9ee6d2d by @markuskowa: texmaker: 4.5 -> 5.0.2
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxsjH
<{^_^}> → 11c34d55 by @matthewbauer: Merge pull request #36838 from markuskowa/texmaker-pr
<infinisil> fl3: Um, you're defining this overlay in configuration.nix?
<infinisil> fl3: Those don't apply to nix-shell
<symphorien> makefu: I mean, fl3 is overriding pythonPackages.neovim, not neovim
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36782 → prometheus: add 2.1.0 → https://git.io/vAjdl
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxsjh
<{^_^}> → 78f50651 by @mbode: prometheus: add 2.1.0
<{^_^}> → ac037da8 by @matthewbauer: Merge pull request #36782 from mbode/prometheus_2_1_0
<makefu> symphorien: oh
Olgierd_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36846 → snpeff: 4.3t -> 4.3q → https://git.io/vxvql
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxGeL
<{^_^}> → f48ff649 by @jbedo: snpeff: 4.3t -> 4.3q
<{^_^}> → 964c32bc by @matthewbauer: Merge pull request #36846 from jbedo/snpeff
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36681 → redo-sh: 1.2.6 -> 2.0.3 → https://git.io/vAhtv
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxGeC
<{^_^}> → c02fd491 by @ryantm: redo-sh: 1.2.6 -> 2.0.3
<{^_^}> → 4f338db6 by @matthewbauer: Merge pull request #36681 from ryantm/auto-update/redo-sh
xcmw has quit [Ping timeout: 256 seconds]
roberth has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36647 → openvpn: 2.4.4 -> 2.4.5 → https://git.io/vApuX
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxGeV
<{^_^}> → b0e306b1 by @ryantm: openvpn: 2.4.4 -> 2.4.5
<{^_^}> → baf0d149 by @matthewbauer: Merge pull request #36647 from ryantm/auto-update/openvpn
<manveru> can we get a channel for this bot? :)
<fl3> infinisil: only to systemPackages?
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vxGe6
<{^_^}> → 56648669 by @ryantm: opengrok: 0.12.5 -> 1.0
<{^_^}> → 3fc0a2bb by @matthewbauer: Merge pull request #36639 from ryantm/auto-update/opengrok
<makefu> manveru: or maybe just squash all the commit into the one with the PR being merged
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36639 → opengrok: 0.12.5 -> 1.0 → https://git.io/vApB3
<wilornel> Synthetica: is there a resource that nicely describes the subtleties of systemd in nixos?
<gchristensen> makefu: I turned it off just now (cc samueldr) to reudec the spam
vidbina has joined #nixos
<manveru> gchristensen: thx
<manveru> it's nice to have it somewhere, but probably not here...
<makefu> great!
<makefu> but it is a nice heartbeat imho
<infinisil> fl3: Only to the pkgs argument you get at the top of each module, so yeah systemPackages will work if you used `with pkgs; `
<gchristensen> I like it when it isn't posting quite so much
<ixxie> the python package I am packaging requires a specific version of another python module; could someone point me to an example of how that is done?
<manveru> true... i wouldn't mind if it gave like half-hourly updates of what was merged
<Synthetica> wilornel: ... Not sure to be honest
<gchristensen> samueldr: ^
<makefu> ixxie: you have two chances, either override the already existing package with the new `src` or build a new derivation. use on of these in your propagatedBuildInputs
<samueldr> manveru: good idea
<infinisil> ixxie: Patch it to not require a specific version
<infinisil> ixxie: Assuming the version in nixpkgs more or less matches the specific version
rauno has quit [Remote host closed the connection]
<makefu> also sometimes you can simply remove the pinning of the package with sed
<infinisil> That's what i mean by patching
<makefu> so there are three ways to handle it :)
<ixxie> thanks
<fl3> aat least I got fetchurl typo error now
<ixxie> hmmm I am quite surprised one has to replicate code of an existing derviation
xcmw has joined #nixos
<infinisil> ixxie: Patching is first priority, and no need to duplicate anything, in could be refactored to support multiple versions
winem_ has quit [Ping timeout: 240 seconds]
winem_ has joined #nixos
<ixxie> infinisil: you mean patching the other derivation or patching the python module?
maximiliantagher has joined #nixos
<infinisil> ixxie: Patching the thing that wants a fixed version
<infinisil> So it doesnt
<infinisil> Require a fixed version anymore
<manveru> anybody getting `/run/current-system/sw/bin/google-chrome-stable: line 5: 22803 Trace/breakpoint trap /nix/store/4gxpn2v1jhrgnc3gs2bkkibj35x9rba1-google-chrome-64.0.3282.186/share/google/chrome/google-chrome "$@"`?
<ixxie> infinisil: I submitted a PR to the repo of the actual package and this was rejected because the version is necessary for it
<infinisil> ixxie: link? It seems weird to require a specific version
<ixxie> but they are just kinda doing to prevent 'unpredictable changes'
acarrico has quit [Ping timeout: 260 seconds]
xcmw has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos
justanotheruser has quit [Client Quit]
justanotheruser has joined #nixos
<zimbatm> disasm: try to add "# shellcheck shell=bash" somewhere in the header
<infinisil> ixxie: i don't approve of their reasoning, they basically say that if their dependendy breaks backwards compatibility it won't work, duh
<infinisil> That is the perfect use for patching
ambro718 has quit [Quit: Konversation terminated!]
<ixxie> infinisil: do you have a nice example?
<ixxie> honestly though: its weird one cannot pin dependency versions in nixpkgs, but I can imagine it would require maintaining mutliple versions of any package
jeschli2 is now known as jeschli
<ixxie> unrelated: are there options for configuring SSH timeout, both client and server side?
<clefru> what does it take to get commit access to nixpkgs?
johann__1 has quit [Remote host closed the connection]
<srhb> clefru: Mostly asking, a few contributions perhaps! :)
<infinisil> ixxie: indeed, and the closure size could get a lot bigger when every package needs its specific dependencies
root_662 has quit [Remote host closed the connection]
<clefru> srhb: sounds not too hard :). does it require some participation in some kind of PR triaging queue?
<srhb> clefru: Nope. Not as yet at least :-)
* gchristensen cackles, eviley, at the idea
<srhb> I think tools like that would be very helpful at the very least :-P
<infinisil> ixxie: need to put it in extraConfig
<infinisil> ixxie: and client side in ~/.ssh/config
winem_ has quit [Ping timeout: 252 seconds]
<infinisil> For server its called ClientAliveInterval
winem_ has joined #nixos
<Lisanna> can nixops take --arg, --argstr in any way for deployments?
<clefru> srhb: I probably need to understand what those 10.rebuild* tags are for and when to merge something to staging
<Lisanna> answer: yes, with set-args
<clefru> srhb: a contributors handbook would be awesome :). I know that you will invite me to write one in response to that suggestion :)
<srhb> clefru: Agreed, it would. There is a contributors guide but it's rather lean.
<srhb> clefru: The tags basically mean "don't merge to master if you're rebuilding the whole world"
<srhb> Or a sizeable portion of the work
<infinisil> Lisanna: indeed, didn't know this either first
vidbina has quit [Ping timeout: 264 seconds]
<srhb> clefru: It's really just a resource concern. The build servers will get bogged down needlessly. Instead we synchronize bigger changes via staging, and thus allow master to move on more or less unimpeded.
<clefru> srhb: I was guessing that, thanks
<srhb> :)
M8QL3Gxor-freene has joined #nixos
M8QL3Gxor-freene has quit [Client Quit]
<ixxie> infinisil: which extraConfig? openssh.extraConfig?
<infinisil> Yea
fl3 has quit [Quit: Lost terminal]
maximiliantagher has quit []
maximiliantagher has joined #nixos
<ixxie> cheers infinisil
vidbina has joined #nixos
<elvishjerricco> Is there any documentation on ssh-ng? I've heard some chatter on it but I have no idea what it is
FareTower has quit [Ping timeout: 260 seconds]
ThatPako has joined #nixos
<ThatPako> Hello! Do I have to clone NixOS/nixpkgs in order to install a custom program using my configuration.nix?
pie_ has quit [Ping timeout: 245 seconds]
<clever> ThatPako: no, you can just put a package override into your configuration.nix and load things with callPackage
<ThatPako> That sounds like something I would be too stupid for lol
<ixxie> is the system.stateVersion necessary when running unstable?
<gchristensen> ixxie: recommended!
<clever> ixxie: it must never be changed, and must remain set at the version you originally installed
<ixxie> what?
<ixxie> that is weird
<gchristensen> why?
<clever> ixxie: it is the version of the state, which nix cant upgrade
<ixxie> so I set it wrong
<clever> ixxie: things like what role has admin in postgress
<clever> if you mess with it, you break the very things it was meant to fix
<ixxie> because when I upgraded to 17.09 I changed that
<gchristensen> ixxie: newer nixos installations have a more verbose warning
xAFFE has joined #nixos
<ixxie> so uuug
<ixxie> what do I do know to figure out what I should set it to?
<clever> ixxie: if nothing has broken, then you may not run any of that buggy software
<gchristensen> one sec
ma27 has quit [Ping timeout: 240 seconds]
<clever> and the new value would also be ok to keep
<gchristensen> ixxie: do you use mysql, postgresql, matrix-synapse, ipfs, radicale, or caddy?
<ixxie> gchristensen: not directly
<gchristensen> if you don't run those on your server the stateVersion is unused
<ThatPako> clever: is there some guide on how to install custom packages?
<clever> ThatPako: thats in the nixpkgs manual
<ThatPako> Oh, I see
<ixxie> cool
<ixxie> thanks
<ThatPako> From what I read my only two options is `import`ing a .nix file for every package I want to use without a package online, or I add it to my local nixpkgs clone use that as "mirror"?
<ThatPako> Would I *only* use my local clone then? Or would it only check that clone for packages missing on the remotes?
<clever> ThatPako: even if you had a local nixpkgs clone, you still must import every nix package, in that clone
<ThatPako> oh
<clever> ThatPako: so its simpler to just have a single nix file that defines the changes, and not deal with the clone
fendor_ has joined #nixos
<ThatPako> a "single file that defines the changes"? So no cloning and just storing my own expressions in some folder I import in my configuration?
<clever> ThatPako: you can manage that file in git if you want to
<ThatPako> True.
<ixxie> infinisil: do you have an example of the patching approach I could model mine after?
<clever> ThatPako: overlays also help to make it simpler
<ThatPako> Gotta read up on overlays then
<ThatPako> Thanks!
<clever> ThatPako: here is an example overlay i recently made: https://github.com/cleverca22/nixos-configs/blob/master/overlays/qemu-user.nix
<clever> ThatPako: that defines 6 custom packages
<ThatPako> btw, may my user own the configuration.nix file or does it have to be owned by root?
<clever> ThatPako: it is then put into action with nixpkgs.overlays = [ (import ./overlays/qemu-user.nix) ];
<clever> ThatPako: nix doesnt really care, so its mostly your choice and how you feel about the security
Myrl-saki has joined #nixos
<ThatPako> that would make changing the file easier at least
xAFFE has left #nixos ["Error from remote client"]
<wilornel> I'm thinking about nix, nixos, docker, kubernetes, and amazon aws...
<wilornel> I feel like nix makes working with the rest much easier
<wilornel> but I don't know how
<wilornel> anyone knows some readings I could look into? I would love to talk with someone who is a user of all these technologies
<srhb> Any nodePackages maintainers that could look at https://github.com/NixOS/nixpkgs/pull/37179 ? The diff is scary large, but I'm guessing that's something specific to the node ecosystem. It's also a first time contribution :)
<ThatPako> Nix has a nodePackages? :thinking: wew
<ThatPako> thought it only does haskellPackages
<wilornel> (also, systemd keeps coming in mind)
<clever> ThatPako: it also has pythonPackages and linuxPackages (kernel stuff)
<ThatPako> Wow
<ThatPako> Nix is way too advanced
<srhb> idrisPackages, too, though that's small.
<ThatPako> > idris
<srhb> Probably a few I've forgotten.
humanoyd has joined #nixos
<srhb> ocaml!
<srhb> And elm, too..
<srhb> I think I mostly know of the functional space :P
<gchristensen> too advanced??
* srhb waits for the Sparta impression
<ThatPako> I'm not used to such an... interesting ecosystem :^)
<ThatPako> I'm coming from Arch, after all. There you just do `<pacman wrapper> -S <package name>` and hope it works
<srhb> Eh, there's plenty of room for cargo culting weird commands here. :-)
coot has joined #nixos
<ixxie> pythonPackages!
<ThatPako> rustPackages would be nice
<srhb> We have the cargo thingy.
<srhb> I'm not sure if there's any automatic sharing of vendored stuff though?
<srhb> Every time I build one of them I go "what is it downloading *now*?!"
<foldingcookie> which package should I install to get bold versions of the "fixed" X11 font?
<ThatPako> Are you talking about building crates?
<srhb> ThatPako: I think so :-)
jrolfs has joined #nixos
<ThatPako> I just got used to cargo downloading half of crates.io every time it builds a crate
<srhb> But without rustPackages I assume two packages using the same vendored dependency end up building it twice.
<srhb> Which rustPackages would alleviate, I guess?
<ThatPako> oh
<foldingcookie> ThatPako: you can set CARGO_TARGET_DIR to share built deps between crates if they have the same compilation flags
<srhb> I'm not entirely sure how the ecosystem works, but vendoring usually means less sharing.
<srhb> Which is a shame.
coot has quit [Quit: coot]
<ThatPako> Is downloading a tarball and just storing the program in my home dir a no-go in NixOS or could one do that for stuff that's not part of nixpkgs?
<ThatPako> I guess I would be better off with a nix expression for it though...
<ThatPako> agh...
<srhb> ThatPako: You can, but you get so many advantaged from the nix expression
<srhb> advantages*
<srhb> Easier upgrades, easier sharing, easier everything! :)
xAFFE has joined #nixos
<ThatPako> Hm... True
<foldingcookie> how do you run such "I downloaded a tarball" programs?
sigmundv has quit [Ping timeout: 240 seconds]
<clever> ThatPako: /lib/ld.so doesnt exist, so 90% of those programs will fail to even start
<foldingcookie> eventually I want to package stuff properly but I have a lot to migrate over...
<ThatPako> oh, I see
chocopuff298 has joined #nixos
<ThatPako> I'm surprised nobody wrote a Lutris expression yet
<guillaum1> what are the "{memory:XX}" value printed when I use `nix-store --gc --print-roots` ?
<clever> guillaum1: can you paste one in-full?
chocopuff has quit [Ping timeout: 240 seconds]
<guillaum1> clever: {memory:14} -> /nix/store/3mkk1lz5xapf5092qzhcqaqkrp52irmx-i3-4.14.1
<clever> guillaum1: is there a pid 14 running? ps aux | grep 14
<guillaum1> clever: apparently a watchdog
<clever> guillaum1: kernel or userland?, what did the grep say exactly?
<gchristensen> those are in-memory GC routes
<gchristensen> roots.
fendor has quit [Ping timeout: 268 seconds]
fendor_ is now known as fendor
<guillaum1> gchristensen: and what are in-memory GC routes ?
sigmundv has joined #nixos
<gchristensen> or rather runtime roots
<gchristensen> the garbage collector checks all the running programs to see if they're in the nix store, and if so considers them to be a gc root
<guillaum1> gchristensen: ha, that's smart, this way even running program are not garbage collected. Thank you.
<gchristensen> running programs or paths referenced by running programs (see the fd, environ, cwd, and map checks)
<clever> gchristensen: aah, the 14 is just an index into the array findRuntimeRoots() returned, and has no real meaning
<gchristensen> ah bummer, having the pid could eb cool
xAFFE has left #nixos ["Error from remote client"]
<clever> gchristensen: the return type would have to be changed from PathSet to a list of structs that describe why they are roots
<clever> gchristensen: but thats still an improvement from what 1.11 did, it refused to even admit it was rooted
<clever> yet also claimed it was in other areas
<gchristensen> yeah
<gchristensen> guillaum1: Nix has a lot of good fundamentals and smarts :)
<srhb> Am I right that the preference is for all-packages.nix dependency pinning (eg. { fooDep = fooDep_N; }; over package local ones (eg. { fooDep_N }: { ... }) ?
Neo-- has quit [Ping timeout: 240 seconds]
nschoe has quit [Ping timeout: 256 seconds]
winem_ has quit [Ping timeout: 264 seconds]
hiroshi has quit [Ping timeout: 240 seconds]
hiroshi has joined #nixos
<ottidmes> srhb: That seems to be the pattern and is more flexible, what if I wanted to reuse the package with a different version pinned, the former allows this, the latter does not
<srhb> ottidmes: Well, it allows it, but fooDep_N = fooDep_M is rather ugly :P
<ottidmes> srhb: right :P
<srhb> I was thinking that it might be excusable when you really mean _it won't work with anything but this version_ but I still feel all-packages.nix is nicer.
<ottidmes> srhb: Or overrideAttrs and probably many other ways
<ThatPako> Any idea why `nix-build`ing this never exits? https://gist.github.com/MagnificentPako/71b6efa3d6b8342dd0ce396d66d019b7
<srhb> ThatPako: stenv?
<ThatPako> oof
<ThatPako> shouldn't it throw an error then though?
<srhb> Yes.
<srhb> And it does, for me.
<ThatPako> For me running `nix-build` with this (with a fixed `stdenv`) it's just stuck
<srhb> That's odd.
<srhb> How do you run it exactly?
<clever> ThatPako: run it again with -v
<clever> what does it say?
reinzelmann has joined #nixos
<clever> ThatPako: what does `top` say nix-build is doing?
<ThatPako> um... how do I use top?
<clever> ThatPako: run top
dtheriault has joined #nixos
<ThatPako> I don't see `nix-build` at all there
<ThatPako> I only get `nix-instantiate`
<clever> what is the cpu% for that?
ma27 has joined #nixos
<ThatPako> 100%
<ThatPako> meanwhile my xmobar config is reporting 15% cpu usage :thinking:
<clever> ThatPako: how many cores do you have?
<ThatPako> 4
<clever> it should be reporting at least 25% :S
<clever> also, what OS are you on?
<ThatPako> I got 4 physical cores but I also got hyperthreading. Maybe that's changing it?
fendor_ has joined #nixos
<ThatPako> NixOS :p
<clever> ah, 8 cores would mean that translates to 12.5%
<clever> plus 3% from other things
<clever> that makes more sense
<ThatPako> yea, now it's at 13%
<Myrl-saki> Is it fine to post my issue here to get some recognition? It's at most 3 lines.
dvim has quit [Quit: WeeChat 2.0.1]
<clever> ThatPako: what does `which nix-store` return?
<Myrl-saki> It's at most 3 lines change*
<ThatPako> clever: `/run/current-system/sw/bin/nix-store`
<clever> Myrl-saki: youve already used up more then half of that just asking!, lol
sean__ has quit [Ping timeout: 260 seconds]
<Myrl-saki> clever: True. :P
<clever> ThatPako: try adding more -vvvv's
<ThatPako> to nix-build?
hiroshi- has joined #nixos
<ThatPako> or `which`?
<clever> ThatPako: yep
humanoyd has quit [Quit: WeeChat 2.1]
<clever> ThatPako: oh, do you have a config.nix or any overlays configured?
<Myrl-saki> GHCJS requires \n after the shebang, otherwise it sends it the first line of the program as a command line argument. https://github.com/NixOS/nixpkgs/issues/36892
<ThatPako> Nope, no overlays
<clever> ThatPako: what about config.nix?
<ThatPako> config.nix?
<ThatPako> tried with 10 `v`s. Same result, I believe https://gist.github.com/MagnificentPako/557c289ba34fbfebbad9dac0c09f3bcc
<ThatPako> I guess I could upload my /nixos folder to my gitolite server if you need any of that
<clever> ThatPako: the -v output says it never looked in /nixos
hiroshi has quit [Ping timeout: 260 seconds]
hiroshi- is now known as hiroshi
<clever> so its contents shouldnt matter
<ThatPako> kk
<clever> ThatPako: what about the output of nix-info?
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
<ThatPako> that seems to be stuck too
<GlennS> Does anyone know if there's an easy way to get nix-shell to use a particular channel without having to redownload it every time? I've made a little example to show what I mean: https://hastebin.com/monuwacoja.php
<clever> GlennS: the `-o nixpkgs` in here leaves behind a symlink, that prevents garbage collection of the result
<ThatPako> clever: nix-info never returns
<kerrhau> hi Pako
<ThatPako> Hai
<kerrhau> LOL
<clever> ThatPako: i'm not sure what youve done to break it, does anything change if you reboot?
<ThatPako> let me try
hakujin1 has quit [Ping timeout: 256 seconds]
ThatPako has quit [Quit: Lost terminal]
fendor_ has quit [Remote host closed the connection]
ThatPako has joined #nixos
<ThatPako> clever: rebooted but it still won't do anything
<ThatPako> now I am scared
<clever> ThatPako: what if you run nix-info as root?
<ThatPako> that works
<clever> what is the output?
leat has quit [Ping timeout: 260 seconds]
<ThatPako> let me find some non-cancerous paste service and I'll tell you lol
<clever> i prefer gist.github.com
<ThatPako> oh, k
<infinisil> ThatPako: nix-info output is made to be pasted into IRC btw..
<ThatPako> oof
<clever> ThatPako: what about the output of nix-channel --list, as root and your own user?
jrolfs__ has joined #nixos
<ThatPako> `nixos https://nixos.org/channels/nixos-unstable` for my user
<ThatPako> `nixos https://nixos.org/channels/nixos-17.09` for root
<clever> that will cause all kinds of fun problems
<ThatPako> oof
<clever> so you should remove the nixos channel from your user
jrolfs has quit [Ping timeout: 246 seconds]
<clever> and maybe update the root one to unstable, if you want to actually run unstable
<ThatPako> I kinda need unstable for discord and some other stuff
<infinisil> ThatPako: hold on
<ThatPako> wait, nevermind. discord is part of 17.09. oof
<ThatPako> it's just unfree
<infinisil> ThatPako: Run `bash -x nix-info 2>&1 | nix-shell -p gist --run gist` and paste the link you get here please
dtheriault has quit [Quit: leaving]
<nliadm> I'm trying to use a nix expression with nix-shell on 2.0, and it no longer works
<infinisil> (or paste the output into gist online, but i find it easier with the package)
<clever> nliadm: what error does it fail with?
<nliadm> because it's missing a 'src' member
<clever> nliadm: where is it missing?
<nliadm> nix never cared about this before
<ThatPako> infinisil: running nix-info as my user won't ever return
<nliadm> in the expression I'm passing to set up the shell environment
<infinisil> ThatPako: Or just `bash -x nix-info` then, paste the output (as much as you get) to a gist
maximiliantagher has quit [Remote host closed the connection]
<nliadm> it seems to be trying to build it, which is new behavior
maximiliantagher has joined #nixos
<ThatPako> I'
<ThatPako> ll remove the unstable channel for now
<GlennS> clever: thanks, I think that's set me on the right path (although it looks like that respository is missing fetchNixpkgs.nix - I found it on the wiki)
<ThatPako> clever: do I have to run anything after removing the unstable channel?
Synthetica has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9ca1f41d39e (from 34 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<clever> GlennS: its in the repo, at the root, on the branch i linked
<clever> GlennS: the one on the wiki also has a small bug, which is fixed on the branch i linked
<clever> ThatPako: nix-channel --update
<GlennS> oh right, well double thanks then
tos9 has joined #nixos
<infinisil> ThatPako: Run `strace nix-instantiate --eval '<nixpkgs>' -A system` and put the last 50 lines or so in a gist
<tos9> OpenSSL doesn't appear to link libssl (at least on darwin)
<tos9> Can I get it to?
<ThatPako> clever: I got `unpacking channels...`, then it finished
<clever> ThatPako: yep, that should be normal
<infinisil> ThatPako: (Or the whole thing if you can)
<clever> ThatPako: what does nix-info say now?
maximiliantagher has quit [Ping timeout: 264 seconds]
sirkha has joined #nixos
leat has joined #nixos
dtheriault3 has joined #nixos
<ThatPako> infinisil: that one lead me to a rather interesting find. Looks like there was some kind of infinite loop thanks to the firefox overlay I once tried to use in order to get nightly
<ThatPako> I removed the overlay and now nix-info works
<ThatPako> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.16, channels(paul): "nixos-18.03pre130932.cc4677c36ee", channels(root): "nixos-17.09.3159.c665fcca9e7", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<infinisil> Huh interesting
<ThatPako> Now I just have to figure out how to define dependencies for my derivation
<infinisil> ThatPako: I suggest reading this: https://nixos.org/nixpkgs/manual/#sec-using-stdenv
jtojnar has joined #nixos
robstr has quit [Quit: WeeChat 1.9.1]
<clever> ThatPako: 2018-03-19 16:31:44 < ThatPako> Nope, no overlays
<ThatPako> can I include python packages in my nativeBuildInputs?
<clever> ThatPako: how can removing the overlay fix the problem, if you claim to have no overlays?
<ThatPako> clever: I thought I removed it already. Sorry :")
<clever> ThatPako: what are the contents of the overlay file?
MP2E has joined #nixos
<clever> ThatPako: ah, i think somebody else had trouble with that a week ago
<ixxie> for nixos-rebuild the I flag can take relative paths>
<ixxie> ?
leat has quit [Ping timeout: 240 seconds]
<ThatPako> Would I use `buildPythonPackage` as replacement for `stdenv.mkDerivation`?
<clever> ixxie: i believe it can
<infinisil> ixxie: it cannot, use -I nixpkgs=$PWD/foobar instead
<infinisil> ThatPako: Have you read the python section i linked?
<ixxie> aaargh its the nixpkgs= I was missing xD
<ThatPako> infinisil: currently reading it while trying to make my package work. It's a bit confusing for my first time writing a package
<infinisil> Oh and maybe the relative path thing changed in nix 2.0, no idea if it works, but I am 100% certain it doesn't work <2.0
<infinisil> ThatPako: I guess this section is the most relevant: https://nixos.org/nixpkgs/manual/#developing-with-python
<infinisil> ThatPako: You can also look at examples in https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/python-modules
<clever> ixxie: without that, it looks for nixpkgs inside the directory you give it
<clever> ixxie: the channels also include a nixpkgs symlink to ., which deals with that for you
<clever> ixxie: also, if any -I element isnt found, it silently continues to NIX_PATH, so its harder to notice it being broken
reinzelmann has quit [Quit: Leaving]
<ixxie> clever: so if I have a nixpkgs clone in ~, when running nixos-rebuild in home I can either use -I /home/ixxie or -I nixpkgs=/home/ixxie/nixpkgs but not -I .
maximiliantagher has joined #nixos
<ixxie> clever: but the channel remark I didn't grok
<foldingcookie> which package contains the X11 misc-fixed-bold font?
<jtojnar> hedning[m]: I will not have much time for the PR this week
maximiliantagher has quit [Ping timeout: 240 seconds]
<jtojnar> maybe 30 minutes a day
<clever> lrwxrwxrwx 1 root root 1 Dec 31 1969 /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs -> .
<clever> ixxie: this symlink causes -I nixpkgs=foo and -I foo to both work, because foo always contains nixpkgs, which points to itself
jrolfs has joined #nixos
jrolfs__ has quit [Ping timeout: 246 seconds]
<ixxie> right
leat has joined #nixos
mudri has joined #nixos
maximiliantagher has joined #nixos
<ixxie> so, my ssh connection between my NixOS laptop to my NixOS server keep getting stuck
<ixxie> I just tried setting programs.ssh.extraConfig = ''ServerAliveInterval 60
<ixxie> and services.openssh.extraConfig = ''ClientAliveInterval 120
<ixxie> if it makes a difference I am using tmux
<ixxie> when this happens
maximiliantagher has quit [Ping timeout: 246 seconds]
aarvar has joined #nixos
dtheriault3 has quit [Ping timeout: 256 seconds]
maximiliantagher has joined #nixos
<infinisil> Ah i didn't know of ssh.extraConfig
<abcrawf> Is there a good way to add dependencies to a derivation from NixPkgs? I'm using WeeChat, but want to make use of wee-slack (which requires the websocket-client python library), so I want to add that extra dependency to the WeeChat derivation.
<infinisil> ixxie: try #openssh maybe
maximiliantagher has quit [Ping timeout: 240 seconds]
<foldingcookie> ah, it's nixos.xorg.fontsmiscmisc
<foldingcookie> (and I need to revise my X11 config to include font dirs)
<ixxie> yeah good call infinisil :P
<nliadm> abcrawf: you can add a stanza to the plugins member
dtheriault3 has joined #nixos
<abcrawf> nliadm: Ugh, I was looking at an old version of the derivation. Now I see the plugins. Let me fumble around with that for a bit.
<nliadm> https://pastebin.com/EirxQSJf here's what I have setup to do automatic encrypted secrets in my config, wee-slack, and the matrix plugin
<nliadm> it's not well suited to adding dependencies, but you can hack it
<abcrawf> That is pretty slick. Thank you!
knupfer has quit [Remote host closed the connection]
<infinisil> *cough* why are we using xml for docs again *cough*
<makefu> i've heard of a place where this information would be a better fit AND it uses a more straight-forward markup *cough*nixos.wiki*cough*
<infinisil> makefu: hmm maybe, however nixpkgs is version controlled and synchronous with the changes (or could be at least), whereas the wiki's weechat article is still from last release (as are the nixos.org docs)
hakujin1 has joined #nixos
<infinisil> "Could be" because most don't update the xml docs anyways when something changes
LangeOortjes is now known as qqlq
hakujin1 has quit [Ping timeout: 276 seconds]
<abcrawf> nliadm: Thanks for your help. Adding to the extraBuildInputs worked perfectly (I love this build system).
<hedning[m]> jtojnar: I'll see what I can do by myself :)
civodul has joined #nixos
maximiliantagher has joined #nixos
dtheriault3 has quit [Ping timeout: 248 seconds]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
<jtojnar> hedning[m]: that would be great, thanks
maximiliantagher has quit [Ping timeout: 256 seconds]
<makefu> infinisil: at least the wiki hat a better chance to be updated because often times people simply don't bother creating a PR for *just* updating the docs
Ariakenom has quit [Quit: Leaving]
DwarfMaster has quit [Ping timeout: 276 seconds]
maximiliantagher has joined #nixos
dan_b has joined #nixos
<makefu> for a reference the wiki is not the right thing. for example which options are provided etc
logzet has quit [Read error: Connection reset by peer]
DwarfMaster has joined #nixos
MichaelRaskin has joined #nixos
<maurer> infinisil: Not that I'm volunteering, but maybe we should get a PR hook that checks whether config structure has changed, and if it has, suggests documentation updates
<maurer> I don't have that many commits, but I know I've never even thought to check whether what I was poking had docs I was making invalid
boxofrox has quit [Ping timeout: 268 seconds]
<makefu> maurer: most api changes should have a fallback (modules/rename.nix) so that should be less of an issue
<clever> makefu: i recently discovered, that the rename stuff, only works when setting the old name
<clever> makefu: there is no way to ever make reading the old name work
<infinisil> maurer: I like your suggestion of autosuggesting doc updates
<infinisil> Imo docs should live where they are relevant, e.g. python packages docs in nixpkgs/pkgs/development/python-packages/readme.md
ixxie has quit [Ping timeout: 256 seconds]
<infinisil> Then have some nix expression aggregate all docs to export them to man pages/web site/etc.
<infinisil> and package foobar docs in nixpkgs/pkgs/foobar/readme.md or doc.md
__sean has joined #nixos
<__sean> I disabled hardening in my bitbake environment but I'm still getting format-security errors, anyone know why? Does `export hardeningDisable="format"` not work in some cases?
jtojnar_ has joined #nixos
maximiliantagher has quit [Ping timeout: 268 seconds]
jtojnar has quit [Ping timeout: 240 seconds]
jtojnar_ is now known as jtojnar
blankhart has quit [Ping timeout: 256 seconds]
maximiliantagher has joined #nixos
<clever> __sean: you can also just set it as an attribute on the derivation
vidbina has quit [Ping timeout: 240 seconds]
<__sean> clever, how would I do that with an FHS environment shell.nix file? https://gist.github.com/7c9e1b8d0fb8de35b3e6dd9f8308b09e
<clever> __sean: does it need to be an FHS env?
<makefu> i also infinisil for the current manual i would really love to see syntax highlighting. i mean it is 2018 already!
<infinisil> makefu: that's all for free with markdown on github, juuust sayin
vidbina has joined #nixos
<infinisil> I should make a fork of nixpkgs with docs converted to markdown and keep it up to date, just so i can view always up-to-date docs online with nice formatting and syntax highlighting
<infinisil> Once everybody uses my nixpkgs fork to view the docs I'll submit a PR
<makefu> infinisil: problem is that you will need to backport all the new documentation to your branch
mounty_ has joined #nixos
vidbina has quit [Ping timeout: 265 seconds]
ron__ has quit [Ping timeout: 245 seconds]
<ij> If I'm in a user env are there any dynamic libraries available somehow through PATH or by convention?
FareTower has joined #nixos
<ij> Oh yeah, ~/.nix-profile/lib.
<wervenyt[m]> I'm running nixos on the unstable channel, and haven't gotten any package updates in a few days. is this an issue?
<wervenyt[m]> a few days as in a week
<MichaelRaskin> It is, but not on your side, if I remember correctly.
<gchristensen> it is a property of unstable
<MichaelRaskin> It is property of all channels, but for different reasons
<wervenyt[m]> what's up then?
<makefu> !stuck
<infinisil> makefu: gonna count how many updates to docs there were in a year
hakujin1 has joined #nixos
<makefu> unstable channel updates less often than stable as it broken more often
duckwho has quit [Quit: byeeee]
<wervenyt[m]> alright, thanks
<pbogdan> speaking of which - unstable apparently can't evaluate for some reason https://hydra.nixos.org/jobset/nixos/trunk-combined#tabs-errors ?
<makefu> infinisil: we can check the same for the wiki :)
<ThatPako> Any idea why this complains that it can't find the `gi` module when building? https://gist.github.com/MagnificentPako/e63cb805fcbc90b6a48231d3f28f1e77
<ThatPako> I did some research and it should be part of pygobject
<makefu> thing is that also documentation in the modules is currently in docbook format. not sure if you also want to change this :)
duckwho has joined #nixos
<makefu> and of course the changelog
jtojnar_ has joined #nixos
<ij> How could I find how this haskell executable found the sqlite library?
<infinisil> makefu: of course! markdown for everything, or org mode, it doesn't really matter as long as its not xml
<infinisil> it just needs to be properly formatted with github
<makefu> infinisil: today jeschli asked how to boot emacs for org-mode :D sounds like the right tool
<infinisil> So I counted it, there are 190 nixpkgs/doc updates in 2017
<ThatPako> Any idea about my python problem?
<infinisil> About 10-20 updates per month
<infinisil> That would be doable to maintain a fork of
jtojnar has quit [Ping timeout: 240 seconds]
jtojnar_ is now known as jtojnar
<infinisil> (with everything converted to markdown)
hakujin1 has quit [Ping timeout: 246 seconds]
<infinisil> Got these stats with `git log --date=format:'%Y %m' --pretty=format:%cd doc | sort | uniq -c` (ran in the nixpkgs folder)
<ij> How could I find the references to files in the store does a file contain?
<Ralith> argh, 18.03 broke my fonts again
<ij> Solved, found it in the cheat sheet.
dtheriault3 has joined #nixos
<makefu> ThatPako: gi is a bit tricky if i remember correctly. maybe there are some references already in nixpkgs somewhere
<ij> Hm, but the file is not in the store.
vidbina has joined #nixos
ryanartecona has joined #nixos
hiratara has quit [Ping timeout: 240 seconds]
<makefu> ThatPako: looks like you are mixing python2 with python?
<Ralith> why is the Terminus font broken in 18.03 :|
coot has joined #nixos
<ThatPako> makefu: the thing I'm trying to wrap needs python 3.4 and up
chisui has quit [Ping timeout: 260 seconds]
<makefu> nix-shell -p python3Packages.pygobject3 --run "python3 -c 'import gi'"
<makefu> works for me
<Ralith> I have `fonts.fontconfig.defaultFonts.monospace = [ "Terminus" };` and `fonts.fonts` contains `pkgs.terminus_font` but `fc-match Monospace` returns DejaVu Sans Mono
<foldingcookie> with [ } like that?
<Ralith> no, that was a typo
<foldingcookie> ok :)
<ThatPako> oof. now I'm getting `pyaml not supported for interpreter python3.6m`
<Ralith> obviously the system would not build with that syntax :P
dtheriault3 has quit [Ping timeout: 240 seconds]
hiratara has joined #nixos
<makefu> ThatPako: oh oh, maybe you need to bump pyaml for your package.
<ThatPako> makefu: I can't mix pythonPackage and python3Package?
<makefu> ThatPako: no, pythonPackages would be "python2Packages"
<ThatPako> oof
hakujin1 has joined #nixos
lord| has joined #nixos
<ThatPako> Damn. I have `pkgs.python3Packages.pygobject3` in my propagatedBuildInputs now and it still complains about `gi` not existing
ryanarte_ has joined #nixos
<Lisanna> aww, you can't opt to omit a hash from fetchgit ):
<Lisanna> that kind of sucks
<infinisil> Lisanna: that's intentional
<makefu> ThatPako: what have you tried?
<Lisanna> infinisil why
orivej has joined #nixos
<Ralith> xlsfonts still finds terminus but fontconfig is refusing to believe it exists again
<ThatPako> makefu: got it to kinda build now. The only way I can get pyaml for python3 is though nixos-unstable though ;-;
<infinisil> Lisanna: But if you really want impurity you can use `builtins.fetchurl` or `builtins.fetchTarball`
<Lisanna> infinisil I don't want impurity
<Ralith> I fixed this before by specifying 'Monospace 12px' instead of 'Monospace' but now that doesn't work either
<Lisanna> infinisil url = "file://${myLocalRepo}";
<makefu> ThatPako: the package complains about pyyaml (at least for me) which is available for py3k
<infinisil> Lisanna: Why not use `./myLocalRepo`?
<Lisanna> infinisil I need to checkout a specific rev from it
<ThatPako> makefu: I'm using this expression right now https://gist.github.com/d6d900757aac4f439eff893bd2c677fc
<Dezgeg> I think builtins.fetchGit /home/foo/my/local/repo works in Nix 2.0
<Dezgeg> but I haven't used it myself
gemishhood has joined #nixos
<gemishhood> Hey
<makefu> ThatPako: how does it even build without pyyaml?
<ThatPako> it doesn't
<ThatPako> I would need nixos-unstable for pyaml supporting python3
<ThatPako> not sure if I should add that channel though
<gemishhood> What are your thoughts on Guix and GuixSD
<makefu> ThatPako: try pyyaml
ryanartecona has quit [Ping timeout: 264 seconds]
FareTower has quit [Ping timeout: 260 seconds]
<ThatPako> makefu: oh, that works. thanks!
<Lisanna> Dezgeg thanks, that got me a little farther along, but now it's not accepting my tag as a valid revision
<makefu> gemishhood: ambitious but not very practical (both in terms of philosophy and build language)
<makefu> ThatPako: http://paste.krebsco.de/Pb2yiNMp/+inline is what i came up with
<makefu> however now it says something about gtk namespace
<ThatPako> Damn, still won't build. For some reason it tries to access `/homeless-shelter` for some reason
<makefu> i disabled tests for that
hamishmack has quit [Quit: hamishmack]
<makefu> ThatPako: see my snippet
<Lisanna> ah, needed ref, not rev
<gemishhood> makefu: Really, scheme is a better langauge IMO, whats wrong w/ it
<ThatPako> makefu: oh, yea. That builds now.
<ThatPako> oof. Running Lutris gives me `Namespace Gdk not available`. gotta figure out what kind of weird python shenanigan that is
<makefu> gemishhood: they try to build something that is essentially a shell script with scheme https://github.com/alezost/guix-config/blob/master/misc/shell-script-example/guix.scm#L43-L50
ma27 has quit [Ping timeout: 256 seconds]
dan_b has quit [Remote host closed the connection]
<Lisanna> ...wow, builtins.fetchGit is not only failing, it's introducing impurities in the build!
__sean has quit [Ping timeout: 260 seconds]
<Lisanna> I'm calling it against a directory which is a nested git repo existing in an outer git repo, and fetchGit is pulling git information from the outer repo rather than the inner repo, even though the outer repo is not part of the closure
<ThatPako> Any idea what `Gdk` might be? when searching for that error all I get is errors about *GTK*
<Lisanna> tsk tsk
<Dezgeg> heh, sounds like a bug indeed
hakujin1 has quit [Ping timeout: 240 seconds]
<samueldr> GDK is AFAIUI what GTK uses to draw stuff on screen
spietz has joined #nixos
vidbina has quit [Ping timeout: 256 seconds]
<jtojnar> ThatPako: you will need /nix/store/*-gtk+3-*/lib/girepository-1.0 in GI_TYPELIB_PATH
<ThatPako> jtojnar: how tf do I get that into an env var
hakujin1 has joined #nixos
<ThatPako> that looks scary lol
<Lisanna> oh, nvm, I'm dumb, my git repo is just screwed up
<Lisanna> tsk tsk to me
<ThatPako> jtojnar: omg, thanks!
gchristensen has quit [Quit: WeeChat 1.9.1]
<Ralith> why would a font show up in xlsfonts but not fc-list?
<makefu> ThatPako: so what was the winning move (apart from not to play)
<ThatPako> makefu: the winning move?
hakujin1 has quit [Ping timeout: 246 seconds]
<makefu> the final build script
gchristensen has joined #nixos
<Ralith> looks like someone broke X11 logging again
<Ralith> sigh
<ThatPako> this one works
<ThatPako> but it doesn't add support for stuff like wine
ma27 has joined #nixos
<ThatPako> I hope adding wine as dependency is enough :^)
simukis has quit [Ping timeout: 256 seconds]
<makefu> so optimistic
<ThatPako> otherwise I'll be thoroughly lost
<ThatPako> always
gemishhood has left #nixos [#nixos]
volhovm has quit [Ping timeout: 263 seconds]
abathur has joined #nixos
<Ralith> god I hate fontconfig so much
<ThatPako> why tf is a package depending on wine installing systemd
<MichaelRaskin> Because in nixpkgs libudev = systemd
<ThatPako> wat
<MichaelRaskin> Well, systemd is a project with modus operandi being takeover of random pieces of valuable infrastructure.
<ThatPako> oof
hiratara has quit [Quit: ZNC - http://znc.in]
<ThatPako> but isn't systemd installed already? why does wine need its own copy of it
<MichaelRaskin> wine needs some i686-linux stuff
<ThatPako> oh
<infinisil> Lisanna: Maybe try `refs/tags/<your tag>`
<infinisil> Oh wait I was scrolled up
<infinisil> never mind
hiratara has joined #nixos
<ThatPako> OMG it just downloaded wayland mesa-noglu for wine
<ThatPako> wtf is going on lol
<ThatPako> *wayland and mesa-noglu
<clever> by default, wine is 32bit only
<clever> so it has to download the 32bit versions of everything
<ThatPako> wew
<jtojnar> ThatPako: wine seems to be looked up on PATH (https://github.com/lutris/lutris/blob/397424a9ba42d89f510d7d63892d1b389b8fec2b/lutris/runners/wine.py#L25) so you can either patch the file or let the user install it manually
<ThatPako> yea, I removed it from the deps hoping it would do that
<ThatPako> it's in my systemPackages now
<ThatPako> but damn, it's insane what wine depends on
<ThatPako> makefu: awesome!
<Ralith> looks like fontconfig.penultimate may be to blame, but it doesn't seem to be possible to disable it?
<jtojnar> makefu: it is not really specific to GDK, and GDK is not actually that commonly used
<makefu> jtojnar: i was just the irc->wiki gateway in that regard. feel free to update the info
<jtojnar> I will try to finish the GNOME manual chapter soon
<jtojnar> well, after we are done with GNOME 3.28
<Ralith> yep, fontconfig penultimate is broken and disabling it is also broken
<Ralith> ugh
maximiliantagher has quit [Remote host closed the connection]
jrolfs has quit [Ping timeout: 256 seconds]
chocopuff298 has quit [Ping timeout: 256 seconds]
maximiliantagher has joined #nixos
ThatPako has quit [Quit: Lost terminal]
jrolfs has joined #nixos
alexteves has quit [Ping timeout: 264 seconds]
ryanarte_ has quit [Quit: ryanarte_]
pie_ has joined #nixos
coot has quit [Quit: coot]
hakujin1 has joined #nixos
mduggie has joined #nixos
coot has joined #nixos
erasmas has quit [Quit: leaving]
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
hamishmack has joined #nixos
fendor has quit [Quit: Connection closed for inactivity]
shabius has quit [Remote host closed the connection]
<manveru> Lisanna: yeah, found some strange bugs in fetchGit as well
<Lisanna> manveru ah, well, you're ahead of me then, my thing wasn't actually a bug, my git repo was screwy
shabius has joined #nixos
<manveru> heh
<manveru> for me, fetchGit inside a nix repl and in nix build are behaving differently, and the caching introduces some nondeterminism
<clever> manveru: what is fetchGit doing differently?
<manveru> i have this call: `fetchGit { url = https://github.com/blakepettersson/jsonapi; ref = "wip"; rev = "2ffb1e5b41be7eec76e512dd7da4ac7b501f9086"; }`
<manveru> if i have it as a src in a default.nix, it will complain that it's not a tree object
<manveru> once i run it in nix repl, it works, and the default.nix works too
<clever> manveru: any reason you cant use fetchFromGitHub?
<manveru> i assume it's some strangeness with the non-master branch, but can't say for sure...
<manveru> because i have only the rev, no other checksum
<manveru> well, just as an example, it's a different content for me, but the structure is same
<manveru> i convert them to derivations each, combining them into a vendor dir which `go build` can use
<manveru> that way i don't need to calculate a separate hash for each and can go without yet anther just-list-all-those-dependency-hashes.nix file
<manveru> if fetchGit worked reliably, that is :)
<clever> ah
<manveru> once i figure that bug out, i can probably release it
jtojnar has quit [Read error: Connection reset by peer]
spietz has quit [Ping timeout: 260 seconds]
ma27 has quit [Ping timeout: 256 seconds]
<gchristensen> $ nix-instantiate ./interp.nixerror: floating point JSON numbers are not supported
ma27 has joined #nixos
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/6e9f59c193d (from 28 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
muzzy has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
eliaslfox has quit [Read error: Connection reset by peer]
tertle||eltret has joined #nixos
eliaslfox has joined #nixos
nikivi has quit [Remote host closed the connection]
Lears has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<clever> gchristensen: i'm trying to nix-build --repeat 1 something, and ive found a file that differs, but it doesnt have a single \n in it, so all the normal diff utils just fail horribly
<clever> gchristensen: what would you use?
<gchristensen> oh boy
<gchristensen> how does diffoscope do?
<clever> 2 massive blobs, 8mb each
<gchristensen> ugh
<gchristensen> is it otherwise text?
<clever> the files differ in content but have identical length
<clever> yeah, javascript
<clever> Size: 8551702 Blocks: 18497 IO Block: 131072 regular file
<clever> Size: 8551702 Blocks: 18497 IO Block: 131072 regular file
<gchristensen> maybe `fold`?
<Dezgeg> you can have diffoscope de-minify javascript I think
<gchristensen> :o
<Dezgeg> I don't know if the nixpkgs version has that built in though
<clever> dont see that in the man page
<clever> gchristensen: oh, fold sounds neat
<Dezgeg> diffoscope/comparators/javascript.py: @tool_required('js-beautify')
<clever> -ER //\n// webpack/bootstrap 3ec9a91694dd54b7992c","\"use strict\";\n\nexports.__
<clever> +ER //\n// webpack/bootstrap c6330756841e9ef425bb","\"use strict\";\n\nexports.__
<clever> that hash? appears in 2 spots in the file
testuser has quit [Ping timeout: 248 seconds]
<clever> actually, i think this is json, not javascript
la_putin has quit [Read error: Connection reset by peer]
<clever> jq time!
<infinisil> clever: json-diff! I just saw a PR that updates it in nixpkgs recently
<clever> much more readable
<Dezgeg> sounds more like javascript inside JSON
<clever> Dezgeg: yeah
<Dezgeg> i.e. something I probably don't want to know about :P
nikivi has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
kblobr has quit [Quit: Leaving.]
<clever> Dezgeg: i think its a map file to allow you to undo the minification effects on a backtrace
<infinisil> Dezgeg: The javascript should have some html encoded in it to make it perfect
<Dezgeg> javascript inside json inside inline <script> tag in html compressed inside a PNG
<clever> the minification also makes `grep -r` rather unusable
<clever> Dezgeg: a game i used to play implemented its loading ui as javascript inside javascript
<clever> the core of the game itself was 6mb, and rather then use the progress bar built into the browser, they wanted to re-theme it
<Dezgeg> I guess the PNG could be zlib compressed, for good measure
<Dezgeg> (by the http server)
<clever> so they broke the javascript into 1024 byte strings, and did <script>s("....");</script>
<clever> then relayed that out of an iframe with .sendMessage
<clever> as each tag came in, the browser would eval the "inline javascript"
<clever> and the parent frame would re-assemble it
<clever> and tell you to not to f5 the thing, and that its actually working :P
digitus has quit [Quit: digitus]
alhariel has quit [Ping timeout: 246 seconds]
muzzy has quit [Ping timeout: 264 seconds]
Mateon3 has joined #nixos
jrolfs has quit [Ping timeout: 248 seconds]
Mateon2 has quit [Ping timeout: 240 seconds]
<infinisil> clever: Did nobody think of the children???
jrolfs has joined #nixos
<clever> infinisil: thats likely what they where thinking of :P
<clever> noobs that cant see the loading bar in a browser
<clever> and also modern browsers just not even showing one
Mateon3 is now known as Mateon1
muzzy has joined #nixos