gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || 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, #nixcon
mounty has quit [Read error: Connection reset by peer]
mounty has joined #nixos
haslersn has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #46677 → prometheus-snmp-exporter: 0.11.0 -> 0.13.0 → https://git.io/fAXw4
<{^_^}> [nixpkgs] @xeji pushed commit from @WilliButz to master « prometheus-snmp-exporter: 0.11.0 -> 0.13.0 (#46677) »: https://git.io/fAX6D
<{^_^}> [nixpkgs] @xeji merged pull request #46662 → heptio-ark: 0.9.0 -> 0.9.4 → https://git.io/fAXIu
<{^_^}> [nixpkgs] @xeji pushed commit from @mbode to master « heptio-ark: 0.9.0 -> 0.9.4 (#46662) »: https://git.io/fAX6F
<jasongrossman> Problem installing Nix on debian: when I do `bash <(curl https://nixos.org/nix/install)`, as recommended in the manual, I get `the group 'nixbld' specified in 'build-users-group' does not exist' ...
<{^_^}> [nixpkgs] @xeji merged pull request #46673 → joker: 0.9.5 -> 0.9.7 → https://git.io/fAXRo
<{^_^}> [nixpkgs] @xeji pushed commit from @andrestylianos to master « joker: 0.9.5 -> 0.9.7 (#46673) »: https://git.io/fAX6p
oldandwise has quit [Quit: leaving]
<jasongrossman> ... and when I add that group, I get `the build users group 'nixbld' has no members`, and when I add root to it, I get `all build users are currently in use; consider creating additional users and adding them to the 'nixbld' group`.
Kelppo has quit []
<jasongrossman> I'll try a multi-user installation.
<jasongrossman> Same error.
<{^_^}> [nixpkgs] @xeji merged pull request #46631 → charles: 4.2.6 -> 4.2.7 → https://git.io/fAiQ2
<{^_^}> [nixpkgs] @xeji pushed commit from @kalbasit to master « charles: 4.2.6 -> 4.2.7 (#46631) »: https://git.io/fAXiT
mayhewluke has quit [Ping timeout: 244 seconds]
Kelppo has joined #nixos
Ericson2314 has quit [Ping timeout: 244 seconds]
mayhewluke has joined #nixos
oldandwise has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oldandwise has quit [Client Quit]
oldandwise has joined #nixos
oldandwise has quit [Client Quit]
oldandwise has joined #nixos
oldandwise has quit [Client Quit]
oldandwise has joined #nixos
oldandwise has quit [Client Quit]
oldandwise has joined #nixos
oldandwise has quit [Client Quit]
oldandwise has joined #nixos
oldandwise has quit [Client Quit]
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
caglan has joined #nixos
Kelppo has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/3c57887f64c (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
JPaul22 has joined #nixos
<JPaul22> Αllaһ is dഠiᥒg
JPaul22 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
caglan has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fAXPv
<{^_^}> [nixpkgs] @xeji merged pull request #46624 → libx86emu: 2.0 -> 2.1 → https://git.io/fAiiZ
<{^_^}> [nixpkgs] @xeji pushed commit from @bobvanderlinden to master « libx86emu: 2.0 -> 2.1 (#46624) »: https://git.io/fAXPT
jperras has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46543 → zfs-unstable: 2018-09-02 -> 0.8.0-rc1 → https://git.io/fArQ8
<{^_^}> [nixpkgs] @xeji pushed commit from @phryneas to master « zfs-unstable: 2018-09-02 -> 0.8.0-rc1 (#46543) »: https://git.io/fAXPm
fragamus has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thc202 has quit [Quit: thc202]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/9fa6a261fb2 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
oida has quit [Ping timeout: 256 seconds]
<fragamus> I am having terrible trouble with python3; it is saying no module named pymysql; I need best practices for running python on nixos
<fragamus> mayday mayday mayday i need to g3et this working fast
primeos_ has quit [Ping timeout: 245 seconds]
iMatejC has quit [Ping timeout: 245 seconds]
mupf has quit [Ping timeout: 245 seconds]
<fragamus> I am using mariadb and I got that installed with no problems
nwspk has quit [Ping timeout: 252 seconds]
domenkozar has quit [Ping timeout: 252 seconds]
heinrich5991 has quit [Ping timeout: 245 seconds]
<fragamus> but how can I get pymysql in there?
ma27 has quit [Ping timeout: 244 seconds]
<infinisil> Have you read the python section in the manual?
das_j has quit [Quit: "Bye!";]
das_j has joined #nixos
pSub has quit [Ping timeout: 246 seconds]
the_real_plumps has quit [Quit: No Ping reply in 180 seconds.]
<fragamus> no i shall do that i was panicking
Akii has quit [Ping timeout: 252 seconds]
heinrich5991 has joined #nixos
Mic92 has quit [Ping timeout: 252 seconds]
mupf has joined #nixos
spacefrogg has quit [Quit: Gone.]
spacefrogg has joined #nixos
dbmikus_ has quit [Ping timeout: 252 seconds]
pSub has joined #nixos
pSub has quit [Changing host]
pSub has joined #nixos
PLPD-Bot has quit [Ping timeout: 244 seconds]
primeos_ has joined #nixos
heinrich5991 has quit [Client Quit]
dbmikus_ has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alevy has joined #nixos
ma27 has joined #nixos
<alevy> I'm running into the same issue posted here on the mailing list (https://nixos.org/nix-dev/2017-May/023769.html), with a proprietary binary that seems to want GLIBC_2.2.5. are there any known ways to work around this? Can I pull in an older version of GLIBC somehow to work with this particular binary?
the_real_plumps has joined #nixos
mupf has quit [Ping timeout: 252 seconds]
pSub has quit [Quit: No Ping reply in 180 seconds.]
<infinisil> alevy: You can just use an older version of nixpkgs that has that glibc version
iMatejC has joined #nixos
<alevy> can i do that _just_ for this particular binary or do I need to downgrade my whole system?
<infinisil> Yeah totally
<alevy> (and, first, thanks for answering infinisil )
<infinisil> Do you have a nix expression to build it?
<alevy> I do!
<infinisil> And you probably have an `import <nixpkgs> {}` there somewhere/?
graphene has quit [Remote host closed the connection]
<alevy> yes! :) so i replace that somehow with a pointer to an older version?
<infinisil> Yeah
<infinisil> ,pinning
<infinisil> alevy: ^
graphene has joined #nixos
<alevy> perfect! Thanks both, will try that!
the_real_plumps has quit [Client Quit]
iyzsong has joined #nixos
<alevy> I'm guess I can just use the git history for nixpkgs to figure out a version with glibc 2.2.5
<infinisil> Yeah, local clone recommended to figure that out
<infinisil> To know the glibc version (assuming you're in the nixpkgs git dir): `nix-instantiate --eval -A glibc.name`
pSub has joined #nixos
pSub has joined #nixos
ma27 has quit [Ping timeout: 272 seconds]
<infinisil> Actually, it might be easier to just search for glibc updates on the github PR's
hamishmack has joined #nixos
the_real_plumps has joined #nixos
PLPD-Bot has joined #nixos
IRCsum has quit [Ping timeout: 245 seconds]
aw has quit [Ping timeout: 264 seconds]
<alevy> yeah found it that way---it was upgraded to 2.2.6 in Aug'17, so I'm going to go for 17.03
iMatejC has quit [Ping timeout: 240 seconds]
init_6 has joined #nixos
<infinisil> Ah yeah, the channels :o
<infinisil> glibc-2.25-123 is in 17.09
<infinisil> Even
<infinisil> But 2.26-131 in 18.03
jperras has quit [Ping timeout: 272 seconds]
_ris has quit [Ping timeout: 264 seconds]
<palo> Feels like a stupid question, but how do I set folder rights for a folder e.g. /srv/serviceA or /var/lib/servicA
<palo> (via configuration.nix of course)
pSub has quit [Ping timeout: 245 seconds]
the_real_plumps has quit [Quit: No Ping reply in 180 seconds.]
das_j has quit [Quit: "Bye!";]
aw has joined #nixos
Mic92 has joined #nixos
das_j has joined #nixos
<infinisil> palo: Generally NixOS doesn't try to manage such stateful stuff, but you can do it if you really want to
<infinisil> palo: Oh I guess it makes sense with services, yeah that often gets done
the_real_plumps has joined #nixos
<palo> ok that was my backup strategy
<infinisil> Usually via systemd.services.serviceA.preStart = ''chmod/chown ...''
PLPD-Bot has quit [Ping timeout: 272 seconds]
nwspk has joined #nixos
<alevy> infinisil: Success! All works now!
<infinisil> \o/
PLPD-Bot has joined #nixos
domenkozar has joined #nixos
pSub has joined #nixos
pSub has quit [Changing host]
pSub has joined #nixos
mizu_no_oto has joined #nixos
Kelppo has joined #nixos
jperras has joined #nixos
pSub has quit [Ping timeout: 244 seconds]
PLPD-Bot has quit [Ping timeout: 252 seconds]
das_j has quit [Quit: "Bye!";]
pSub has joined #nixos
pSub has quit [Changing host]
pSub has joined #nixos
das_j has joined #nixos
graphene has quit [Read error: Connection reset by peer]
domenkozar has quit [Ping timeout: 252 seconds]
graphene has joined #nixos
arrense has joined #nixos
tertl3 has quit [Quit: Connection closed for inactivity]
PLPD-Bot has joined #nixos
nwspk has quit [Ping timeout: 252 seconds]
the_real_plumps has quit [Quit: No Ping reply in 180 seconds.]
<arrense> Hey guys I've been very interested in installing NixOS as my daily driver but I wanted to know if someone could tell me how easy it is to run games on it? What I know so far is that its relatively easy to launch steam with a couple of console commands to make it compatible, but I was wondering if there's been any big changes?
Mic92 has quit [Ping timeout: 252 seconds]
<samueldr> a couple console commands?
<samueldr> last time I started steam, I only had to run `steam`
<samueldr> (though there are two options in addition to the package that will be needed in configuration.nix)
init_6 has quit []
goibhniu has quit [Ping timeout: 264 seconds]
<arrense> Huh. I guess the info must have been outdated then. Most of the stuff online was at least 2yrs old but basically it said that changing up the different file hierarchy in Nix messed a bunch of stuff.
iMatejC has joined #nixos
the_real_plumps has joined #nixos
<samueldr> I think this is now streamlined and hidden away to the end-user, though implented that way
<samueldr> (note: 2013)
<arrense> Alrighty then. Thanks a lot for your help. I'm really excited to try this distro out.
<samueldr> oh, and don't hesitate to ask for anything when setting up
<samueldr> as far as steam is concerned
<arrense> Will do. Thank you much.
<samueldr> in addition to adding steam in some way, you'd need what's in there https://nixos.org/nixpkgs/manual/#sec-steam-play
<samueldr> and nothing else
<samueldr> (some games may fail, but it's a case-by-case thing, like on other distros)
arrense has quit [Quit: Leaving]
mupf has joined #nixos
das_j has quit [Quit: "Bye!";]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
silver has quit [Read error: Connection reset by peer]
das_j has joined #nixos
heinrich5991 has joined #nixos
ma27_ has joined #nixos
<elvishjerricco> Speaking of steam, has anyone tried to get its new steam play / proton stuff working?
lassulus_ has joined #nixos
pSub has quit [Quit: No Ping reply in 180 seconds.]
IRCsum has joined #nixos
the_real_plumps has quit [Ping timeout: 252 seconds]
<samueldr> yes
<samueldr> (not me, not being rude, but there was talk on either this channel or #nixos-chat)
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
<sir_guy_carleton> how do use nix-shell/nix-instaniate with a local nixpkgs git repository?
heinrich5991 has quit [Quit: quit.]
<elvishjerricco> sir_guy_carleton: You can just use `-I nixpkgs=./my-nixpkgs-checkout` on any command to change where it gets `<nixpkgs>` from. Or you can just use `./my-nixpkgs-checkout` as a file, i.e. `nix-shell ./my-nixpkgs-checkout -A hello`
<elvishjerricco> For `-p` it's easiest to just do `-I`: `nix-shell -I nixpkgs=./nixpkgs -p hello`
<samueldr> (when given a folder, most, if not all, functions that want a nix file will use default.nix)
the_real_plumps has joined #nixos
pSub has joined #nixos
pSub has quit [Changing host]
pSub has joined #nixos
oida has joined #nixos
graphene has quit [Remote host closed the connection]
woodson has joined #nixos
graphene has joined #nixos
the_real_plumps has quit [Client Quit]
jtojnar has joined #nixos
xchg111 has joined #nixos
domenkozar has joined #nixos
primeos_ has quit [Ping timeout: 272 seconds]
primeos_ has joined #nixos
the_real_plumps has joined #nixos
Mic92 has joined #nixos
pSub has quit [Ping timeout: 252 seconds]
init_6 has joined #nixos
pSub has joined #nixos
pSub has quit [Changing host]
pSub has joined #nixos
nwspk has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
<sir_guy_carleton> elvishjerricco: thanks for the advise
<sir_guy_carleton> i'm trying to add a vim plugin that's not in the repos currently
goibhniu has joined #nixos
<sir_guy_carleton> but following the wiki advise doesn't seem to work
<sir_guy_carleton> i mean i got working on my local machine with custom plugins, but still ...
martingale has joined #nixos
martingale has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #46681 → kmsxx, kmscube: 2017-10-10 -> 2018-09-10, 2017-03-19 -> 2018-06-17 → https://git.io/fAXMY
Ericson2314 has joined #nixos
fragamus has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jperras has quit [Ping timeout: 252 seconds]
Kelppo has quit [Ping timeout: 272 seconds]
Kelppo has joined #nixos
dbmikus_ has quit [Ping timeout: 240 seconds]
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
smolboye has quit [Quit: WeeChat 2.2]
smolboye has joined #nixos
Kelppo has quit [Ping timeout: 272 seconds]
Kelppo has joined #nixos
hamishmack has joined #nixos
spear2 has quit [Quit: Leaving]
dave492525 has joined #nixos
<dave492525> Alⅼah іs doiᥒg
dave492525 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<{^_^}> [nixpkgs] @Ericson2314 pushed 0 commits to codeowners: https://git.io/fAXDI
dbmikus__ has joined #nixos
NightTrain has quit [Ping timeout: 252 seconds]
sbdchd has quit [Remote host closed the connection]
Kelppo has quit []
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NightTrain has joined #nixos
snajpa has quit [Ping timeout: 252 seconds]
aither has quit [Ping timeout: 244 seconds]
<sir_guy_carleton> okay, so i want to contribute a vim plugin to the master repo. what test do you think i should do?
dbmikus__ has quit [Ping timeout: 246 seconds]
tzemanovic has joined #nixos
fragamus has joined #nixos
snajpa has joined #nixos
dbmikus__ has joined #nixos
patrl has quit [Ping timeout: 252 seconds]
aither has joined #nixos
trevthedev has joined #nixos
trevthedev has quit [Changing host]
trevthedev has joined #nixos
<trevthedev> does lib32-mpg123 exist on nixpkgs?
<trevthedev> cant find it anywhere
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
init_6 has quit [Ping timeout: 252 seconds]
kyren has joined #nixos
xcm8 has joined #nixos
<xcm8> Αⅼlah is dοinɡ
xcm8 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sbdchd has joined #nixos
woodson has quit [Ping timeout: 244 seconds]
<sir_guy_carleton> trevthedev: you can't just install mpg123?
fragamus has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b998319b6a7 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
<trevthedev> is that the name of the package?
<trevthedev> ill see if it works
<trevthedev> am using it for morrowind with proton so i can play with mgso
lord| has quit [Quit: WeeChat 2.2]
<trevthedev> yea mpg123 doesnt work xd
tzemanovic has quit [Remote host closed the connection]
lord| has joined #nixos
tzemanovic has joined #nixos
fractal has joined #nixos
<trevthedev> how should i go about installing mpg123?
tzemanovic has quit [Remote host closed the connection]
countingsort has joined #nixos
dbmikus__ has quit [Ping timeout: 252 seconds]
rauno has quit [Ping timeout: 250 seconds]
counting1ort has quit [Ping timeout: 246 seconds]
brejoc has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<Ashy> trevthedev: you can search for a package with: nix-env -qa mp123
<trevthedev> well yes
<trevthedev> the package exists
<Ashy> and then install with: nix-env -iA nixos.mpg123
<trevthedev> alright, thought so
<Ashy> assuming you're on nixos
<trevthedev> just wanted to make sure it wasnt some fancy package i need to config in my nix config xd
<Ashy> i think that's only temporary though and next boot might lose it (i'm still fairly new to nixos)
<trevthedev> nope
<trevthedev> doesnt loose it
<Ashy> ok, but you should really put it into nixos config for the machine (and check it in to git)
<trevthedev> yea
<trevthedev> was about to say thats what i did xd
<trevthedev> and it didnt work unfortunately
<Ashy> and then: nixos-rebuild switch
<Ashy> or possibly: nixos-rebuild switch --upgrade
<trevthedev> just nixos-rebuild switch
<Ashy> upgrade will upgrade every package on your system as per the channel you're on
<trevthedev> though again the package is installed
<trevthedev> but it doesnt work for morrowind
<Ashy> i came from arch so am used to doing that all the time
<trevthedev> as it still gives the error
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Ashy> ah right, you're playing with proton, nice
<Ashy> havent messed with it on nixos yet
<trevthedev> it works great
<trevthedev> other than situations like this where wine has a solution but it doesnt
<trevthedev> would be nice if xact existed with proton
graphene has quit [Remote host closed the connection]
<Ashy> yeah, proton means i'm finally gonna kill the win10 drive on the gaming desktop
<Ashy> when i finally get around to it anyway, built a gaming rig last year and i still only spend about 2 hours a month gaming
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/218ce4de508 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
graphene has joined #nixos
<trevthedev> haha, yeah same
<trevthedev> wine worked a little bit but having two versions of steam and generally a huge mess of navigation and poor orginization made me hate gaming on linux with it
<trevthedev> now that its essentially a fork of wine embedded into steam, gaming is amazing
<trevthedev> i can use openmw though id like to enjoy mgso(a graphical and sound overhaul, making morrowind look far better than Skyrim)
<worldofpeace> trevthedev: mpg123 or any library should not be installed with nix-env
<Ashy> oh that's my bad then, woops
<trevthedev> ahhh yea
<trevthedev> whats the proper way of doing so then?
<trevthedev> no worries Ashy
<worldofpeace> trevthedev: What needs this library?
<trevthedev> i need it to play morrowind through steam
<trevthedev> so i guess steam or morrowind xd
<trevthedev> steam is the actual package on nix though
<worldofpeace> So you need to add a package mpg123 to the chroot environment
<trevthedev> how so?
tzemanovic has joined #nixos
<worldofpeace> trevthedev: There's a thing in the derivation in which you can add more packages to the chrootenv https://github.com/NixOS/nixpkgs/blob/b57350e6d84b374242cce3d6c3e99b3f94dec629/pkgs/games/steam/chrootenv.nix#L159 though I always forget how to do this :P
<trevthedev> o goodness xd
<trevthedev> sec
<trevthedev> there we go, back
hiroshi- has joined #nixos
hiroshi has quit [Ping timeout: 240 seconds]
hiroshi- is now known as hiroshi
<worldofpeace> trevthedev: You have steam in `environment.systemPackages` right?
<worldofpeace> I think you can just put this in your configuration.nix https://hastebin.com/uquzasatif.cs
Ariakenom has quit [Ping timeout: 272 seconds]
Ariakenom has joined #nixos
lord| has quit [Quit: WeeChat 2.2]
lord| has joined #nixos
halfbit has quit [Ping timeout: 252 seconds]
halfbit has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #46682 → sudo: 1.8.25 -> 1.8.25p1 (bugfix for systems w/o ppoll) → https://git.io/fAXSz
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
Lisanna has joined #nixos
martingale has joined #nixos
justanotheruser has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @dtzWill opened pull request #46683 → zsh: 5.6.1 -> 5.6.2 → https://git.io/fAXSS
justanotheruser has joined #nixos
martingale has quit [Ping timeout: 272 seconds]
Lisanna has quit [Ping timeout: 246 seconds]
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
xok has joined #nixos
xok has quit [Remote host closed the connection]
sbdchd has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #46574 → elf-header: Init at <libc version> → https://git.io/fAKmv
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to master: https://git.io/fAX98
justan0theruser has joined #nixos
kyren has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #46684 → elf-header: Init at <libc version> for 18.09 → https://git.io/fAX94
endformationage has quit [Quit: WeeChat 1.9.1]
justanotheruser has quit [Ping timeout: 252 seconds]
harryb has joined #nixos
<harryb> Aⅼlaһ іs ⅾoiᥒg
harryb has quit [Killed (Sigyn (Spam is off topic on freenode.))]
jD91mZM2 has joined #nixos
oldandwise has joined #nixos
cement has joined #nixos
nekroze has joined #nixos
<nekroze> what package has libQt5WebEngineWidgets.so.5 ?
<{^_^}> [nixpkgs] @dtzWill opened pull request #46685 → compton{,-git}: bump to v2, set COMPTON_VERSION so '--version' has sane output → https://git.io/fAX9g
tzemanovic has quit [Remote host closed the connection]
<nekroze> i've tried the obvious
<clever> ,locate libQt5WebEngineWidgets.so
<{^_^}> Found in packages: qt5.qtwebengine
<nekroze> clever: thanks
<nekroze> hmm i have that in my build inputs... perhaps i need to add them to patchelf...
<clever> patchelf is only if your dealing with pre-compiled things
<clever> buildInputs has no effect on precompiled things
<nekroze> in this case i am
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Growpotkin has quit [Remote host closed the connection]
drakonis has quit [Quit: Leaving]
<jasongrossman> IRC servers - Does anyone happen to have any advice about which to install? NixOS has charybdis, hulk, ircd and ngircd.
oldandwise has quit [Ping timeout: 240 seconds]
justan0theruser is now known as justanotheruser
xchg111 has quit [Quit: Leaving]
kyren has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #46684 → elf-header: Init at <libc version> for 18.09 → https://git.io/fAX94
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to release-18.09: https://git.io/fAX9F
<nekroze> yeah I had to put them in via patchelf --set-rpath
<nekroze> clever: thanks for the assist
<nekroze> I can now play eve online natively (ish) on nixos
oscarvarto has joined #nixos
oscarvarto has quit [Client Quit]
<clever> nekroze: :O
Avaq has joined #nixos
<nekroze> waiting for it to download so not entirely proven working yet
<adamantium> hi, do you guys know can i use nproc or something similar to just automatically set "nix.maxJobs" via my nix file.
<adamantium> nix.maxJobs = ${nproc}; or something ?
<clever> adamantium: nixos-generate-config will do that for you, when creating hardware-configuration.nix
sbdchd has joined #nixos
<adamantium> that's great news, forgot about that, cool
<adamantium> clever: that leads to a new question, now i notice my laptop has in hardware-configuration.nix "powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";"
<adamantium> I think I probably want, ondemand
kyren has quit [Quit: Textual IRC Client: www.textualapp.com]
mvnetbiz27 has joined #nixos
<adamantium> If i set powerManagement.cpuFreqGovernor = "ondemand"; within another nixfile will it override that?
<clever> adamantium: mkDefault has a lower priority
<clever> so setting it in another file will override it
<adamantium> I get it. thanks as always :)
mvnetbiz has quit [Ping timeout: 246 seconds]
nekroze has quit [Quit: Lost terminal]
simukis has joined #nixos
kisik21 has joined #nixos
fragamus has joined #nixos
worldofpeace has quit [Ping timeout: 252 seconds]
init_6 has joined #nixos
brejoc has quit [Ping timeout: 264 seconds]
kenshinC1 has joined #nixos
vandenoever has quit [Ping timeout: 244 seconds]
<{^_^}> [docker] @peti pushed 0 commits to nix-2.1: https://git.io/fAXQd
nikivi has quit [Quit: ZNC is awesome]
nikivi has joined #nixos
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
tzemanovic has joined #nixos
<{^_^}> [docker] @peti pushed 0 commits to 2.1.1: https://git.io/fAX7f
<{^_^}> [docker] @peti pushed 0 commits to 2.1: https://git.io/fAXQd
martingale has joined #nixos
cement has quit [Ping timeout: 246 seconds]
martingale has quit [Ping timeout: 252 seconds]
aminechikhaoui has quit [Ping timeout: 272 seconds]
ixxie has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #46210 → buildRustCrate: add heuristic to picking the right binary source files → https://git.io/fAzek
<{^_^}> [nixpkgs] @Mic92 pushed 6 commits to master: https://git.io/fAX78
ambro718 has joined #nixos
<ambro718> Hi, how do I install wine which supports 32-bit and 64-bit programs? I installed the package by attribute "wine" and it can't run 64-bit programs.
<Myrl-saki> wineWow.
patrl has joined #nixos
<ambro718> how do I try this out with nix-env
<Myrl-saki> A bit more complicated.
<ambro718> what I don't understand is why https://nixos.wiki/wiki/Wine says that on x86_64, this should be the default?
<ambro718> ok I will try the configuration.nix then. So I put this config there, and in environment.systemPackages I just put pkgs.wine?
georges-duperon has joined #nixos
<Myrl-saki> Well, wtf nix-env.
<srhb> nix-env -iA nixpkgs.wineWowpackages.full should work
<srhb> wineWowPackages*
patrl has quit [Ping timeout: 250 seconds]
<srhb> ambro718: ^
<ambro718> srhb: that did seem to work, thanks
<srhb> Sure.
kyren has joined #nixos
<ambro718> srhb: this gives me the stable version, do you know how to get staging?
<srhb> s/full/staging
aminechikhaoui has joined #nixos
<ambro718> huh, there's -3.14 and -3.14-staging, I'm confused. And for neither I see a "full".
aminechi1haoui has joined #nixos
kai_w_ has quit [Ping timeout: 246 seconds]
<srhb> No, they don't have a full variant
aminechikhaoui has quit [Remote host closed the connection]
aminechi1haoui has quit [Remote host closed the connection]
<srhb> both full and staging are variants of "base"
<ambro718> what is the full variant
aminechikhaoui has joined #nixos
tzemanovic has quit [Ping timeout: 240 seconds]
<ambro718> do I get a less functional wine then?
<srhb> Yes
<srhb> You might not care about eg. ldapSupport though :P
<srhb> If you want more control, go the override route.
<srhb> eg. staging = full.override { wineRelease = "staging"; };
<ambro718> thanks
jtojnar has quit [Ping timeout: 252 seconds]
<Myrl-saki> How the hell does nix-env work, is2g.
<srhb> Myrl-saki: Weirdly.
jtojnar has joined #nixos
<Myrl-saki> Hm
<Myrl-saki> nix-env -i $(nix-build -E '(import <nixpkgs> { config = (_: { wine.build = "wineWow"; }); }).wine')
<Myrl-saki> This should work, right?
<clever> nix-env -E exists
<Myrl-saki> clever: -E accepts `pkgs: pkg`
palo has quit [Ping timeout: 240 seconds]
<Myrl-saki> I guess technically, you can pkgs.path.
<Myrl-saki> Oh wait, what. I'm talking BS?
<clever> --arg config may also work
<Myrl-saki> nix-env -iE 'pkgs: (import pkgs.path { }).wine'
<Myrl-saki> Says that path is missing.
<Myrl-saki> This is getting weird.
palo has joined #nixos
<srhb> Myrl-saki: -E does not somehow pass pkgs in
<clever> nix-env expects it to be a function, but doesnt pass it pkgs
<Myrl-saki> It does.
<Myrl-saki> Wait, really?
<srhb> Myrl-saki: Does not!
<srhb> does
<srhb> Does not!
<srhb> :P
<Myrl-saki> It passes `import <nixpkgs>`
<Myrl-saki> Based on the manual
<clever> to the source!
<Myrl-saki> $ nix-env -f ./foo.nix -i -E \
<Myrl-saki> 'f: (f {system = "i686-linux";}).subversionWithJava'
<clever> thats when you use -f
<Myrl-saki> Oh, hm.
<Myrl-saki> nix-env -f '<nixpkgs>' -iE 'pkgs: (pkgs { config.wine.build = "wineWow"; }).wine'
<Myrl-saki> Ugly but works. :D
<clever> [clever@system76:~]$ nix-env -iE "f: with import <nixpkgs> {}; lib.traceShowVal f" --dry-run
<clever> trace: { _combineChannels, nixos }
<clever> Myrl-saki: its an attribute set, containing every channel in the system
<clever> the same set that -iA nixos.hello acts on
<Myrl-saki> [myrl@myrl:~]$ nix-env -iE '(import <nixpkgs> {}).firefox' 2> >(grep -v warning)
<Myrl-saki> error: attempt to call something which is not a function but a set, at undefined position
<srhb> Myrl-saki: I prefer not dealing with nix-envs weird flags anyway: nix-env -i $(nix-build -E 'let pkgs = import <nixpkgs> { config.wine.build = "wineWow"; }; in pkgs.wine')
<clever> and nix-env demands that -E be a function
<Myrl-saki> Right.
<Myrl-saki> That's what I'm confused about.
<clever> so you need to _:
<clever> its trying to pass you the set of all channels
<Myrl-saki> Ohhh
<Myrl-saki> Holy crap.
<Myrl-saki> clever: nix-env -iE "f: with import <nixpkgs> {}; lib.traceShowVal f"
<Myrl-saki> Err
<Myrl-saki> trace: <λ:{(config),(crossSystem),(localSystem),(overlays),(platform),(system)}>
<clever> [clever@system76:~]$ nix-env -iE 'channels: (channels.nixos {}).hello' --dry-run --show-trace
<Myrl-saki> I didn't know you can print the Set's "kind" :D
<clever> Myrl-saki: thats a function
<clever> which accepts those args
<Myrl-saki> Yeah, I mean the "kind" of the argument.
<Myrl-saki> Hm, would it be a type or a kind?
<clever> > builtins.functionArgs (import <nixpkgs>)
<{^_^}> { config = true; crossSystem = true; localSystem = true; overlays = true; platform = true; system = true; }
<Myrl-saki> TIL.
<clever> thats the internals of how callPackage works
<Myrl-saki> Yeah, that makes sense. I was wondering how callPackage doesn't fail without { ... }:
<clever> > builtins.functionArgs ({ a, b?"default", ...}: 42)
<{^_^}> { a = false; b = true; }
<Myrl-saki> Ohhh, false means no default?
<clever> i dont think it can detect ...
<clever> yep
<Myrl-saki> clever: I mean, I was wondering how `callPackage` calls functions with the proper set..
<Myrl-saki> s/.././
<clever> Myrl-saki: intersectAttrs, functionArgs, and autoArgs are the bulk of the workload
<Myrl-saki> Yeah.
<Myrl-saki> Cool stuff.
MichaelRaskin has quit [Ping timeout: 240 seconds]
<Myrl-saki> Oh cool.
<Myrl-saki> I just had an idea.
<Myrl-saki> An editor where the work is done in Nix.
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @mbode opened pull request #46687 → salt: fix darwin build by specifying dependency on tornado 4 → https://git.io/fAX5O
<Myrl-saki> One thing that I hate about Yi is that Haskell is not dynamically scoped.
<Myrl-saki> Nix is technically not, but the override mechanism's pretty good.
<sphalerite> what do you mean by "the work is done in nix"?
<Myrl-saki> sphalerite: Think Emacs, but with Nix instead of Elisp.
<sphalerite> um
<sphalerite> not sure I like that idea :')
<Myrl-saki> Well, there's Emacs but with Haskell instead of Elisp.
<emily> the type errors would be beautiful
<ldlework> i don't quite understand how an application like emacs, or scripts for it could be written in Nixlang
<ldlework> Nixlang seems like a DSL for building a data-structure
<ldlework> Not-quite a programming language
<Myrl-saki> The interactivity is done in another language.
<ldlework> so two langauges just to avoid elisp?
<Myrl-saki> Yep.
<Myrl-saki> :D
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Myrl-saki> Okay, TBF, Emacs is C and Elisp too anyway.
<clever> haskell is also c :P
<Myrl-saki> And Nix is C++
<Myrl-saki> Hm
<colemickens> is it possible to disable building manpages?
<clever> colemickens: programs.man.enable = false; will omit them from the install
<clever> but it will still build them, but it wont download them, and it can GC them
jtojnar_ has joined #nixos
woodson has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
jtojnar_ is now known as jtojnar
<ixxie> does anybody use vim-nix? Trying to figure out how to do the syntax checking when the file is open
<ixxie> (instead of when I make a git commit xD)
knupfer has joined #nixos
<LnL> vim-nix only does indentation / highlighting
<colemickens> clever, does it at least help with the xsltproc process?
<clever> colemickens: if anything is building, it will still build all the man pages
<LnL> if you have syntax checking it's probably ale, syntastic, etc.
<colemickens> I might've misspoken, I was thinking of nixos-help, if it's nay different
<colemickens> okay
<clever> ah
<clever> cant find the nixos manual option, i remember there being one
<tilpner> services.nixosManual.enable?
teto has joined #nixos
<{^_^}> [nixpkgs] @mbode opened pull request #46688 → click: 0.3.1 -> 0.3.2 → https://git.io/fAX5X
GiGa|Laptop has joined #nixos
<ixxie> LnL: cheers! And thanks for the awesome plugin
booglewoogle has joined #nixos
<GiGa|Laptop> Morning all
kai_w_ has joined #nixos
sir_guy_carleton has joined #nixos
sir_guy_carleton has quit [Client Quit]
<{^_^}> [nixpkgs] @dywedir opened pull request #46689 → exfat: 1.2.8 -> 1.3.0 → https://git.io/fAXdT
<{^_^}> [nixpkgs] @srhb merged pull request #46681 → kmsxx, kmscube: 2017-10-10 -> 2018-09-10, 2017-03-19 -> 2018-06-17 → https://git.io/fAXMY
<{^_^}> [nixpkgs] @srhb pushed 3 commits to master: https://git.io/fAXdk
NightTrain has quit [Ping timeout: 246 seconds]
kenshinC1 has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @mbode opened pull request #46690 → apacheKafka: 1.1.0 -> 2.0.0, various patch upgrades for other versions → https://git.io/fAXdY
<{^_^}> [nixpkgs] @srhb merged pull request #46683 → zsh: 5.6.1 -> 5.6.2 → https://git.io/fAXSS
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fAXdO
booglewoogle has quit [Quit: Leaving]
booglewoogle has joined #nixos
<{^_^}> [nixpkgs] @srhb pushed 3 commits to release-18.09: https://git.io/fAXdn
booglewoogle has left #nixos [#nixos]
booglewoogle has joined #nixos
trcc has joined #nixos
booglewoogle has quit [Client Quit]
lawlesseel has joined #nixos
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
jasongrossman has quit [Ping timeout: 246 seconds]
trcc has quit [Remote host closed the connection]
kai_w_ is now known as kai_w
trcc has joined #nixos
trcc has quit [Ping timeout: 240 seconds]
zli has joined #nixos
<zli> Hello all.
<zli> Does any one know how to install the openframeworks library on nixos?
<srhb> zli: It does not appear to be packaged (also we generally do not _install_ libraries)
<sphalerite> ,library zli
<{^_^}> zli: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
jasongrossman has joined #nixos
<sphalerite> ^ about "installing" libraries
<sphalerite> but yeah doesn't seem to be in nixpkgs
ihar has quit [Ping timeout: 252 seconds]
<zli> sphalerite: I did install the sfml library ( by adding it to configuration.nix ). I just could not find a packaged openframeworks library or a libcinder library.
<sphalerite> zli: again, libraries aren't "installed" in nix systems
<srhb> s/aren't/shouldn't be :)
<zli> sphalerite : i do use the nix-shell for developing.
<srhb> You absolutely can install them, but it definitely won't work how you expect, and will likely break things in subtle or non-subtle ways.
<sphalerite> nix-shell is enough, you don't need to add it to configuration.nix as well
<zli> sphalerite: i have an intermittent internet connection problem. So I have to have everything installed, so I can continue to code without internet.
<sphalerite> zli: as long as you don't garbage-collect it away or upgrade your nixpkgs, nix-shell doesn't need to redownload the stuff
<zli> sphalerit: i did not know that. now I do. Thanks.
<sphalerite> :)
<Lears> We really ought to have a nice way to make a gc root for a nix-shell env though.
<sphalerite> zli: also if you set the keep-outputs option, nix will keep the outputs of drvs that still exist, and you can create a GC root for a nix-shell using nix-instantiate --indirect --add-root shell.drv
<sphalerite> zli: then shell into it using nix-shell shell.drv
<sphalerite> Lears: ^
sir_guy_carleton has joined #nixos
<sphalerite> Lears: if you want to fully root the entire closure of a drv, you can use a crazy script like this https://github.com/lheckemann/dotfiles/blob/master/gcroots.sh
<sphalerite> but keep-outputs and a gc root pointing at the drv should usually be enough :)
thc202 has joined #nixos
lawlesseel has quit [Ping timeout: 256 seconds]
<sir_guy_carleton> i've got a werid problem: i'm running i3 with termite, which i have set to be 80% transparent with compton. it worked perfectly until now, where firefox and qutebrowser started not following the transparency rules.
<sir_guy_carleton> has anybody encounted any problems like this?
<{^_^}> [nixpkgs] @domenkozar pushed 5 commits to release-18.09: https://git.io/fAXFr
<zli> sphalerite : i have a working nix-shell file that gets the job done very quickly and I generally have to fight cmake, clang, vim ( autocompletion ) and the gui libraries to get to work with each other but I have been most productive on my nixos desktop system. I have been using it on the desktop and plan to install it to a usb ( flash drive/ memory stick ) when I have time to play.
<sphalerite> hm, you have to fight them? It should work fairly smoothly AFAIK
<Lears> Cheers sphalerite, I'll try the keep-outputs option next time I need this. But I was more saying that it should be as simple as, say, nix-shell --mk-gc-root.
<zli> sphalerite : yeah most of the time they do, occassionally I get problems with fltk library autocompletion in vim using lang server version.
moredhel has joined #nixos
<{^_^}> [nixpkgs] @kolloch closed pull request #43565 → Add note that nixcrate is deprecated → https://git.io/fNYtn
Bryanstein22 has joined #nixos
<Bryanstein22> Аllah is ԁоiᥒɡ
Bryanstein22 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
martingale has joined #nixos
woodson has quit [Ping timeout: 252 seconds]
jD91mZM2 has quit [Ping timeout: 245 seconds]
silver has joined #nixos
jD91mZM2 has joined #nixos
martingale has quit [Ping timeout: 252 seconds]
Magne`24 has joined #nixos
<Magne`24> suᥒ iѕ not ԁoing Allaһ іs doiᥒg
<Magne`24> ⅿоഠᥒ іs not ԁoinɡ Allah iѕ doіᥒɡ
<Magne`24> Allɑһ iѕ dοing
Magne`24 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
ihar has joined #nixos
woodson has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #46691 → richgo: Init at 0.2.8 → https://git.io/fAXbk
jasongrossman has quit [Ping timeout: 272 seconds]
<sphalerite> zli: ah :/ do you run the language server in the nix shell too?
Avaq has quit [Ping timeout: 252 seconds]
Mikail7 has joined #nixos
<Mikail7> ѕuᥒ is ᥒot doiᥒg Aⅼlah is ԁoing
<Mikail7> Ꭺⅼlah іs ⅾοing
<Mikail7> ⅿഠon is ᥒⲟt doing Αlⅼaһ ⅰs dοіng
Mikail7 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<{^_^}> [nixpkgs] @Mic92 merged pull request #46688 → click: 0.3.1 -> 0.3.2 → https://git.io/fAX5X
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAXbl
<{^_^}> [nixpkgs] @Mic92 pushed commit from @mbode to release-18.09 « click: 0.3.1 -> 0.3.2 »: https://git.io/fAXb4
<zli> sphalerite: I stopped using the language server plugin. I work without it now. Couldn't get it to work quickly and I had to abandon it for now.
<sphalerite> :(
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
Avaq has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46659 → flink: 1.5 -> 1.6 → https://git.io/fAXJf
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fAXNJ
<{^_^}> [nixpkgs] @xeji merged pull request #46689 → exfat: 1.2.8 -> 1.3.0 → https://git.io/fAXdT
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fAXNm
<{^_^}> [nixpkgs] @globin closed pull request #46572 → mosquitto: ipv6 and tls cert store fixes → https://git.io/fAoNy
_ris has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46687 → salt: fix darwin build by specifying dependency on tornado 4 → https://git.io/fAX5O
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fAXNl
<{^_^}> [nixpkgs] @xeji pushed commit from @mbode to release-18.09 « salt: fix darwin build by specifying dependency on tornado 4 »: https://git.io/fAXNV
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
orivej has joined #nixos
GiGa|Laptop has quit [Quit: Leaving]
martingale has joined #nixos
Ariakenom_ has joined #nixos
jasongro` has joined #nixos
Ariakenom has quit [Ping timeout: 244 seconds]
martingale has quit [Ping timeout: 244 seconds]
kai_w has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @etu opened pull request #46692 → sequeler: 0.6.1 -> 0.6.2 → https://git.io/fAXAt
jasongro` has quit [Quit: ERC (IRC client for Emacs 26.1)]
<zli> Gotta go. Thank you all. See you next time.
zli has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
jasongrossman has joined #nixos
<tilpner> Anyone feel like reviewing #45973? c.c
<{^_^}> https://github.com/NixOS/nixpkgs/pull/45973 (by tilpner, 1 week ago, open): appimage-run: Support type-1 Appimages
jasongro` has joined #nixos
jasongrossman has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #46693 → matcha: init at 2018-09-14 → https://git.io/fAXA6
lorilan has joined #nixos
ma27_ has quit [Quit: WeeChat 2.2]
acarrico has quit [Quit: Leaving.]
<lorilan> Hi, quick question. Is the evaluation of a nix expression by name or lazy ?
ma27 has joined #nixos
<lorilan> meaning expr-a has for input expr-b and expr-c, both b and c have expr-d as input, will d be evaluated once or twice ?
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<tilpner> > let d = builtins.trace "foo" 21; b = { inherit d; }; c = { inherit d; }; a = x: y: x.d + y.d; in a b c
<{^_^}> 42
<tilpner> Well... if you try that with nix-instantiate, it says "foo" once
martingale has joined #nixos
fzer0 has joined #nixos
beAsty25 has joined #nixos
<beAsty25> Аⅼlah is ԁoinɡ
beAsty25 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
fzer0 has quit [Client Quit]
<lorilan> hmm … strangely that's not the answer I was looking for :(
sir_guy_carleton has joined #nixos
<lorilan> I'll have to find another reason for my stack overflow problen
<lorilan> *m
<lorilan> but thanks !
tzemanovic has quit [Remote host closed the connection]
<sir_guy_carleton> i've added a vim plugin to nixpkgs using update.py in the plugins directory
oldandwise has joined #nixos
<sir_guy_carleton> what tests should i run?
tzemanovic has joined #nixos
Dedalo has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
jtojnar has quit [Quit: jtojnar]
b has joined #nixos
martingale has quit [Ping timeout: 244 seconds]
jasongro` has quit [Remote host closed the connection]
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 264 seconds]
Mateon2 is now known as Mateon1
lejonet has quit [Ping timeout: 272 seconds]
jtojnar_ has joined #nixos
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #46694 → php: 7.2.8 -> 7.2.10 → https://git.io/fAXpJ
jasongrossman has quit [Remote host closed the connection]
sigtrm has quit [Ping timeout: 252 seconds]
sigtrm has joined #nixos
jtojnar has joined #nixos
jtojnar_ has quit [Ping timeout: 272 seconds]
jtojnar_ has joined #nixos
steveeJ is now known as steveeJ|firrre
jtojnar_ has quit [Read error: Connection reset by peer]
steveeJ has joined #nixos
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
jasongrossman has joined #nixos
brejoc has joined #nixos
mayhewluke has quit [Ping timeout: 252 seconds]
civodul has joined #nixos
mayhewluke has joined #nixos
<lorilan> Is there a way to get some sort of a diagnostic of an expression ? (like what amount of memory was required to compute it ?)
<lorilan> sorry if the answer is obvious, still kind of new at writting nix expressions …
<{^_^}> [nixpkgs] @andir opened pull request #46695 → paperwork: 1.2.2 -> 1.2.4 → https://git.io/fAXpP
<{^_^}> [nixpkgs] @cjpbirkbeck opened pull request #46696 → vimPlugins.ranger-vim: init at 2018-09-13 → https://git.io/fAXp1
<sphalerite> ,profile
<{^_^}> sphalerite: Did you mean profiling?
<{^_^}> Use NIX_COUNT_CALLS=1 and/or NIX_SHOW_STATS=1 to profile Nix evaluation
<sphalerite> lorilan: ^
<lorilan> ok, thx !
<{^_^}> [nixpkgs] @etu opened pull request #46697 → php71: 7.1.21 -> 7.1.22 → https://git.io/fAXpy
iyzsong has quit [Read error: Connection reset by peer]
<srhb> Can I make nix with a custom store use an otherwise untrusted substituter?
<lorilan> sorry, how am I supposed to use it ? Don't I just have to prepend it like : `NIX_COUNT_CALLS=1 NIX_SHOW_STATS=1 nix-build -A my_expr` ?
pie_ has joined #nixos
pie__ has quit [Read error: Connection reset by peer]
tzemanovic has quit [Remote host closed the connection]
<Avaq> Hello. Could someone help me? I'm installing NixOS on a new machine. I've done so several times before, but never with LUKS (LVM over LUKS). I've gone through the entire process, and have reached the point where NixOS is booting (after entering the LUKS passphrase). But it hangs on boot. Before hanging it successfully reaches a bunch of targets, including 'Network is Online' and 'System Initialization'.
<Avaq> I think LUKS may not be the cause of the problem, since it seems to work as intended. But I mentioned it because besides the hardware, it's what's different from my previous experiences.
<Avaq> How would I go about analysing what causes it to hang?
<sphalerite> Avaq: that doesn't sound like an issue that would be caused by LUKS. Is the root filesystem in the luks container?
gsteinert8 has joined #nixos
<gsteinert8> Ꭺllɑh iѕ dоinɡ
gsteinert8 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<Avaq> sphalerit: Yes. I have three partitions (GPT). One for grub img, one for efi boot, and one luks encrypted. The logical volumes (swap and root) are nested under the decrypted luks drive.
<Avaq> But I also don't think it's a LUKS problem.
<Avaq> I just don't know how to find out what kind of problem it is.
<sphalerite> Avaq: is it a graphical setup? If so, does adding systemd.unit=multi-user.target to the kernel command line (press E on the boot menu entry) give you a login prompt?
<Avaq> It is a graphical setup. Let me try. :)
<Avaq> I've appended it at the end of the long string I got when pressing E, but the problem remains.
Ariakenom_ has quit [Read error: Connection reset by peer]
vmandela has joined #nixos
<Avaq> sphalerit: Not sure if I should've pinged you. ^
<{^_^}> [nixpkgs] @fpletz merged pull request #46642 → jenkins: 2.121.2 -> 2.138.1 → https://git.io/fAPC5
<{^_^}> [nixpkgs] @fpletz pushed commit from @bchallenor to master « jenkins: 2.121.2 -> 2.138.1 »: https://git.io/fAXhg
<sphalerite> Avaq: yes it helps get my attention :D maybe try the same but with rescue.target instead of multi-user.target and see if you can get a shell
martingale has joined #nixos
<lorilan> sphalerite, I'm sorry but aren't NIX_COUNT_CALLS and NIX_SHOW_STATS just env var ? could there be a reason that make nix-build ignore them ?
<sphalerite> lorilan: yes they are. I don't know why they'd be ignored, how are you setting them and invoking nix?
<lorilan> `export NIX_COUNT_CALLS=1`
<lorilan> same for NIX_SHOW_STATS
<lorilan> `echo $NIX_SHOW_STATS` show the right value
<lorilan> and then `nix-build -A my_expr`
<lorilan> it just shows the resulting path in the store :s
<sphalerite> lorilan: ah it seems nix-build ignores it, try nix-instantiate instead
<lorilan> XD
<sphalerite> lorilan: note though that this is for nix evaluation, not building. We don't have a mechanism for collecting stats on building
<lorilan> yes, thank you !
<lorilan> sphalerite, yes, this precisely what I'w looking for
<sphalerite> great :)
<Avaq> sphalerite: I got the shell! :) I have something to attend to now, but this is a huge help already and I will be able to go from here when I get back. Thank you!
<sphalerite> Avaq: great! A good starting point would probably be the journal. Good luck!
joehh has joined #nixos
georges-duperon has quit [Ping timeout: 264 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @vdemeester opened pull request #46698 → cni-plugins: 0.7.1 -> 0.7.3 → https://git.io/fAXhp
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @fpletz pushed to master « matrique: init at 250 »: https://git.io/fAXjO
jasongrossman has quit [Ping timeout: 272 seconds]
jasongrossman has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
vandenoever has joined #nixos
Kelppo has joined #nixos
georges-duperon has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed 5 commits to release-18.09: https://git.io/fAXjV
martingale has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to release-18.09: https://git.io/fAXjX
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @uri-canva opened pull request #46699 → darwin.apple_sdk: update to 10.13 → https://git.io/fAXjM
georges-duperon has quit [Ping timeout: 250 seconds]
jtojnar has left #nixos [#nixos]
<{^_^}> [nixpkgs] @uri-canva opened pull request #46700 → bazel: update to 0.17.1 → https://git.io/fAXjA
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/fA1ee
orivej has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.09 « linux: 4.4.155 -> 4.4.156 »: https://git.io/fA1eU
<{^_^}> [nixpkgs] @bobvanderlinden opened pull request #46701 → Paket: 1.18.2 -> 5.179.1 → https://git.io/fA1eT
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.09 « linux: 4.9.126 -> 4.9.127 »: https://git.io/fA1eI
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.09 « linux: 4.14.69 -> 4.14.70 »: https://git.io/fA1et
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.09 « linux: 4.18.7 -> 4.18.8 »: https://git.io/fA1eY
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-18.03: https://git.io/fA1e3
jtojnar_ has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #45159 → php: 7.2.8 -> 7.2.9 → https://git.io/fNhE7
_ris has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « sbt: 1.2.1 -> 1.2.3 »: https://git.io/fA1eo
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.09 « sbt: 1.2.1 -> 1.2.3 »: https://git.io/fA1ei
fendor has joined #nixos
<{^_^}> [nixpkgs] @bobvanderlinden opened pull request #46702 → Deedle: 1.2.0 -> 1.2.5 → https://git.io/fA1eS
<{^_^}> [nixpkgs] @xeji merged pull request #46701 → Paket: 1.18.2 -> 5.179.1 → https://git.io/fA1eT
<{^_^}> [nixpkgs] @xeji pushed commit from @bobvanderlinden to master « Paket: 1.18.2 -> 5.179.1 (#46701) »: https://git.io/fA1eH
<{^_^}> [nixpkgs] @xeji pushed commit from @bobvanderlinden to release-18.09 « Paket: 1.18.2 -> 5.179.1 (#46701) »: https://git.io/fA1ed
none_____ has joined #nixos
<none_____> Αllɑh ⅰs ԁoіnɡ
none_____ has quit [Killed (Sigyn (Spam is off topic on freenode.))]
vmandela has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @xeji closed pull request #46695 → paperwork: 1.2.2 -> 1.2.4 → https://git.io/fAXpP
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #46690 → apacheKafka: 1.1.0 -> 2.0.0, various patch upgrades for other versions → https://git.io/fAXdY
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/fA1ve
<{^_^}> [nixpkgs] @xeji merged pull request #46692 → sequeler: 0.6.1 -> 0.6.2 → https://git.io/fAXAt
<{^_^}> [nixpkgs] @xeji pushed commit from @etu to master « sequeler: 0.6.1 -> 0.6.2 (#46692) »: https://git.io/fA1vU
tzemanovic has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #46702 → Deedle: 1.2.0 -> 1.2.5 → https://git.io/fA1eS
<{^_^}> [nixpkgs] @xeji pushed commit from @bobvanderlinden to master « Deedle: 1.2.0 -> 1.2.5 (#46702) »: https://git.io/fA1vB
graphene has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji pushed commit from @bobvanderlinden to release-18.09 « Deedle: 1.2.0 -> 1.2.5 (#46702) »: https://git.io/fA1vE
Kelppo has quit []
graphene has joined #nixos
dmc has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #46698 → cni-plugins: 0.7.1 -> 0.7.3 → https://git.io/fAXhp
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « cni-plugins: 0.7.1 -> 0.7.3 (#46698) »: https://git.io/fA1v1
joehh has quit [Ping timeout: 244 seconds]
dmc has joined #nixos
codegyver0 has joined #nixos
<codegyver0> Allah iѕ ԁoing
<codegyver0> ѕ∪n іѕ not ԁഠiᥒg Alⅼɑh іs doiᥒɡ
codegyver0 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
Thra11 has joined #nixos
cfricke has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46696 → vimPlugins.ranger-vim: init at 2018-09-13 → https://git.io/fAXp1
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fA1fh
<srhb> s
<srhb> oops
endformationage has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46693 → matcha: init at 2018-09-14 → https://git.io/fAXA6
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « matcha: init at 2018-09-14 (#46693) »: https://git.io/fA1JL
<{^_^}> [nixpkgs] @xeji merged pull request #46567 → nano-wallet: 15.2 -> 16.0 → https://git.io/fAogX
<{^_^}> [nixpkgs] @xeji pushed commit from @jluttine to master « nano-wallet: 15.2 -> 16.0 (#46567) »: https://git.io/fA1JY
phreedom_ has joined #nixos
phreedom__ has joined #nixos
<sphalerite> I have some patches to apply to my kernel. They only affect one module, but since I'm using boot.kernelPatches to apply them it rebuilds the whole kernel. Is there a nice way to use the normal kernel, and just build the module I want with the patches?
phreedom has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #46181 → vim: 8.1.0146 -> 8.1.0348 → https://git.io/fAuiD
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « vim: 8.1.0146 -> 8.1.0348 (#46181) »: https://git.io/fA1J6
phreedom_ has quit [Ping timeout: 256 seconds]
jtojnar_ has quit [Ping timeout: 264 seconds]
martingale has joined #nixos
blankhart has joined #nixos
_ris has joined #nixos
<teto> sphalerite: you can tell nix where to look for modules so you might be able to compile the module separately
<sphalerite> teto: yeah, that's what I want to do. I was just hoping there might be an easy way to do it
martingale has quit [Ping timeout: 240 seconds]
<sphalerite> nixops doesn't need a state file when using the none backend, right?
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/67782bcb08f (from 87 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
wucke13 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46234 → neovim-qt: 0.2.9 -> 0.2.10 → https://git.io/fAzY4
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « neovim-qt: 0.2.9 -> 0.2.10 (#46234) »: https://git.io/fA1UV
<manveru> yeah
<wucke13> Hello, how do I specify libs to include in a nix package for my /etc/nixos/configuration.nix?
<manveru> it'll still make a state file though :)
oldandwise has quit [Quit: leaving]
<manveru> wucke13: what do you mean with libs?
<wucke13> I want zathura with a given set of plugins, namely poppler. Reading through the repo, it looks like `meta = with lib;` could provide a way to specify that package x should be build with lib y.
<teto> wucke13: home-manager has a PR for zathura, not sure how it works
init_6 has quit [Ping timeout: 272 seconds]
<wucke13> teto: i'm not using home manager, unfortunately
<jD91mZM2> Hello! What package do I need to install to resolve this error: "rust-lld: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory"?
<teto> wucke13: zathura seems to be rwapped with its plugins
<teto> you should pass plugins to the the wrapper apparently
<wucke13> How do I do that?
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
graphene has quit [Remote host closed the connection]
<sphalerite> jD91mZM2: it sounds like you compiled something with cargo, then gc'd away the dependencies
graphene has joined #nixos
<adisbladis> jD91mZM2: That's in gcc.lib
oldandwise has joined #nixos
<jD91mZM2> sphalerite: Trying to compile with the wasm target on nightly
<sphalerite> jD91mZM2: in nix-shell?
<jD91mZM2> sphalerite: For openssl and pkgconfig, yes, otherwise no
<jD91mZM2> Doesn't make any difference
<sphalerite> jD91mZM2: hm, that should already give you the NIX_CFLAGS/NIX_LDFLAGS that allow the wrapper to find libstdc++
<sphalerite> and set the rpath appropriately
<sphalerite> I think
cfricke has quit [Quit: WeeChat 2.1]
<sphalerite> where is rust-lld from?
<jD91mZM2> rust-lld isn't even a resolved command normally heh
<jD91mZM2> Using rustup
<sphalerite> I'm guessing you need to reinstall the compiler with rustup
<wucke13> teto: I found that the zathura default build has variable which controls which plugins are buid. Who can I specify this variable, and where is its default specified?
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<jD91mZM2> Unrelated to my rustup issues, how do you enable unfree software for a specific channel? I want to use steam from unstable (system wide), so I `import <nixos-channel-name-here> {}`, but it won't let me get it because it's unfree
<tilpner> import <nixos-channel-name-her> { config.allowUnfree = true; }
<teto> wucke13: the pacakge seems a bit convoluted you should look into pkgs/applications/misc/zathura/default.nix IMO
<adisbladis> jD91mZM2: Or use `allowUnfreePredicate` for more control over unfree packages
<jD91mZM2> adisbladis: oooo, nice
<jD91mZM2> tilpner: Thanks!
<wucke13> teto: Yes, thats where I found the variable useMupdf. The question left is why it defaults to true, and how I can change it?
<teto> wucke13: there is no easy way to overridethis (the package should be changed I guess). if you have a local checkout of nixpkgs, you could just add zathura_pdf_poppler to the plugins list
<wucke13> Found the first answer, first line of the default.nix
<adisbladis> wucke13: zathura.override { useMupdf = false; }
<teto> oh nevermind poppler is controlled by the muPdf so you can do in your configuration.nix nixpkgs.config.zathura.useMupdf = false;
<jD91mZM2> adisbladis: I can't get it to work. Trying this: `allowUnfreePredicate = (p: (builtins.parseDrvName p.name) == "steam");`
<wucke13> Thanks a lot! `nixpkgs.config.zathura.useMupdf = false;` works like a charm!
<{^_^}> [nixpkgs] @xeji opened pull request #46703 → pythonPackages.pyodbc: fix build → https://git.io/fA1T1
<jD91mZM2> adisbladis: Oh, never mind my question, I just needed `.name` on the result from parseDrvName. Whoops.
<adisbladis> Was just gonna say that builtins.parseDrvName returns an attribute set =)
oldandwise has quit [Ping timeout: 272 seconds]
zombi_z03 has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
patrl has joined #nixos
jasongrossman has quit [Ping timeout: 252 seconds]
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
martingale has joined #nixos
fragamus has joined #nixos
<jD91mZM2> sphalerite: Reinstalling didn't work btw :(
<sphalerite> idk then :/
martingale has quit [Ping timeout: 244 seconds]
tzemanovic has joined #nixos
jasongrossman has joined #nixos
wpcarro has joined #nixos
FoolishOwl22 has joined #nixos
<FoolishOwl22> Allɑh ⅰѕ ⅾⲟiᥒg
FoolishOwl22 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<{^_^}> [nixpkgs] @copumpkin opened pull request #46704 → stdenv/darwin: integrate a new CoreFoundation → https://git.io/fA1kH
<adisbladis> jD91mZM2: Tried checking ldd on rust-lld?
jD91mZM2 has quit [Ping timeout: 272 seconds]
<adisbladis> It may be some FHS assumptions going on
jD91mZM2 has joined #nixos
sbdchd has quit [Remote host closed the connection]
Ahti13 has joined #nixos
<Ahti13> Aⅼlɑh is dⲟіᥒg
<Ahti13> suᥒ is nοt ⅾⲟing Alⅼaһ is ԁοⅰng
<Ahti13> mοഠᥒ is ᥒot ԁഠiᥒɡ Aⅼlaһ ⅰѕ ԁⲟⅰnɡ
Ahti13 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
palo has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/218ce4de508 (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
rauno has joined #nixos
zombi_z03 has left #nixos [#nixos]
tzemanovic has quit [Ping timeout: 252 seconds]
kier has joined #nixos
sbdchd has joined #nixos
Boomerang has joined #nixos
<{^_^}> [nixpkgs] @bobvanderlinden opened pull request #46706 → go: skip flaky os/exec TestExtraFiles → https://git.io/fA1IN
kyren has joined #nixos
martingale has joined #nixos
martingale has quit [Ping timeout: 244 seconds]
justan0theruser has joined #nixos
lejonet has joined #nixos
justanotheruser has quit [Ping timeout: 245 seconds]
jbo has joined #nixos
haslersn has joined #nixos
whosgonna10 has joined #nixos
<whosgonna10> Aⅼⅼɑh is doⅰng
<whosgonna10> suᥒ is not ԁoіng Аllɑһ ⅰѕ doing
<whosgonna10> ⅿⲟоᥒ is nοt dഠіng Alⅼaһ is doinɡ
whosgonna10 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<haslersn> Hi, I installed the 'spectacle' screenshot utility and kde is set to 'start screenshot tool' when pressing print. However, if I press print, spectacle doesn't start. I already tried rebooting. I guess kde doesn't know what my so-called 'screenshot tool' is. How could I resolve that?
<{^_^}> [nixpkgs] @srhb opened pull request #46707 → darcs: unpin ghc (use 8.4.x) version → https://git.io/fA1Lr
<Avaq> sphalerite: I'm back to it. I checked 'systemctl --list-units' and noticed boot.mount had failed. I then searched the journal and found 'boot.mount: mount process exited, code=exited status=32'. I then checked my fileSystems config and found I had misconfigured boot as ext4 (while drive is formatted as vfat). After fixing it, manually mounting boot and rebuilding nixos, everything works fine! The installation is a success. :D
<sphalerite> Avaq: \o/
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #46708 → youtube-dl: 2018.08.04 -> 2018.09.10 → https://git.io/fA1L1
<haslersn> Another thing (maybe bug): If configuration.nix contains fetchgit or the like, it won't build if git is not installed. It does build if git is installed. So there are two problems: (a) it doesn't work if git isn't installed and (b) it's not pure. Should I open an issue for that?
<sphalerite> haslersn: builtins.fetchGit is intentionally impure, to allow things like fetching private git repos and having a cache
<srhb> haslersn: eelco believes this is a feature, so no need.
<sphalerite> haslersn: so the solution is "install git" :p
<haslersn> Ok weird
martingale has joined #nixos
Boomerang has quit [Quit: WeeChat 1.9.1]
<srhb> sphalerite: There's nothing preventing Nix from depending on git and still leave builtins.fetchGit impure (except opinions) :)
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite> srhb: closure siiiiiiizeeeeeeee
<srhb> :P
<srhb> Very true. Just pointing out that "allow things like fetching private git repos" has nothing to do with.
<srhb> with it*
agaffney28 has joined #nixos
<agaffney28> Αlⅼаh is ԁoiᥒg
agaffney28 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<haslersn> Couldn't it conditionally depend on git like: When fetchgit is used, download git first. This wouldn't increase closure size, would it?
<sphalerite> srhb: well it does because it's part of the intentional impurity :D
martingale has quit [Ping timeout: 245 seconds]
<sphalerite> haslersn: not really ideal because it relies on magically determining where to get git
<srhb> haslersn: Here's the issue if you want to point out the weirdness :) https://github.com/NixOS/nixpkgs/issues/46603
<{^_^}> #46603 (by yorickvP, 2 days ago, open): `fetchGit` requires `git` as runtime dependency
<haslersn> 2 days ago, so is that a new thing?
<srhb> haslersn: I'm not sure if it were actually baked in in 2.0.x.. I imagine not.
<srhb> But then again I'm also surprised that we're only seeing people notice it now.
<Avaq> Can I relax the strength of my Linux user password (on a personal laptop) now that I have LUKS with a strong password?
roblabla has quit [Ping timeout: 276 seconds]
<srhb> Avaq: If you don't leave your laptop on when you're not next to it, I guess?
Dedalo has joined #nixos
<demize> And don't have SSH with password auth on.
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #46709 → Update Anderson Torres e-mail info → https://git.io/fA1Lx
<sphalerite> Avaq: as a general answer I'd say no. Up to you to consider the tradeoffs you're making though!
<{^_^}> [nixpkgs] @jerith666 opened pull request #46710 → Elm: widen language-glsl dependency, pick up minor updates → https://git.io/fA1tU
monotux has quit [Quit: prutt]
<Avaq> Alright, clear. That leads me to my next question. I chose LUKS-encrypted LVM to ensure that my swap is encrypted the same way other data at rest is, so in theory it should be possible to suspend to disk (hybernate), and wakeup given the LUKS password.
<Avaq> Is there a way to set things up such that my device hybernates when left unattended, and prompts for the LUKS password when woken up?
[Leary] has joined #nixos
<sphalerite> Avaq: hibernation can be finicky in general. For a start, see if it works at all by running systemctl hibernate then turning it back on
Lears has quit [Ping timeout: 244 seconds]
<sphalerite> Avaq: it should definitely prompt you for the LUKS password when waking up, just not sure if it will wake up successfully
<sphalerite> as for hibernating after a certain idle time, that's probably best configured via your desktop environment if it can do that
kyren has joined #nixos
<haslersn> Couldn't builtins.fetchGit easily be implemented without depending on git?
<sphalerite> otherwise, maybe something like xidlehook ( jD91mZM2 😉 )
<sphalerite> haslersn: how?
<srhb> haslersn: That sounds like it requires re-implementing git.
<srhb> Which doesn't buy us much, probably. :)
<jD91mZM2> sphalerite: YEEEEEE
<{^_^}> [nixpkgs] @srhb merged pull request #46707 → darcs: unpin ghc (use 8.4.x) version → https://git.io/fA1Lr
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fA1tG
<{^_^}> [nixpkgs] @srhb pushed to release-18.09 « darcs: unpin ghc (use 8.4.x) version »: https://git.io/fA1tn
<haslersn> After thinking a bit more, I guess my statement only holds for GitHub or the like where you can just download the repo as a tarball
<srhb> haslersn: Yeah, and we already have builtins.fetchurl for that :)
<sphalerite> haslersn: we do have builtins.fetchTarball :)
<srhb> And that.
MoonkYang has joined #nixos
<MoonkYang> Αllɑh is ԁoing
MoonkYang has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<srhb> And since curl is an acceptable dependency (or at least unavoidable) it does not suffer from the same issue.
<sphalerite> srhb: you can't use builtins.fetchurl for fetching further nix expressions from tarballs or similar can you?
<srhb> sphalerite: I don't see why not? Am I missing something?
<srhb> It's just regular ifd after the fact.
<srhb> Unless restrict-eval can do something clever about that.
<haslersn> sphalerite: yes, (import (fetchTarbal url)) imports the default.nix in the root directory of that tarball
<srhb> I don't think so though..
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #46709 → Update Anderson Torres e-mail info → https://git.io/fA1Lx
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/fA1t8
<sphalerite> haslersn: that's fetchTarball not fetchurl :)
<srhb> fetchTarball is just fetchurl with bells and whistles. :P
<sphalerite> srhb: I meant that — builtins.fetchurl isn't that useful
<sphalerite> srhb: critical bells and whistles! There's no way to get directories with it
<sphalerite> with fetchurl*
<sphalerite> AFAIK
<srhb> Right, it's usually more useful. :)
<joko> Hello, I was wondering if wine 32-bit installations in nix are properly linked with external libraries such as winbind
graphene has quit [Remote host closed the connection]
<haslersn> What about giving builtins.fetchGit an optional parameter to a git derivation?
<haslersn> People who want to use it purely can then specify that parameter, while it would preserve backwards compatibility
graphene has joined #nixos
snajpa is now known as necojinyho
necojinyho is now known as snajpa
<srhb> haslersn: it's eval-time, not build-time -- it has to be in nix.
patrl has quit [Ping timeout: 272 seconds]
<srhb> haslersn: for build time stuff we already have pkgs.fetchgit which behaves as your would expect and depends on git directly :)
ndrei has joined #nixos
JonReed has joined #nixos
ndrei has quit [Client Quit]
<haslersn> Can there be no builds during evaluation?
<srhb> Essentially no, that's exactly the sort of thing that builtins.fetchGit attempts to alleviate (allow you to do some very specific things during evaluation)
<srhb> In this case, fetch from a git repo as your user.
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<haslersn> Ok, then I would argue in favor of shipping the NixOS installer with git installed
<ixxie> so I have been thinking about a weird idea
<ixxie> when we fetch a tarball or clone a repo in a package, we do a checksum
<ixxie> in that way we ensure immutability
<srhb> haslersn: Oh, that's a very good point.
<ixxie> in a similar way nix store addresses are hashed
<ixxie> so would it make any sense to have a concept of a remote store address
<ixxie> i.e. a store address which is merely a reference to some external build input
<srhb> ixxie: Not sure I follow what the purpose of that "store address" would be
<ixxie> maybe its not that useful
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
<srhb> Perhaps you can elaborate on its intended use?
<ixxie> well I have been thinking about packer
<ixxie> and whether Nix could be used to do what packer does
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
<srhb> Hmm
<ixxie> for those not familiar, packer is a sort of build system of operating system images
<ixxie> so build inputs are images
<srhb> I mean, we can package arbitrary things up in arbitrary formats and give them a hash, and then you can fetch them from any store that has that path.
<srhb> So I feel like nix sort of subsumes this idea ny being more general?
stef204 has joined #nixos
<stef204> Alⅼah is dⲟing
<stef204> ѕᥙᥒ ⅰѕ not doіng Αⅼⅼaһ is ԁοіnɡ
<ixxie> yeah exactly
<sphalerite> haslersn: idk, what's wrong with running `nix-env -iA nixos.git` in the installer?
gchristensen has quit [Ping timeout: 260 seconds]
troydm has joined #nixos
<srhb> sphalerite: It's unintuitive. Everything else in Nix is pure in its dependencies.
gchristensen has joined #nixos
<srhb> Your immediate though when you see any nix expression fail because of a missing dependency should be "oh no, bug"
<ixxie> srhb: so I guess I was thinking that remote addresses could be nice for this sort of image building because you would save a lot of disk space
Thra11 has quit [Ping timeout: 240 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ixxie> the usecase is exactly that of packer: building custom images for VMs in production
<ixxie> or even for baremetal ofc
<sphalerite> srhb: that's what I'd think if this happened in nixpkgs
<sphalerite> but beyond that it's the wild west! :p
<srhb> sphalerite: But how does a, potentially non-expert, user tell that this isn't happening in nixpkgs?
<srhb> Maybe a colleague told them to add some dependency to their company NixOS install
<srhb> And suddenly nix commands are failing! Augh!
<sphalerite> hm
<sphalerite> I suppose what does bother me about it is that it encourages the "install stuff to fix things" way of thinking
<srhb> Indeed.
<srhb> I'd sooner see it removed from nix again than allow these shenanigans :P
<ixxie> nix-env you mean?
<srhb> builtins.fetchGit
<ixxie> ah
<srhb> As long as it's a "possibly builtins maybe not"
<ixxie> how is that any different than any other function that fetches stuff from the net?
<srhb> ixxie: builtins.fetchurl is always builtin.
<srhb> ixxie: and builtins.fetchTarball
<srhb> ixxie: builtins.fetchGit will magically fail if you don't have git on $PATH
<ixxie> ah
<ixxie> and git isn't a dependency of Nix?
<srhb> No.
<srhb> (Intentionally not)
<tilpner> Why not? Closure size?
kyren has joined #nixos
<haslersn> We have to be aware that shipping the installer with git doesn't solve the problem but hides it. Still, as long as it persists, it should be hidden from new users.
<srhb> tilpner: Yep.
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb> haslersn: Very true..
<elvishjerricco> I wonder if there's any micro-git implementation or something
<tilpner> If so, what about adding git to default Nix, and having people override it for slim deployments?
<srhb> elvishjerricco: Cursory glance didn't find any with sufficiently small deps to be convincing :/
<srhb> tilpner: That was suggested recently.
<srhb> Well, at least making it a true dependency :)
<haslersn> tilpner: That would be possible but has nothing to do with why it isn't included in Nix, as far as I can tell from what I heared now
<rotaerk> Myrl-saki, how would I switch to updating nixos from a local git repository rather than channels? I'd like to cherry-pick that one fix
<rotaerk> it's holding me up from tinkering with vulkan 1.1
<srhb> haslersn: That said, I hope we don't have anything in the _regular_ install that relies on builtins.fetchGit
<srhb> tilpner: In case you missed the link earlier: https://github.com/NixOS/nixpkgs/issues/46603#issuecomment-421012075
<haslersn> What is _regular_?
<tilpner> I would agree that removing builtins.fetchGit for a nixpkgs alternative would be a clean solution, but that would break too much
<srhb> haslersn: Only relying on nixpkgs
<ixxie> rotaerk: nixos-rebuild switch -I nixpkgs=/my/sources/nixpkgs
<srhb> haslersn: nixpkgs does not use builtins.fetchGit
<rotaerk> oh
<rotaerk> hmm, thanks
fendor has quit [Ping timeout: 240 seconds]
<haslersn> In which contexts is pkgs.fetchgit available and when isn't it?
<srhb> haslersn: A bit of an arbitrary distinction, of course, but we certainly cannot guarantee that any external nix expression won't blow up in funny ways, builtins.fetchGit or not :)
<srhb> haslersn: It's available at build time as a regular fetcher, so the same restrictions apply (can't access your user information etc, ssh key etc.)
<rotaerk> weird, I don't see -I documented in nixos-rebuild --help
<rotaerk> aside from an example that uses the flag without explaining it
<tilpner> It seems a git clone can be implemented in 1kloc, though I can see why that shouldn't go into nixos/nix
h313 has joined #nixos
<h313> Ꭺⅼⅼɑh ⅰs ԁoіnɡ
h313 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<rotaerk> h313 that doesn't mean anything !
<rotaerk> at least spam coherently
<srhb> tilpner: Yeah, it's difficult. The promise of builtins.fetchGit was that it is fully featured, and that's very useful in some cases.
<srhb> Well, fully-featured compared to pkgs.fetchgit
nuncanada has joined #nixos
<ixxie> rotaerk: true it seems to be missing
<rotaerk> I do see it mentioned in nixos manual though, under "Adding Custom Packages"
<rotaerk> ah, there too
<ixxie> srhb: would it make any sense to specify dependencies for particular builtins explicitly?
<tilpner> srhb - Fair enough. Rackets clone doesn't seem to support ssh, and might lack a few other features
<ixxie> srhb: that way the builtins depending on stuff not included with Nix would fetch git
Mateon1 has quit [Quit: Mateon1]
<tilpner> ixxie - But how would you define a dependency for a builtin without using nixpkgs?
hotfuzz_ has joined #nixos
Mateon1 has joined #nixos
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hotfuzz has quit [Ping timeout: 252 seconds]
<ixxie> tilpner: I guess I am saying move those builtins from Nix and into Nixpkgs
<ixxie> tilpner: but aren't the builtins in nixpkgs anyway actually?
<tilpner> I don't think so
<tilpner> They are re-exported into lib, but they're not defined there
<tilpner> Then there's <nix>, or "corepkgs"
<tilpner> > <nix>
<{^_^}> /nix/store/nwyjyl938ksbm0vpm3c1waqb2hs1ka9l-nix-2.1.1/share/nix/corepkgs
<tilpner> A git derivation could/would go in there, but providing gits dependencies would be hard
knupfer has quit [Ping timeout: 252 seconds]
<ixxie> tilpner: so its some kind of bootstrapping problem
<tilpner> You would have to duplicate half of nixpkgs into corepkgs to build git from source, with gcc and openssh and all the other things
<tilpner> Even if someone did the work, it would be undesirable to have that duplication. It would also add to the size of <nix> considerably
<haslersn> srhb: Does that mean, I can't do that: import (pkgs.fetchgit { ... }) ?
<srhb> haslersn: Sure you can.
<haslersn> But wouldn't pkgs.fetchgit then be used at evaluation time?
<srhb> haslersn: That src is built, then you eval the nix within, then you build something else, probably.
<srhb> It's more like building at eval time, actually
<srhb> The distinction is a little weak
<srhb> With IFD anything goes :P
<haslersn> So building at evaluation time is possible
<Myrl-saki> rotaerk: Have you gotten it working already?
worldofpeace has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #46646 → terraform-landscape: 0.1.18 -> 0.2.0 → https://git.io/fAPKf
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA1mL
rauno has quit [Ping timeout: 250 seconds]
graphene has quit [Remote host closed the connection]
spear2 has joined #nixos
graphene has joined #nixos
<Ralith_> Is there an easy way to inject a line into a service's unit file?
<Ralith_> via configuration.nix
<infinisil> Ralith_: What kinda line?
<Ralith_> just a regular Foo=bar setting in the [Service] section
<{^_^}> [nixpkgs] @worldofpeace opened pull request #46711 → rust.section.md: remove nixcrate reference → https://git.io/fA1ms
<tilpner> systemd.services.foo.serviceConfig.Foo = "bar";
<Ralith_> sweet
tzemanovic has joined #nixos
<Ralith_> tilpner: can I do serviceConfig = { Foo = "bar; Baz = "quux; }; or will that clobber the existing values?
<haslersn> So, for my understanding: If I use my-pkg = import (pkgs.fetchgit { ... }) within i.e. my configuration.nix and I build that, it will at evaluation time download and build all of the dependencies of pkgs.fetchgit, then build pkgs.fetchgit { ... }, then import the default.nix from its build output and then continue evaluating. Is that correct?
fragamus has joined #nixos
<tilpner> Ralith_ - I would expect that to work
<tilpner> Ralith_ - If you want to be sure (there could be a non-default merge for that option), use nixos-option after editing your nixos-config, but before switching
johnny101 has quit [Quit: Konversation terminated!]
<rotaerk> Myrl-saki, not yet, got distracted :P but what ixxie provided answers my question
<rotaerk> thanks
<rotaerk> unless you have more to add to it
<{^_^}> [nixpkgs] @Mic92 merged pull request #46669 → findutils: disable a bogus test → https://git.io/fAXsm
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to staging: https://git.io/fA1m0
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #46711 → rust.section.md: remove nixcrate reference → https://git.io/fA1ms
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA1ma
<tilpner> (Or check the merge function, but that's a little awkward with submodules)
<Ralith_> nixos-option confirms good
<{^_^}> [nixpkgs] @Mic92 pushed commit from @worldofpeace to release-18.09 « rust.section.md: remove nixcrate reference »: https://git.io/fA1mr
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #46712 → ios-depoy: Add missing rsync dep → https://git.io/fA1my
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #46713 → ios-depoy: Add missing rsync dep → https://git.io/fA1mH
<{^_^}> [nixpkgs] @dywedir opened pull request #46714 → tectonic: 0.1.8 -> 0.1.9 → https://git.io/fA1mA
Thra11 has joined #nixos
endformationage has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #46712 → ios-depoy: Add missing rsync dep → https://git.io/fA1my
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fA1YU
<{^_^}> [nixos-homepage] @andir opened pull request #241 → Make it more obvious that nixos options in the search results are clickable → https://git.io/fA1Yc
lawlesseel has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #46713 → ios-depoy: Add missing rsync dep → https://git.io/fA1mH
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.09: https://git.io/fA1Ya
cnidario has joined #nixos
tzemanovic has quit [Ping timeout: 246 seconds]
hamishmack has quit [Ping timeout: 246 seconds]
cnidario has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
ArchDuke has joined #nixos
<ArchDuke> Αllah iѕ dοing
ArchDuke has quit [Killed (Sigyn (Spam is off topic on freenode.))]
* colemickens kind of disappointing spam.
veremitz26 has joined #nixos
<veremitz26> Aⅼlаһ is doiᥒɡ
<veremitz26> ѕ∪n iѕ not ԁoіnɡ Ꭺllaһ iѕ doiᥒg
<veremitz26> mⲟon is not doing Ꭺⅼⅼaһ is ⅾoⅰᥒg
veremitz26 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
haslersn has quit [Ping timeout: 252 seconds]
Fare has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed to master « jbuilder: 1.0.1 -> dune: 1.1.1 »: https://git.io/fA1Oq
<{^_^}> [nixpkgs] @vbgl merged pull request #46411 → jbuilder: 1.0.1 -> dune: 1.1.1 → https://git.io/fA29Z
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
orivej has joined #nixos
<Ralith_> tilpner: out of curiosity, if I needed multiple lines with the same key (which is valid for some keys in systemd), would there be a way to do that?
<tilpner> Ralith_ - Try .Foo = [ "bar" "quux" ];, but that's just a guess
johnw- is now known as johnw
<tilpner> Ah, that might even work
<tilpner> ,find boot/systemd-lib.nix
<tilpner> Check attrsToSection, it seems to handle lists too
blankhart has quit [Quit: WeeChat 1.9.1]
sigmundv__ has joined #nixos
<Avaq> Hi! Any ideas on what might be causing my (xmonad) window content not to render on my newly installed NixOS? dmenu and xmobar contents are rendering.
obadz has quit [Ping timeout: 244 seconds]
winem_ has joined #nixos
sbdchd has quit [Remote host closed the connection]
<tilpner> What window isn't rendering?
<tilpner> And does it render without xmonad?
<Avaq> tilpner: Any window. I tried xterm, uxterm, chromium, firefox. The programs also don't react to input. I have not tried without xmonad. Do you suggest temporarily using a different wm?
jD91mZM2 has quit [Ping timeout: 252 seconds]
<tilpner> I do. It would allow us to eliminate xmonad from the set of possible causes, leaving just X and compositors as probable causes
<{^_^}> [nixpkgs] @etu closed pull request #46697 → php71: 7.1.21 -> 7.1.22 → https://git.io/fAXpy
<tilpner> I haven't used xmonad since switching to NixOS, so I'm not aware of any pitfalls related to it. There are a few people using it though, so ask again later if I can't help (IIRC)
<Avaq> I use the exact same setup on my other machine. The one I'm typing from now. Have not had problems for two years with xmonad on nixos.
Dedalo has joined #nixos
haslersn has joined #nixos
<haslersn> I found some resources where people set services.xserver.desktopManager.plasma5.extraPackages. It seems like it was removed. How would I integrate applications like yakuake or spectacle into plasma5, now?
<{^_^}> [nixpkgs] @ttuegel opened pull request #46715 → Emacs package updates → https://git.io/fA1Oy
<Ralith> Avaq: screenshot?
<Ralith> I'd be tempted to suspect a graphics driver issue
<{^_^}> [nixpkgs] @marsam opened pull request #46716 → sops: 3.0.2 -> 3.1.0 → https://git.io/fA1OH
<{^_^}> [nixpkgs] @etu opened pull request #46717 → [18.03] php: 5.6.37 -> 5.6.38, 7.0.31 -> 7.0.32 → https://git.io/fA1OQ
<Avaq> Ralith: there is not mich to see. Only window decorations are rendering, which are configured in my case to be a single 1px line under the window content. The content itself is pure black (which may just be the background behind it).
<Avaq> I also thought it could be graphics driver related. I looked at https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Carbon_(Gen_6)#Support for guidance, but couldn't make much of it. Currently I'm using [ "intel" ] as my graphicsDrivers, but I did try some other options.
<Ralith> Avaq: what happens if you float a window and drag it around above another? xmonad can do that, right?
<Avaq> Ralith: I tried, but I cannot click or drag the windows.
<Avaq> New information: Window content does render under evilwm, so it's likely xmonad related.
<Ralith> if mouse interaction isn't working the way it should that's probably not a graphics issue, then
Ariakenom has quit [Quit: Leaving]
<Avaq> Good point.
martingale has joined #nixos
patrl has joined #nixos
kreetx has joined #nixos
jasongrossman has quit [Ping timeout: 246 seconds]
<kreetx> (been there with this question before) I'm trying to copy in a folder of assets to a docker container generated from nix. To do this I name the path like so in my docker.nix: config = { Cmd = [ "${haskell-nix}/bin/haskell-nix ${./assets/asset.txt}" ]; };
<kreetx> the asset.txt is copied into the image, but then I get this when trying to run it: "docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/nix/store/rkk2fggrx601qrq02y49lmnszw7jxhkv-haskell-nix-0.1.0.0/bin/haskell-nix /nix/store/s1ga17lciicwq0rx4h7a076nz6cmcb5j-asset.txt\": stat
<kreetx> /nix/store/rkk2fggrx601qrq02y49lmnszw7jxhkv-haskell-nix-0.1.0.0/bin/haskell-nix /nix/store/s1ga17lciicwq0rx4h7a076nz6cmcb5j-asset.txt: no such file or directory": unknown."
fl00d has joined #nixos
<fl00d> Ꭺⅼlah ⅰs doiᥒɡ
fl00d has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<kreetx> sorry for the long text
martingale has quit [Ping timeout: 252 seconds]
<Ralith> kreetx: how do you know it's copied to the image?
<kreetx> after building the image I get a tar.gz file -- so I went and looked inside it
<Ralith> and where is the file precisely?
<kreetx> there is another tar inside the tar.gz called layers, and it's in there
<kreetx> it is in the nix store
<kreetx> I think the layers.tar is the filesystem
sigmundv__ has quit [Ping timeout: 272 seconds]
szicari has quit [Ping timeout: 252 seconds]
<kreetx> wow, I figured it out! amazing what asking in irc does to one's attention
<manveru> kreetx: that looks more like your bin is missing
<kreetx> the problem was that I had all in the same string: [ "${haskell-nix}/bin/haskell-nix ${./assets/asset.txt}" ]
<manveru> aye :)
<kreetx> they need to be separate: [ "${haskell-nix}/bin/haskell-nix" ./assets/asset.txt ]
<manveru> hmm, i haven't been able to run `nix-index` for quite some time now...
<manveru> always fails at `error: fetching the file listing for store path '/nix/store/zx9dmnk9lzrimha1xfl1p82wsgpihfs8-udunits-2.2.26' failed`
<kreetx> manveru: technically you ware exactly right -- it looked for a binary that didn't exist
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<manveru> bennofs[m]: any idea what that is?
szicari has joined #nixos
ambro718 has quit [Ping timeout: 240 seconds]
<kreetx> another, general question: whatever I name as paths in my package description will always be copied in? or just the paths that appear in certain attributes?
<Ralith> kreetx: any path referenced *as a path* will be copied
<kreetx> Ralith: and it doesn't matter the attribute it appears in?
<kreetx> although I guess nix checks that I have all the right attributes, no more no less (which has been my experience thus far -- it usually complains when I try an installPhase somewhere it's not supposed to be)
<{^_^}> [nixpkgs] @volth opened pull request #46718 → ignore this, it is for ofborg → https://git.io/fA13x
kreetx has quit [Ping timeout: 252 seconds]
graphene has quit [Read error: Connection reset by peer]
graphene has joined #nixos
Dedalo has joined #nixos
dilettante28 has joined #nixos
<dilettante28> Allaһ is ԁoіng
dilettante28 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<{^_^}> [nixpkgs] @Mic92 merged pull request #46718 → gn: fix hash → https://git.io/fA13x
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA1sg
<{^_^}> [nixpkgs] @copumpkin merged pull request #46704 → stdenv/darwin: integrate a new CoreFoundation → https://git.io/fA1kH
<{^_^}> [nixpkgs] @copumpkin pushed 2 commits to staging: https://git.io/fA1sa
<{^_^}> [nixpkgs] @Mic92 merged pull request #46714 → tectonic: 0.1.8 -> 0.1.9 → https://git.io/fA1mA
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA1sS
knupfer has joined #nixos
cnidario has joined #nixos
fuzzy-id has joined #nixos
<d1rewolf> guys, trying to install golang on nixos but getting weird behavior. installed in /opt/go. "which go" says /opt/go/bin/go. "file /opt/go/bin/go" says "/opt/go/bin/go: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, not stripped", but calling /opt/go/bin/go says "zsh: no such file or directory: /opt/go/bin/go". any ideas?
<tilpner> d1rewolf - There is no /lib64, that's why it says "No such file"
<tilpner> If you install things manually (without nix), chances are they won't work out-of-the-box
<d1rewolf> tilpner: how should one fix? and how could one identify that this was the problem?
<tilpner> You'll need to patch them, or trick them into into working otherwise (FHSenv)
<tilpner> First, why are you not using the go package?
<hodapp> if this is just Go you need, is the version in Nixpkgs not sufficient?
<d1rewolf> historically, I use /opt to store various tools/sdks I use. I have a lot of scripts which expect this convention
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<d1rewolf> I will use the nixpkgs version for now. tilpner hodapp: is there something I could read which would help me better understand this problem?
<tilpner> You can still have that. Use systemd.tmpfiles to link pkgs.go to /opt/go
<d1rewolf> tilpner: how can i learn more about this problem?
<tilpner> Experimentation and https://nixos.wiki/wiki/Packaging/Binaries
sbdchd has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #46715 → Emacs package updates → https://git.io/fA1Oy
<{^_^}> [nixpkgs] @ttuegel pushed 5 commits to master: https://git.io/fA1G3
<tilpner> (But there is already a go package, so patching is a last resort)
kreetx has joined #nixos
<d1rewolf> tilpner: thanks. is there something which would indicate this is the problem from the command line? Without your help, I would've never figured out that vague error message
sbdchd has quit [Remote host closed the connection]
<tilpner> It's something you learn quickly with NixOS and then never forget. It is an unintuitive error, yes, because it implies that the to-be-executed file is not present, when actually it is the defined interpreters which is absent
<d1rewolf> tilpner: defined interpreters?
<haslersn> The "problem" is by design: With Nix, packages can only be found if you tell other packages where to find them.
<d1rewolf> haslersn: I'm not sure I follow you
<tilpner> d1rewolf - ELF files can have a .interp section that says what binary shall be used to execute them. If that points to a path that doesn't exist, Linux doesn't know how to execute your binary
<tilpner> ~ > patchelf --print-interpreter $(which tree)
<tilpner> /nix/store/fg4yq8i8wd08xg3fy58l6q73cjy8hjr2-glibc-2.27/lib/ld-linux-x86-64.so.2
<d1rewolf> tilpner: ah, k. can you view this easily view the command ine?
<d1rewolf> ah, beat me to it. thx
fragamus has joined #nixos
<tilpner> But binaries from outside the Nix universe usually have an interpreter set that doesn't exist here
<tilpner> You can often use steam-run to execute foreign binaries anyway
Avaq has quit [Ping timeout: 250 seconds]
<d1rewolf> right, so the go binary shows "/lib64/ld-linux-x86-64.so.2". Got it. thank you very much
kreetx has quit [Ping timeout: 272 seconds]
tzemanovic has joined #nixos
<haslersn> d1rewolf: Nix doesn't have a global place where packages or libraries are stored. Rather they are stored in unique directories such that (a) many versions of the same package can be installed and (b) updating is just the act of installing a new version while the old version still exists on disk. Because of this, binaries don't find their dependencies because they don't know their unique paths
<haslersn> Except if you patch the binaries, telling them where they can find their dependencies
<d1rewolf> haslersn: I see. thank you very the explanation
<{^_^}> [nixpkgs] @Mic92 merged pull request #46716 → sops: 3.0.2 -> 3.1.0 → https://git.io/fA1OH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA1GV
<d1rewolf> yes...I knew this but had forgotten it in this case ;)
<d1rewolf> thanks
Avaq has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46703 → pythonPackages.pyodbc: fix build → https://git.io/fA1T1
<{^_^}> [nixpkgs] @xeji pushed to master « pythonPackages.pyodbc: fix build (#46703) »: https://git.io/fA1Gr
<{^_^}> [nixpkgs] @xeji pushed to release-18.09 « pythonPackages.pyodbc: fix build (#46703) »: https://git.io/fA1GK
Avaq has quit [Ping timeout: 252 seconds]
ixxie has quit [Ping timeout: 245 seconds]
mounty has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @xeji pushed 3 commits to release-18.03: https://git.io/fA1GN
<{^_^}> [nixpkgs] @xeji merged pull request #46717 → [18.03] php: 5.6.37 -> 5.6.38, 7.0.31 -> 7.0.32 → https://git.io/fA1OQ
mounty has joined #nixos
<d1rewolf> tilpner: do you know what the nix package for golang is? searching for golang doesn't seem to find it, and for go a lot of false positives
<tilpner> > go.name
<{^_^}> "go-1.11"
wucke13 has quit [Quit: WeeChat 2.0]
<d1rewolf> thx
<{^_^}> [nixpkgs] @Mic92 merged pull request #46708 → youtube-dl: 2018.08.04 -> 2018.09.10 → https://git.io/fA1L1
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fA1Zv
fuzzy-id has quit [Ping timeout: 264 seconds]
xeji has joined #nixos
<d1rewolf> does anyone know what GOROOT should be set to on nixos? I set it to "export GOROOT=/nix/store/j6lf8sdl38b3kjp8ylnn48kr59j64qgr-go-1.11/" but it causes an "import cycle is not allowed" error
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46694 → php: 7.2.8 -> 7.2.10, 7.1.21 -> 7.1.22 → https://git.io/fAXpJ
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fA1Zq
<d1rewolf> is there a way to install older versions of golang?
<hodapp> I use Go on NixOS and haven't ever had to set GOROOT explicitly
<infinisil> > lib.filter (lib.hasPrefix "go_") (lib.attrNames pkgs)
<{^_^}> [ "go_1_10" "go_1_11" "go_1_9" "go_bootstrap" ]
<infinisil> d1rewolf: ^
<d1rewolf> infinisil: thanks
<d1rewolf> hodapp: really? interesting. what does it use for GOROOT by default?
<hodapp> no idea. sadly, all this stuff is on my work laptop which is locked behind 1,372 doors 20 miles away
<hodapp> however I'm not using multiple Go versions or anything, just multiple GOPATHs
<d1rewolf> ah, k. thanks ;)
silver_ has joined #nixos
silver has quit [Ping timeout: 272 seconds]
knupfer has quit [Quit: knupfer]
<haslersn> d1rewolf: with 'nix-shell -p go_1_10' you drop into a shell where go_1_10 is installed.
knupfer has joined #nixos
cnidario has quit [Quit: cnidario]
<d1rewolf> haslersn: right. I was just not sure how to find those other go versions. How can one do that from the command line, or do I have to use the repl as infinisil did?
tzemanovic has quit [Ping timeout: 244 seconds]
<infinisil> d1rewolf: Probably just `nix repl '<nixpkgs>'` and type `go_<Tab>`
<d1rewolf> infinisil: k, thx
<infinisil> Or `nix-shell -p go_<Tab>` assuming you have autocompletion working
<haslersn> How to get such autocompletion?
<makefu> programs.bash.enableCompletion
<haslersn> d1rewolf: I don't know how to properly search for something like go. Programming languages tend to have poor names
<makefu> or programs.zsh.enableCompletion respectively
<haslersn> makefu: Unfortunately, I use fish
<haslersn> Thanks though
<makefu> np
<makefu> maybe you can port the zsh code to fish and we have programs.fish.enableComplection :)
<haslersn> I will try that
<makefu> fantastic!
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<haslersn> However I don't see programs.zsh.enableCompletion: https://github.com/NixOS/nixos/blob/master/modules/programs/zsh/zsh.nix
sbdchd has joined #nixos
<haslersn> Hm wrong repo
<d1rewolf> hmmm....so I'm doing some Android development using the nixos-provided android-studio. android-studio downloads sdks, and puts them in ~/Android/Sdk. this includes tools like adb. However, I have the same problem with this.... zsh: no such file or directory: ./adb
<d1rewolf> doesn't this sort of thing cause a lot of problems in cases like this?
mounty has quit [Quit: Konversation terminated!]
kreetx has joined #nixos
<{^_^}> [nixpkgs] @baldo opened pull request #46720 → android-platform-tools: 26.0.2 -> 28.0.1 → https://git.io/fA1nk
Dedalo has joined #nixos
<makefu> d1rewolf: the provided adb will not have the correct ld interpreter set. normally it should be enough to have adb in your path ( as described in https://nixos.wiki/wiki/Android )
<d1rewolf> makefu: thx
kreetx has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @YorikSar opened pull request #46721 → gn: generate last_commit_position.h without git → https://git.io/fA1nG
sbdchd has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @baldo opened pull request #46722 → scrcpy: 1.2 -> 1.3 → https://git.io/fA1n4
<steveeJ> is there any way to see the output of the postBootCommands when the system has finished booting?
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
<d1rewolf> is there a package which provides adb in nixos? I see adb-sync, but that's not quite the same
<d1rewolf> woops. never mine
cyraxjoe has quit [Quit: No Ping reply in 180 seconds.]
<haslersn> Or rather line 130
<sphalerite> d1rewolf: androidenv.platformTools
cyraxjoe has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
<d1rewolf> sphalerite: yep, found that in the wiki. thanks!
<d1rewolf> anyone had challenges getting their phones to show up via adb? i know usb debugging is already enabled.
jmeredith has joined #nixos
<sphalerite> d1rewolf: you need to make sure you have r/w access to the device as well
<sphalerite> d1rewolf: check lsusb to find its bus address and vendor/device id
<sphalerite> d1rewolf: for temporary access, you can do sudo setfacl -m u:username:rw /dev/bus/usb/00x/00y
<sphalerite> d1rewolf: for persistent access, add an appropriate udev rule
<d1rewolf> sphalerite: interestingly, lsusb doesn't show it
<d1rewolf> pixel 2 xl btw
<sphalerite> d1rewolf: huh, that's odd. does the journal say anything when you plug it in?
<d1rewolf> sphalerite: ^
<d1rewolf> sphalerite: actually, in that log output, the phone had reset itself for some reason and was booting up. this is what I get:
<sphalerite> d1rewolf: that pastebin doesn't seem to work without javascript and I'm on my chromebook which doesn't have a full-featured browser on it >_<
<d1rewolf> ah, k. wait.
<d1rewolf> sphalerite: try https://pastebin.com/7QgsJeyY
kiloreux has quit [Ping timeout: 272 seconds]
<sphalerite> d1rewolf: :/ no idea what to do about that…
mounty1 has joined #nixos
graphene has quit [Read error: Connection reset by peer]
brejoc has quit [Ping timeout: 240 seconds]
Thra11 has quit [Ping timeout: 252 seconds]
graphene has joined #nixos
kiloreux has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to staging « Fix comment location after #46704 »: https://git.io/fA1cz
<samueldr> hmm! with nix 2.0.4, got "unexpected $end, at /nix/store/[...]-env-manifest.nix:1:1" when removing the last channel (of root) `nix-channel --remove nixos`... which led me to believe it had failed as it will print the same error if done again.
cyraxjoe has quit [Read error: Connection timed out]
<samueldr> and won't for my user, funny
cyraxjoe has joined #nixos
<clever> samueldr: if you dont care about rollbacks when removing all channels, just nuke the /nix/var/nix/profiles/per-user/$USER/channels* symlinks
<clever> samueldr: it will then behave as if you have never done `nix-channel --update` before
EarlDeLaWarr has joined #nixos
<samueldr> hm, this made the error go away
<samueldr> (though it didn't bother me much as I don't use channels at all)
<clever> samueldr: its also plausible that the manifest.nix was corrupt somehow
<samueldr> I was mainly wondering whether I did something wrong, or something was overlooked
<samueldr> (the file was empty)
<clever> i dont think its supposed to be empty
<samueldr> even without channels?
<clever> what does `nix-store --verify --check-contents` report?
<clever> the manifest.nix is part of how nix-env manages -i and -e, and i dont think its valid to be empty
<samueldr> :/
kisik21 has quit [Ping timeout: 252 seconds]
<clever> what does `nix-store --verify --check-contents` report?
<samueldr> weird thing is I was able to nix-env -q and -e right for root
<samueldr> (running)
<samueldr> it's a rpi3, so it may take a while
<clever> ah
<samueldr> though I'm confident it's not because of aarch64, just a fun coincidence
<samueldr> path '/nix/store/r40gyka18jawgaandmqsmn77k0v6ranb-env-manifest.nix' was modified! expected hash 'sha256:11lmcx7vcy6l4wv66i4zby5gp33sa1qizdglaaswsb199y8yjsif', got 'sha256:0ip26j2h11n1kgkz36rl4akv694yz65hr72q4kv4b3lxcbi65b3p'
<samueldr> yay, no issues with nix then
<sphalerite> lol nice
<clever> samueldr: if you have nuked the generation stuff, then you can just `nix-store --delete` that path
<samueldr> yeah
kreetx has joined #nixos
<clever> i believe ext4 values metadata over data
sbdchd has joined #nixos
<clever> and in the event of an improper shutdown, will just truncate files
<samueldr> at that point I'm fine, I just had to guide myself a bit into the right problem area
<clever> so the last generation was busted, and you would have had to use `nix-channel --rollback` to get to the previous manifest.nix and be able to update properly
<clever> or just nuke the entire profile from orbit :P
<samueldr> eh!, it was literally the only generation, fresh install to test 18.09
<simukis> how do I make nix (nixos-rebuild, nix run etc) be able to use more than a single core?
<samueldr> (and to test sd-card-less boot)
<clever> simukis: there are 2 options in nix.conf, max-jobs and build-cores
<clever> max-jobs and cores i mean
<clever> max-jobs is how many derivations it does in parallel, cores is how many cores make&friends will try to use
<simukis> I have those set to 16 and 0 correspondingly
Fare has quit [Ping timeout: 246 seconds]
<clever> then nix will try to do up to 16 derivations in parallel, and each one will try to use every core, resulting in it starting up to 16 times the number of cores worth of gcc's
<simukis> yeah, but it does not do that. Especially not inside the command invoked via nix run
<simukis> it seems like it is placed in some sort of cgroup that is limited to 1 core
<simukis> s/like/as if/
<clever> simukis: there is a bug that `nix run` will pin itself to a single core, and that then inherits to the shell it launches
<clever> that is entirely seperate from max-jobs and cores
<simukis> is this bug also applicable to nixos-rebuild, because I’m seeing the same behaviour with that as well
kreetx has quit [Ping timeout: 244 seconds]
<clever> it only effects nix run
jasongrossman has joined #nixos
__lawlesseel__ has joined #nixos
<simukis> clever: do you have the issue # for nix run problem?
<clever> not currently
lawlesseel has quit [Remote host closed the connection]
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
jluttine has quit [Ping timeout: 246 seconds]
<elvishjerricco> clever, simukis: The single-core thing has been fixed: https://github.com/NixOS/nix/issues/2418
<{^_^}> nix#2418 (by ElvishJerricco, 2 days ago, closed): No parallelism in `nix run` shells
<clever> ah, nice
<steveeJ> it takes forever to build the squashfs.img on my system :-D any way I can speed that up for testing purposes?
<steveeJ> (when building the live CD iso)
<clever> simukis: more cores? less data in the squashfs? maybe turn off compression?
<clever> steveeJ: ^^
graphene has quit [Remote host closed the connection]
<clever> steveeJ: dang, you can only choose between xz and gzip, and there is no uncompressed option
jluttine has joined #nixos
nikivi has quit [Quit: ZNC is awesome]
<samueldr> the iso building in my experience can really tax the CPU
nikivi has joined #nixos
<clever> -noDataCompression
graphene has joined #nixos
<clever> steveeJ: if you modify nixos/lib/make-squashfs.nix and add -noDataCompression, then it just wont compress things
xeji has quit [Quit: WeeChat 2.1]
<clever> that may speed up your testing
<steveeJ> fair enough, just have to set up building from a custom tree
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
jluttine has quit [Ping timeout: 244 seconds]
jluttine has joined #nixos
graphene has quit [Read error: Connection reset by peer]
graphene has joined #nixos
lorilan has quit [Remote host closed the connection]
camsbury has joined #nixos
<camsbury> ran nix-channel --update on macos, and now my nix-env has no derivations when using `nix-env -i` or `nix-env -qaP`
haslersn_ has joined #nixos
haslersn has quit [Ping timeout: 252 seconds]
ihar has quit [Quit: WeeChat 2.0]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> camsbury: is `nix-daemon` running as root?
jbaum98 has joined #nixos
<jbaum98> I'm having trouble with building the emacs package use-package with nixpkgs. the command nix-build '<nixpkgs>' -A emacsPackagesNg.use-package hangs
<jbaum98> is there a way i can see if that build is passing on hydra? I couldn't find it
Kelppo has joined #nixos
<sphalerite> jbaum98: works for me
<sphalerite> jbaum98: does it mention that it's going to build anything?
<jbaum98> sphalerite: yeah, it starts building and it hangs with
<sphalerite> jbaum98: you could try checking what process is running in the build (ps -ef --forest is handy for this) and see if it's doing anything with top/htop and/or strace
kreetx has joined #nixos
<jbaum98> sphalerite: I used ps and I saw this https://www.irccloud.com/pastebin/fsNVdcgN/
<jbaum98> sphaerlite: so I straced 5506 and it's showing nothing
<camsbury> clever: possibly, I just reinstalled
<camsbury> thanks though
simukis has quit [Quit: simukis]
<jbaum98> sphalerite: oh, but top says it's using a lot of cpu. it's doing makeinfo. does that make sense that it should take a while?
<sphalerite> jbaum98: that's certainly possible
<jbaum98> sphalerite: okay thanks for the help, i'll just be a little more patient
kreetx has quit [Ping timeout: 246 seconds]
<jbaum98> sphalerite: but it doesn't take a while for you?
graphene has quit [Remote host closed the connection]
thc202 has quit [Ping timeout: 252 seconds]
<sphalerite> jbaum98: nope, the whole thing takes 12 seconds
graphene has joined #nixos
<jbaum98> sphalerite: this has been going for 6 minutes now
ShadowNinja24 has joined #nixos
<ShadowNinja24> Ꭺllah is doinɡ
ShadowNinja24 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<sphalerite> jbaum98: that is odd. What does nix eval nixpkgs.lib.version say?
<jbaum98> sphalerite: "19.03pre151875.7c1b85cf6de"
<sphalerite> jbaum98: do you have any overlays or packageOverrides?
<jbaum98> sphalerite: nope
<jbaum98> sphalerite: oh wait it just finished
<jbaum98> sphalerite: so weird
<jbaum98> sphalerite: thanks for your help!
<sphalerite> weird indeed
fragamus has joined #nixos
fragamus has quit [Read error: Connection reset by peer]