gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || 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
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/f2ea885bedf (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
silver has joined #nixos
<bennofs> MP2E: have you tried mkdir /boot/kernels?
jtojnar_ has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
smallville7123 has joined #nixos
<{^_^}> [nixpkgs] @taku0 opened pull request #41607 → firefox, firefox-bin: 60.0.1 -> 60.0.2, firefox-esr: 52.8.0esr -> 52.8.1esr, 60.0.1esr -> 60.0.2esr [Critical security f… → https://git.io/vhE4F
jtojnar has joined #nixos
<matthewbauer> jtojnar: i had just been following the queued jobs for this evaluation & knew they were almost finihed
hph^ has quit [Ping timeout: 264 seconds]
raynold has joined #nixos
smallville7123 has quit [Client Quit]
jtojnar_ has quit [Ping timeout: 264 seconds]
jtojnar has quit [Read error: Connection reset by peer]
ihar has quit [Ping timeout: 264 seconds]
redfish64 has joined #nixos
goibhniu has quit [Ping timeout: 264 seconds]
hph^ has joined #nixos
<orivej> yay, it happened!
jperras has joined #nixos
sbdchd has joined #nixos
Lisanna has quit [Quit: Lisanna]
nh2 has quit [Quit: Leaving.]
silver_ has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
camsbury has quit [Ping timeout: 260 seconds]
ihar has joined #nixos
silver has quit [Ping timeout: 248 seconds]
Have-Quick has joined #nixos
cloud-maingo has quit [Quit: Connection closed for inactivity]
deepfire` has quit [Ping timeout: 240 seconds]
andreabedini has joined #nixos
kerrhau has quit [Ping timeout: 276 seconds]
sorixelle has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
silver_ has quit [Quit: rakede]
thc202 has quit [Ping timeout: 256 seconds]
ericsagn1 has joined #nixos
sorixelle has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « genimage: add gettext »: https://git.io/vhERh
<andreabedini> I am using nix on macos, what are the consequences of setting sandbox = true? will I lose the ability to use cache.nixos.org?
<taohansen> I have two let statements that both ouput to the same value (ec2). What is the result of these two statements? Does one overwrite the other, does it append to the other or does it fail?
bennofs has quit [Quit: WeeChat 2.0]
Have-Quick has quit [Quit: Have-Quick]
jperras has joined #nixos
hellrazo1 has joined #nixos
Rusty1_ has joined #nixos
olto has quit [Quit: ZNC - https://znc.in]
<{^_^}> [nixpkgs] @orivej opened pull request #41609 → nix: use curl with c-ares resolver → https://git.io/vhE05
hellrazor has quit [Ping timeout: 256 seconds]
olto has joined #nixos
markus1189 has joined #nixos
sk8forether has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « libbdplus: add gettext »: https://git.io/vhEEf
markus1199 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41190 → obs-linuxbrowser: init at 0.3.1 → https://git.io/vhOTj
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vhEEs
<gchristensen> andreabedini: I believe sandboxing doesn't work on mac
<gchristensen> taohansen: I don't understand, can you clarify?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41576 → xearth : init at 1.1 → https://git.io/vh0s9
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhEE4
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41568 → fcitx-table-extra: init at 0.3.8 → https://git.io/vh0Le
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/vhEEB
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41498 → docker-machine-kvm2: init at 0.27.0 → https://git.io/vhRqd
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhEE2
lord| has quit [Ping timeout: 256 seconds]
Have-Quick has joined #nixos
JasonGrossman has joined #nixos
shiver32 has joined #nixos
shiver32 has quit [Changing host]
shiver32 has joined #nixos
JasonGrossman has quit [Remote host closed the connection]
shiver32 has quit [Read error: Connection reset by peer]
<taohansen> gchristensen: Given two if statements that output to the same value what is the result?
shiver has quit [Read error: Connection reset by peer]
lord| has joined #nixos
shiver has joined #nixos
shiver has quit [Changing host]
shiver has joined #nixos
Have-Quick has quit [Client Quit]
<taohansen> Different if statements but same value they scope to
<gchristensen> I'm going to need to see code
JasonGrossman has joined #nixos
shiver has quit [Remote host closed the connection]
<gchristensen> that isn't valid Nix
shiver has joined #nixos
shiver has quit [Changing host]
shiver has joined #nixos
<taohansen> I didn't think so
<taohansen> What I really want is some way to append and extend existing attribute sets
<taohansen> In a non-mutable kind of way
<clever> taohansen: create a second nix file, and add it to the first using requires = [ ./secondfile.nix ];
<clever> nixops will then load and merge both
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<taohansen> Can the second file then make a value change to the first?
<clever> taohansen: if you use mkForce yes
camsbury has joined #nixos
<taohansen> That's ideal. Thank you both
abcrawf has quit [Ping timeout: 276 seconds]
abcrawf_ has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Have-Quick has joined #nixos
Supersonic112 is now known as Supersonic
lassulus_ has joined #nixos
sigmundv has quit [Ping timeout: 268 seconds]
sigmundv__ has quit [Ping timeout: 248 seconds]
oltoAltn has joined #nixos
olto has quit [Ping timeout: 240 seconds]
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nixos
Have-Quick has quit [Quit: Have-Quick]
seafood has quit [Quit: seafood]
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nixos
btbytes has joined #nixos
Have-Quick has joined #nixos
MP2E has quit [Remote host closed the connection]
Have-Quick has quit [Client Quit]
woodson_ has joined #nixos
<sorixelle> Trying to get mpd set up on my configuration, but nixos-rebuild runs out of memory. I think it's because the music folder I've set it to is quite large (~25GB). Is there a way to work around that?
lukec has quit [Ping timeout: 260 seconds]
<clever> sorixelle: quote the path, you have configured it to import your entire music collection every time you nixos-rebuild
<sorixelle> Yeah, I figured that was happening :P
<sorixelle> Didn't realise quoting would fix that though, thanks!
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41514 → unetbootin: 657 -> 661 → https://git.io/vhRWT
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhEz4
lanelet has quit [Ping timeout: 265 seconds]
lanelet has joined #nixos
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41006 → openbox: fix wrapping of openbox-xdg-autostart → https://git.io/vhkkC
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhEza
lukec has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41606 → Fix rWrapper on darwin → https://git.io/vhEZR
<{^_^}> [nixpkgs] @matthewbauer pushed 6 commits to master: https://git.io/vhEzy
Have-Quick has joined #nixos
andreabedini has joined #nixos
matthewbauer has quit [Ping timeout: 276 seconds]
btbytes has quit [Quit: Textual IRC Client: www.textualapp.com]
sir_guy_carleton has joined #nixos
sorixelle has quit [Ping timeout: 265 seconds]
sorixelle has joined #nixos
sbdchd has quit [Remote host closed the connection]
hph^ has quit [Ping timeout: 240 seconds]
Ridout has quit [Quit: Lost terminal]
blonkhart has quit [Quit: WeeChat 1.9.1]
freeman42x]NixOS has quit [Ping timeout: 248 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
softinio has quit [Quit: Connection closed for inactivity]
MP2E has joined #nixos
blankhart has quit [Ping timeout: 240 seconds]
jperras has quit [Quit: WeeChat 2.1]
sk8forether has quit [Quit: Connection closed for inactivity]
blankhart has joined #nixos
schoppenhauer has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @bbarker opened pull request #41610 → ats2: 0.3.9 -> 0.3.11 → https://git.io/vhEaH
schoppenhauer has joined #nixos
i0-dfn has quit [Ping timeout: 268 seconds]
i0-dfn has joined #nixos
nallar has joined #nixos
<{^_^}> [nixpkgs] @ookhoi opened pull request #41611 → intltool-debian-patch - fix "error: cannot download perl-5.22.patch f… → https://git.io/vhEVm
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/75601e10cb3 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
Ross has quit [Ping timeout: 265 seconds]
nallar is now known as Ross
sir_guy_carleton has joined #nixos
Fare has joined #nixos
blankhart has quit [Ping timeout: 264 seconds]
reinzelmann has joined #nixos
blankhart has joined #nixos
woodson_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @ookhoi opened pull request #41612 → 18.03-intltool-debian-patch - fix "error: cannot download perl-5.22.p… → https://git.io/vhEwO
seafood has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
reinzelmann has quit [Quit: Leaving]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
inquisitiv3 has joined #nixos
inquisitiv3 has quit [Client Quit]
mahalel_ has quit [Ping timeout: 264 seconds]
MercurialAlchemi has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #41614 → flent: wrap binaries with netperf/iperf/http-getter → https://git.io/vhEwH
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ddd400baee2 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
frank87 has quit [Remote host closed the connection]
lnikkila has joined #nixos
frank87 has joined #nixos
Guanin has quit [Ping timeout: 268 seconds]
mtncoder[m] has joined #nixos
Guanin has joined #nixos
<{^_^}> [nixpkgs] @eqyiel opened pull request #41615 → pkgs/qemu: tell qemu where to find smbd → https://git.io/vhEr0
blankhart has quit [Ping timeout: 256 seconds]
<v0id72[m]> hi, just wondering if someone could help. How do I change shell to zsh with nixos?
Fare has quit [Ping timeout: 264 seconds]
<LnL> users.users.foo.shell = pkgs.zsh;
<LnL> and you probably also want programs.zsh.enable = true;
<v0id72[m]> i have zsh already installed
<v0id72[m]> just need to change default shell
<v0id72[m]> since it does not sit in /bin makes it a little weirder to me at least
endforma1 has quit [Quit: WeeChat 1.9.1]
jwynn6 has joined #nixos
seafood has quit [Quit: seafood]
lanelet has quit [Quit: lanelet]
seafood has joined #nixos
v0id72[m] has left #nixos ["User left"]
hyper_ch2 has joined #nixos
Mateon3 has joined #nixos
Ariakenom has joined #nixos
Mateon1 has quit [Ping timeout: 276 seconds]
Mateon3 is now known as Mateon1
<leons> v0id72: You'll really want to enable it in programs.zsh for stuff like completion and init to work correctly. At least with fish, if you don't enable it there and set it as your root shell, there's a chance you won't be able to login anymore. No experience with zsh
Have-Quick has quit [Quit: Have-Quick]
seafood has quit [Quit: seafood]
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #41592 → [nixos-18.03] haskellPackages.http-link-header: disable tests → https://git.io/vh0XT
<{^_^}> [nixpkgs] @peti pushed 2 commits to staging-18.03: https://git.io/vhE6b
<{^_^}> [nixpkgs] @peterhoeg opened pull request #41617 → check-mssql-health: init at 2.6.4.14 → https://git.io/vhE6h
winem_ has joined #nixos
xy2_ has quit [Ping timeout: 264 seconds]
phdoerfler has joined #nixos
kendrick_ has joined #nixos
shikiryogy has joined #nixos
<kendrick_> Hi all, I'm currently trying to export a variable via zsh, but even after changing the `programs.zsh.interactiveShellInit` to export a variable, it returns nothing even if I try to echo it. Any ideas?
<shikiryogy> Hi guys, I don't quite get it, where exactly should I put this, and how to install it?: https://nixos.org/nixpkgs/manual/#ssec-generation-from-CPAN
phdoerfler has quit [Ping timeout: 256 seconds]
hotfuzz_ has joined #nixos
hotfuzz__ has joined #nixos
hotfuzz has quit [Ping timeout: 264 seconds]
hotfuzz__ has quit [Read error: Connection reset by peer]
hotfuzz_ has quit [Ping timeout: 248 seconds]
hotfuzz__ has joined #nixos
yawnCH has quit [Ping timeout: 260 seconds]
v0id72[m] has joined #nixos
<v0id72[m]> Hi am having an issue with mounting a HDD - wonder mount - OS detects and tries to open it in. But this is the error I get when looking in shell.
* v0id72[m] uploaded an image: Screen Shot 2018-06-06 at 11.39.20 PM.png (654KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/YOMfJvURhAmpTyLFNZlQFroD>
Ariakenom has quit [Quit: Leaving]
<sphalerite> v0id72[m]: you should stick around after asking questions, otherwise you'll miss half the answers
<sphalerite> about your zsh question earlier: it's perfectly normal for it not to show in /bin, nixos only has /bin as a compatibility hack because so many things rely specifically on /bin/sh
<sphalerite> but other than that /bin is not used
hotfuzz has joined #nixos
<v0id72[m]> yes I know that part from the docs that I have read
tzemanovic has quit []
hotfuzz__ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @fuzzy-id opened pull request #41618 → jenkins: 2.89.4 -> 2.107.3 → https://git.io/vhEi1
<sphalerite> the mounting is failing because exfat isn't supported. ExFAT is a nasty filesystem, because there are patents on it which make implementing it in linux illegal according to some interpretations of the laws in some jurisdictions, as far as I understand
<sphalerite> I don't know the details, but yeah.
hotfuzz_ has joined #nixos
<v0id72[m]> ok thanks very much for looking at it!
<sphalerite> If you don't care about potentially doing something illegal (if you want to be sure I'd suggest getting a lawyer to look at it) you can enable exfat support anyway, let me dig up how to do that…
<JasonGrossman> sphalerite: I had no idea about that.
<sphalerite> (or you could just format the disk with another filesystem)
zenojis has joined #nixos
hotfuzz has quit [Ping timeout: 240 seconds]
<v0id72[m]> I do not care about legality....
<Myrl-saki> JasonGrossman: Me neither. Wow.
<v0id72[m]> gonna install exfat
hph^ has joined #nixos
<zenojis> Hi, I am trying to package a ruby app that uses FFI, I can't figure out how to connect it to the libraries it needs. It uses xlib as a runtime dependency, when I try to install it and run on nixos it fails as soon as it tries to call any xlib functions. Does anyone have pointers?
<v0id72[m]> fuse that is
<JasonGrossman> We could really do with a LOT more tips such as that one on the wiki. I know, I should do it myself.
<sphalerite> v0id72[m]: boot.extraModulePackages = [ config.boot.kernelPackages.exfat ];
<JasonGrossman> sphalerite++
<sphalerite> that should do it I think
<{^_^}> sphalerite's karma got increased to 5
<v0id72[m]> just add that to the nix config file?
<sphalerite> yep and rebuild
<v0id72[m]> thanks
hellrazo1 has quit [Quit: WeeChat 2.1]
jasongro` has joined #nixos
<sphalerite> you may also need to reboot since it's kernel stuff
<v0id72[m]> btw if there is info that needs to be updated in the wiki that has been recorded . I would be up for updating the wiki if you need extra bandwidth
<JasonGrossman> v0id72[m]: Yes please, put this tip on now! What's stopping me is getting my head around the right page to put it on while I'm in the middle of 6 other things.
<v0id72[m]> sure! If there is any other info pm it to me :) Goes for anyone.
<JasonGrossman> v0id72[m]++
<{^_^}> v0id72[m]'s karma got increased to 1
hph^ has quit [Read error: Connection reset by peer]
hph^ has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/f5b0d6d8896 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @peterhoeg merged pull request #41617 → check-mssql-health: init at 2.6.4.14 → https://git.io/vhE6h
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/vhEPB
<v0id72[m]> during rebuild I received "attribute 'exfat' missing
<Myrl-saki> myrl@myrl:~$ nix-shell -p linuxPackages.exfat-nofuse i
<sphalerite> oh yeah, exfat-nofuse, whoops
<Myrl-saki> Or nix-shell -p exfat
<Myrl-saki> But I haven't tried either personally.
<Myrl-saki> sphalerite: I'm curious. Is the NTFS FUSE also legally gray?
<sphalerite> idk
<Myrl-saki> Oh. :P
<v0id72[m]> thanks for the Help - exfat drive up and going!
<v0id72[m]> updating wiki page now
<v0id72[m]> wait... can i get linked to the wiki ?
reinzelmann has joined #nixos
Ariakenom has joined #nixos
<sphalerite> https://nixos.wiki
<v0id72[m]> ty
Lisanna has joined #nixos
hotfuzz_ has quit [Ping timeout: 264 seconds]
hotfuzz has joined #nixos
vaninwagen has joined #nixos
orivej has joined #nixos
ZaraChimera has joined #nixos
hotfuzz_ has joined #nixos
sorixelle has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
hotfuzz has quit [Ping timeout: 264 seconds]
jensens has joined #nixos
jackdk has quit [Ping timeout: 264 seconds]
sorixelle has joined #nixos
ThatDocsLady has joined #nixos
jtojnar has joined #nixos
<andreabedini> this failed job https://hydra.nixos.org/build/75439205/nixlog/1 ends with "packet_write_wait: Connection to 213.125.166.74 port 6005: Broken pipe"
<andreabedini> and looks like hydra never re-tried the job ever since https://hydra.nixos.org/build/75439205
<andreabedini> is that something that happens?
edude03 has joined #nixos
<andreabedini> is there a way to "kick" a new build
lsix has joined #nixos
<steveeJ> is there a helper function that allows me to not care about the sha256 of a git branch? (sry in case of double message, had a connection drop and am not sure if it went t
<steveeJ> hrough)
<{^_^}> [nixpkgs] @7c6f434c merged pull request #41605 → unifont: 10.0.06 -> 11.0.01 → https://git.io/vhEYx
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vhEM0
<v0id72[m]> wiki updated
<v0id72[m]> put it here
* v0id72[m] sent a long message: v0id72[m]_2018-06-07_07:50:46.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/VwUzoheYXhLXyeAdNsTuIGSM>
lonokhov has joined #nixos
lnikkila has quit [Ping timeout: 276 seconds]
humanoyd has joined #nixos
<JasonGrossman> v0id72[m]: Thank you!
<JasonGrossman> v0id72[m]++
<{^_^}> v0id72[m]'s karma got increased to 2
<v0id72[m]> np. i will read through info on the wiki that is outstanding and try to complete some things. Send anything in the mean time.
<JasonGrossman> \o/
<JasonGrossman> IMO that is a HUGE contribution.
<v0id72[m]> is there a way I can get mod on /r/NixOS?
<v0id72[m]> can make some changes there as well if wanted.
<JasonGrossman> I doubt that that's possible without asking the two Reddit moderators ...
<JasonGrossman> u/TheSilentNumber and u/kxra
<v0id72[m]> just thought it needed help as well - since the banner is a leaf still :(
xy2_ has joined #nixos
MP2E has quit [Remote host closed the connection]
Guanin has quit [Quit: Leaving]
<Plato[m]> Inside my nix-shell for an OpenGL app I'm writing, I'm getting "libGL.so.1: cannot open shared object file".
<Plato[m]> Am I missing something?
<Plato[m]> LD_LIBRARY_PATH contains /run/opengl-driver, which doesn't actually contain a libGL. It does, however, contain vdpau and nouveau stuff, although I'm using my Intel GPU.
<M-manveru> Plato[m]: maybe you're using a different version of glibc than the rest of the system?
Neo-- has joined #nixos
<Plato[m]> M-manveru: How would I check?
<JasonGrossman> v0id72[m]: Right, good. Try messaging those two moderators. If they don't reply then I don't know what to do - I have the same problem on another subreddit. :-(
<M-manveru> Plato[m]: well, make sure you're using the same nixpkgs checkout for your shell.nix as for your OS
<M-manveru> at least that's my experience
<Plato[m]> Oh, okay, that could be it. I pinned the app on a different version.
<v0id72[m]> @JasonGrossman sounds good
tzemanovic has joined #nixos
sorixelle has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
sorixelle has joined #nixos
hotfuzz has joined #nixos
sorixelle has quit [Client Quit]
hotfuzz_ has quit [Ping timeout: 260 seconds]
thc202 has joined #nixos
sorixelle has joined #nixos
justbeingglad has joined #nixos
xy2_ has quit [Ping timeout: 240 seconds]
justbeingglad has left #nixos [#nixos]
<Plato[m]> No, unpinning the packages doesn't seem to work. Also, shouldn't there be a libGL in my /run/opengl-driver/lib directory?
justbeingglad has joined #nixos
justbeingglad has quit [Client Quit]
cfricke has joined #nixos
<srhb> Plato[m]: Are you on nixos unstable? If so, that is no longer a thing.
<Plato[m]> I am. It's not?
<{^_^}> [nixpkgs] @orivej opened pull request #41619 → nix: use curl with blocking resolver → https://git.io/vhESw
<Plato[m]> What changed?
<srhb> Plato[m]: libglvnd happened. You should now depend directly on libGL
<{^_^}> [nixpkgs] @orivej closed pull request #41609 → nix: use curl with c-ares resolver → https://git.io/vhE05
<Plato[m]> srhb: Ah, thanks for pointing me to that. So my application uses pysdl2, which uses sdl2, which tries to load libGL. How do I update my application's nix derivation?
<Plato[m]> What I found works is setting SDL_OPENGL_PATH to pkgs.libGL/lib/libGL.so.1.
<Plato[m]> I could package this into a wrapper script. Is this supposed to be done like that?
<srhb> Plato[m]: If you can't link directly, I suppose that is the way to go.
<srhb> I would have liked to see a guide on how to adjust to these changes. I wonder if there is one in the release notes...
<Plato[m]> I looked at SDL2's source code. Apparently, it tries dlopen with either libGL.so.1 (hard coded, no path prefix) or whatever is inside SDL_OPENGL_PATH.
<Plato[m]> Strange though that I don't find any special treatment in nixpkgs for sdl2 applications. I assume I'm doing something wrong then.
<Plato[m]> Might this be worth opening an issue in nixpkgs?
<{^_^}> [nixpkgs] @dotlambda merged pull request #41453 → python36Packages.cython: Disable tests on aarch64 → https://git.io/vh8zL
<{^_^}> [nixpkgs] @dotlambda pushed commit from @etu to master « python36Packages.cython: Disable the "test_coerce_to_numpy" test on aarch64 (#41453) »: https://git.io/vhE92
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
hph^ has quit [Ping timeout: 256 seconds]
lnikkila has joined #nixos
<srhb> Plato[m]: At least for discussion, sure. If it could be done cleaner directly in sdl2 that would be nice.
kendrick_ has quit [Remote host closed the connection]
justbeingglad has joined #nixos
<Plato[m]> Indeed. I'd have thought nixpkgs would patch the source so it looks for a _specific_ libGL.so.
<Plato[m]> Seems like the usual approach.
<srhb> Plato[m]: I don't know the intricacies of sdl2, but yes, that was my thought too.
justbeingglad has quit [Quit: Leaving.]
<Plato[m]> Okay, let's see what people say.
<{^_^}> [nixpkgs] @dotlambda merged pull request #41572 → cutemaze: 1.2.2 -> 1.2.3 → https://git.io/vh0mP
<Plato[m]> srhb: Thanks for the guidance so far. :)
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « cutemaze: 1.2.2 -> 1.2.3 (#41572) »: https://git.io/vhEHS
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dotlambda merged pull request #41558 → pythonPackages.autograd: init at 1.2 → https://git.io/vhRxH
<{^_^}> [nixpkgs] @dotlambda pushed commit from @jluttine to master « pythonPackages.autograd: init at 1.2 (#41558) »: https://git.io/vhEHh
sorixelle has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
humanoyd has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @orivej opened pull request #41621 → dwarf-therapist: fix build → https://git.io/vhEQw
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Ping timeout: 245 seconds]
logzet has joined #nixos
sorixelle has joined #nixos
justbeingglad has joined #nixos
sorixelle has quit [Client Quit]
mariel__ has joined #nixos
sorixelle has joined #nixos
ThatDocsLady_ has quit [Ping timeout: 240 seconds]
phdoerfler has joined #nixos
edude03 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justbeingglad has left #nixos [#nixos]
sorixelle has quit [Client Quit]
mariel__ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #41259 → python.pkgs.tensorflow: wheel version → https://git.io/vhGvB
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to master: https://git.io/vhEd0
mariel__ has joined #nixos
sorixelle has joined #nixos
sigmundv has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
reinzelmann has quit [Quit: Leaving]
reinzelmann has joined #nixos
peacememories has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.envs: 1.2.4 -> 1.2.6 »: https://git.io/vhEby
deepfire` has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #41621 → dwarf-therapist: fix build → https://git.io/vhEQw
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/vhENe
spear2 has quit [Remote host closed the connection]
spear2 has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
JasonGrossman has quit [Remote host closed the connection]
Synthetica has joined #nixos
JasonGrossman has joined #nixos
sorixelle has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
sorixelle has joined #nixos
simukis has joined #nixos
__monty__ has joined #nixos
peacememories has quit [Quit: Textual IRC Client: www.textualapp.com]
nico202 has joined #nixos
samtoday has joined #nixos
<pie_> how do i fix it again if my nix-shell -p prompt looks like this in tmux? "\[\][nix-shell:/mnt/data/prolog]$\[\]"
<pie_> (and tabbing is broken(
<{^_^}> [nixpkgs] @jfrankenau opened pull request #41623 → cura: 3.2.1 -> 3.3.1 → https://git.io/vhExm
phdoerfler has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @sondr3 opened pull request #41624 → Jetbrains CLion: 2018.1.2 -> 2018.1.3 → https://git.io/vhExK
Wharncliffe has joined #nixos
<__monty__> hodapp: Was going to report the issue we talked about yesterday, turns out shake still works like make, it's just not documented anywhere. I was just missing the extension because I followed a blog post: https://github.com/ndmitchell/shake/issues/582
justbeingglad has joined #nixos
tmaekawa has joined #nixos
xy2_ has joined #nixos
justbeingglad has left #nixos [#nixos]
orivej has quit [Ping timeout: 260 seconds]
simukis has quit [Read error: Connection reset by peer]
tmaekawa has quit [Client Quit]
hph^ has joined #nixos
saschaveres[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days"]
jamshoot[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days"]
Acou_Bass has quit [Ping timeout: 248 seconds]
PlasmaStrike[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
Acou_Bass has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
jelewaus[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
spear2 has quit [Ping timeout: 265 seconds]
grahamc has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
sorixelle has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ericsagn1 has quit [Ping timeout: 256 seconds]
sorixelle has joined #nixos
dylanjust[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
Elorm[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days"]
demonslayer[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days"]
<{^_^}> [nixpkgs] @etu opened pull request #41625 → phpPackages.phpc(s|bf): 3.2.3 -> 3.3.0 → https://git.io/vhEjm
windy328ghoee[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days"]
orivej has joined #nixos
johnhamelink[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
Deleh[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days"]
<robstr> when unix nix with `buildPythonApplication` nix will run my unittest's, is it possible to add pylint too ?
peterbat[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
Vincenzo[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
kureta[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
chedi[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktopPackages.preview: 1.3.1 -> 1.3.3 »: https://git.io/vhue5
fogbugz2345[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
templis[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
swayf[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
Izorkin has quit [Read error: Connection reset by peer]
Izorkin has joined #nixos
gnihton[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @karolchmist opened pull request #41626 → dotty: 0.6.0-RC1 -> 0.8.0-RC1 → https://git.io/vhuvz
silver has joined #nixos
orivej has joined #nixos
danielrf has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
octowan[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days"]
balsoft[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
<gchristensen> robstr: checkInputs = [ pylint ] or something like that
<gchristensen> oh ... hrm I don't know, you might have to add pylint to your test phase
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #41627 → [WIP] make-derivation: default name if pname and version are both set → https://git.io/vhufk
Barnabas[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
orivej has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jyp opened pull request #41628 → Tensorflow deps fix → https://git.io/vhufM
sorixelle has quit [Ping timeout: 255 seconds]
sorixelle has joined #nixos
rardiol[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
<sorixelle> I have a derivation that's copying things to $out/share, but it doesn't appear in the profile, which is strange, because the same derivation copies stuff to $out/bin, and that appears in the profile
<sorixelle> Am I missing something?
hotfuzz_ has joined #nixos
ericsagn1 has joined #nixos
hotfuzz has quit [Ping timeout: 264 seconds]
wizek[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
trevorriles[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days"]
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #41629 → gitea: 1.4.1 -> 1.4.2 → https://git.io/vhuUM
Wharncliffe has quit [Quit: Lost terminal]
xodbox[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days"]
ericsagn1 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @etu closed pull request #41629 → gitea: 1.4.1 -> 1.4.2 → https://git.io/vhuUM
fogbugz123[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
Fedor[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
cfricke has quit [Ping timeout: 256 seconds]
<tilpner> sorixelle - Your environment.pathsToLink does not include /share
<tilpner> Check with nixos-option environment.pathsToLink
dmitry-zen[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
neecro[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
telent_[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
itorres has left #nixos ["Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days"]
wolfereign[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
<gchristensen> well sorixelle are eyou using nixos-rebuild or nix-env to install it
<tilpner> (What's the standalone Nix alternative to pathsToLink?)
<gchristensen> (I dunno :$ I don't use nix-env)
__Sander__ has joined #nixos
ericsagn1 has joined #nixos
iyzsong has joined #nixos
<sorixelle> tilpner: Yeah, it's got the folders in /share, but not share itself. gchristensen: nixos-rebuild
<{^_^}> [nixpkgs] @dtzWill opened pull request #41630 → aws-sdk-cpp: 1.4.50 -> 1.4.60 → https://git.io/vhuIq
jensens has quit [Ping timeout: 264 seconds]
xy2_ has quit [Ping timeout: 276 seconds]
<sorixelle> Yeah, fixing up that one did the trick, thanks :)
<sorixelle> also, sorry i've been asking nothing but quick questions here, heh
<gchristensen> quick questions are nice sometimes :P
<sorixelle> still getting used to nix's really unique ways :P Absolutely loving it though, it's a really awesome idea
<Synthetica> Yeah, it's quite different from other package managements systems
<gchristensen> :D
<Synthetica> Not that that's a bad thing :P
<{^_^}> [nixpkgs] @joachifm pushed to master « Revert "Merge pull request #38263 from lopsided98/grub-initrd-secrets" »: https://git.io/vhuIS
nh2 has joined #nixos
<sorixelle> I'm trying to set everything up so that I can just keep a backup of one folder and have an almost exact replica of my system bar user directory files
<tfc[m]> hey there. i have a `default.nix` file that is ready to be used with `nix-shell` in my haskell project. now i would like to enter the `nix-shell` with one *additional* dependency: ghcid. when i write `nix-shell -p haskellPackages.ghcid` then this ONLY installs ghcid and seems to ignore my default.nix
<tfc[m]> is there a way to get more packages into the nix shell without tampering with the defaultnix file?
hph^ has quit [Ping timeout: 276 seconds]
<srhb> tfc[m]: I think most people either let ghcid in impurely by having it in their environment or wrap the default.nix in development nix file of some sort that brings it in
<tfc[m]> ok if there is no way to do this without impurely installing before, i would accept editing my default.nix for the shell-case. but then i currently don't understand how to inject this additional dependency into my cabal2nix generated default.nix. are there maybe any examples where this is done similarly?
edude03 has joined #nixos
aminechikhaoui has quit [Ping timeout: 240 seconds]
aminechikhaoui has joined #nixos
kreisys has joined #nixos
steell has joined #nixos
<srhb> tfc[m]: The shellFor function is really nifty for this
<tfc[m]> srhb: ok i have grepped through nixpkgs and found the definition of the function. but i don't understand how to integrate it into my default nix where it says `if pkgs.lib.inNixShell then drv.env else drv`. would i substitute my `drv.env` by a `shellFor { some overrides .... and drv.env }` call somehow?
<srhb> tfc[m]: Ah, no, I wouldn't integrate it but instead have a shell.nix that uses your default.nix as a shellFor buildinput
<srhb> Or something similar to that :)
sbdchd has joined #nixos
<tfc[m]> so if i add a `shell.nix` with `(import ./.).shellFor { packages = p: [ p.haskellPackages.ghcid ]; }`, it will use that instead of my default.nix?
<srhb> tfc[m]: No, not quite. I think that'd give you the source of ghcid. I meant for you to use shellFor for your own package and ghcid via normal inputs to the shell derivation. Sorry, I don't have time to write up an example right now.
sbdchd has quit [Remote host closed the connection]
<srhb> (Er, the dependencies of ghcid, not the source)
sbdchd has joined #nixos
<tfc[m]> srhb: this does however not work as the comment says because it can't find the shellFor attribute in the import ./. {} set...
<srhb> Yeah, its pkgs.haskellPackages.shellFor depending on how you get pkgs of course
<tfc[m]> ok, when i use that, how do i feed what my default.nix says into that?
hph^ has joined #nixos
<srhb> tfc[m]: I can help out later, gotta dash now. :)
<tfc[m]> ok. sorry if those questions appear stupid, but i have the source code of this function in front of me and feel lost despite that
<srhb> tfc[m]: Not stupid at all. The point of it is just to get the dependencies for your package, not ghcid itself, which may seem sort of misleading at this point. I'll poke you when I'm back.
<tfc[m]> cool thx srhb
<{^_^}> [nixpkgs] @dotlambda merged pull request #41581 → pythonPackages.h5py: 2.7.1 -> 2.8.0 → https://git.io/vh0ny
<{^_^}> [nixpkgs] @dotlambda pushed commit from @jluttine to master « pythonPackages.h5py: 2.7.1 -> 2.8.0 (#41581) »: https://git.io/vhume
<{^_^}> [nixpkgs] @sifmelcara opened pull request #41631 → solc: 0.4.23 -> 0.4.24 → https://git.io/vhumI
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
Neo--- has joined #nixos
<__monty__> Looking for someone who's a terminfo/termcap/"different thing I'm probably actually looking for" expert.
<manveru> __monty__: i wrote a terminal once... does that count? :)
Neo-- has quit [Ping timeout: 245 seconds]
Neo-- has joined #nixos
<__monty__> manveru: How can I find out what terminal a program (in this case python) is actually running in? $TERM often contains 'xterm-256color' which isn't helpful.
edude03 has quit [Read error: Connection reset by peer]
<manveru> hmm, what exactly do you want to do? find out the terminal capabilities?
<__monty__> manveru: What I really want is "execute this command in a new window of the same terminal emulator I'm currently running in."
jensens has joined #nixos
xy2_ has joined #nixos
<manveru> that sounds fun
Neo--- has quit [Ping timeout: 245 seconds]
<__monty__> Fun as in it's all edge-cases and not even always possible?
<manveru> pretty much
<manveru> the usual approach is more like this: https://github.com/DaveDavenport/i3/blob/master/i3-sensible-terminal
<manveru> on nixos you might have a better chance checking $TERMINFO
<manveru> but not all terms set that either
logzet has quit [Remote host closed the connection]
MercurialAlchemi has quit [Ping timeout: 240 seconds]
gmarmstrong has joined #nixos
Neo--- has joined #nixos
<gmarmstrong> Has anyone else had this experience with Bluetooth audio? https://www.reddit.com/r/NixOS/comments/8o4y3v/has_anyone_been_able_to_connect_to_a_pair_of_bose/e00qs05/
<{^_^}> [nixops] @AmineChikhaoui pushed to master « GCE: persist whether the instance is preemtible or not »: https://git.io/vhuYH
<gmarmstrong> wilfmeister and I both need to reload pulseaudio before connecting to bluetooth audio devices
<manveru> __monty__: i think in theory you could do it via X... but that won't work in wayland
Neo-- has quit [Ping timeout: 264 seconds]
<manveru> __monty__: something like `cat /proc/$(xdotool getwindowpid $(xdotool getactivewindow))/cmdline`
<manveru> of course, if you use urxvt(d|c), that won't work either, but you can have a special case for that
Neo---- has joined #nixos
<manveru> gmarmstrong: i'm using bose qc 35
blankhart has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #41542 → logcheck: 1.3.18 -> 1.3.19 → https://git.io/vhRy8
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vhuOG
phry has quit [Quit: WeeChat 2.0]
<__monty__> manveru: I'll work with a mix of checking TERM, TERMINFO and prioritising rarer terminals.
Neo--- has quit [Ping timeout: 260 seconds]
<__monty__> Thanks for the advice.
Neo-- has joined #nixos
Fare has joined #nixos
<sorixelle> If an application is spitting stuff about "No GSettings schemas installed on this system", adding wrapGAppsHook should fix it, right?
<manveru> gmarmstrong: don't have any issues with the connection via a2dp and pulseaudio... i have `hardware.bluetooth.enable = true;` in configuration.nix and `services.blueman-applet.enable = true;` in my home-manager config
<clever> manveru, gmarmstrong: did you change the pulseaudio package?
<manveru> also `hardware = {pulseaudio.enable = true; pulseaudio.package = pkgs.pulseaudioFull; pulseaudio.support32Bit = true; }`
<gmarmstrong> clever: yes, I'm using pulseaudioFull...
<clever> yeah, that
<clever> gmarmstrong: also check pavucontrol
<manveru> also added myself to pulseaudio and audio groups
<clever> the groups shouldnt matter
<clever> uid=1000(clever) gid=100(users) groups=100(users),1(wheel),72(vboxusers),131(docker),500(wireshark)
<clever> i'm in these groups and pulseaudio works just fine
<gmarmstrong> I'll try support32Bit
Neo---- has quit [Ping timeout: 256 seconds]
<manveru> the 32bit thing is for steam i think
<manveru> don't think it influences anything else
<sorixelle> WIne too, iirc
<manveru> ah, yeah, i don't use wine anyway :)
<gmarmstrong> yeah, that wouldn't really change with restarting pulseaudio anyways.
<manveru> true
blankhart has quit [Ping timeout: 240 seconds]
<manveru> what do your pulseaudio/bluetoothd logs say?
phry has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 8 commits to master: https://git.io/vhuOh
<gmarmstrong> manveru: Oh, looks like they're complaining!
<gmarmstrong> Jun 07 09:09:00 nixos pulseaudio[6640]: E: [pulseaudio] bluez4-util.c: org.bluez.Manager.GetProperties() failed: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.bluez.Manager" doesn't exist
<gmarmstrong> I think I need to follow the "System-Wide PulseAudio instructions" and change my default.pa config
<clever> gmarmstrong: ive gotten it working without using a system-side PA
Neo--- has joined #nixos
andreabedini has joined #nixos
<gmarmstrong> clever: even with hardware.pulseaudio.enable = true?
<manveru> wonder why it needs org.bluez.Manager, i only have org.bluez.obex
nh2 has quit [Quit: Leaving.]
<clever> gmarmstrong: hardware.pulseaudio.enable enables normal users to auto-start a local PA daemon
<gmarmstrong> Oh, interesting
<clever> the pulseaudio client library that applications load, will check for a config file in /etc
<clever> and that config file directs them towards running the pulseaudio.package you configured, with the config you set
Neo-- has quit [Ping timeout: 245 seconds]
steell has quit [Ping timeout: 265 seconds]
phry has quit [Quit: WeeChat 2.1]
<sorixelle> If an application is spitting stuff about "No GSettings schemas installed on this system", adding wrapGAppsHook should fix it, right?
phry has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has joined #nixos
johanot has joined #nixos
<symphorien> yes probably
<sorixelle> strange, because it doesn't seem to :/
<sorixelle> you put it in nativeBuildInputs, right?
<symphorien> yes
<symphorien> you also need to put what provides the necessary schemas in the buildInputs
<sorixelle> strace is telling me it's looking for <profile_root>/share/glib-2.0/schemas/gschemas.compiled
<sorixelle> which don't seem to exist on my system
lanelet has joined #nixos
npmccallum has joined #nixos
gmarmstrong has quit [Remote host closed the connection]
npmccallum_ has joined #nixos
<symphorien> hum according to nix-locate that should be in /share/gsettings-schemas/foo-3.12.2/glib-2.0/schemas/gschemas.compiled
woodson has joined #nixos
<symphorien> not directly /sshare/glib-2.0/...
npmccallum has quit [Ping timeout: 248 seconds]
andreabedini has joined #nixos
norfumpit has joined #nixos
<Izorkin> How to need to merge this PR - https://github.com/NixOS/nixpkgs/pull/40686
freeman42x]NixOS has joined #nixos
matthewbauer has joined #nixos
knupfer has quit [Ping timeout: 268 seconds]
asuryawanshi has quit [Ping timeout: 248 seconds]
steell has joined #nixos
szicari has joined #nixos
<rnhmjoj[m]> is anyone here using gogs on nixos?
alexteves_ has joined #nixos
dbmikus has joined #nixos
inquisitiv3 has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41611 → intltool-debian-patch - fix "error: cannot download perl-5.22.patch f… → https://git.io/vhEVm
jperras has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhucT
<inquisitiv3> Is it a channels alias that determines whether it's the primary channel or another channel?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41612 → 18.03-intltool-debian-patch - fix "error: cannot download perl-5.22.p… → https://git.io/vhEwO
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to release-18.03: https://git.io/vhucZ
<{^_^}> [nixpkgs] @voanhduy1512 opened pull request #41632 → leetcode-cli: init at 2.5.2 → https://git.io/vhucE
<tilpner> inquisitiv3 - Yes, most things use <nixpkgs> by default
blankhart has joined #nixos
<tilpner> inquisitiv3 - So if you add a channel as <nixpkgs-unstable>, it won't be used by default
<inquisitiv3> tilpner: Thanks!
jtojnar has quit [Quit: jtojnar]
<tilpner> inquisitiv3 - Note that the "alias" doesn't have to be set via nix-channel. NIX_PATH is the actual source of truth
jtojnar has joined #nixos
<inquisitiv3> I'll remember that.
<inquisitiv3> Is there a configuration file for user specific configurations also, or is it just for the system wide one?
<tilpner> Not by default, and not in the same way
<tilpner> But if you trust your users, you could import a module from their home
<inquisitiv3> Is there a reason why it isn't so?
<tilpner> More likely, you're looking for something like home-manager, which doesn't require root to do anything
<tilpner> inquisitiv3 - It would be insecure to allow users to alter global configuration like that
<inquisitiv3> tilpner: I seen the application mentioned, but my knowledge of Nix wasn't enough to understand its purpose fully.
simukis has joined #nixos
<inquisitiv3> tilpner: Oh, I meant that users add their own file that they could use to configure their system and not having to execute commands.
<tilpner> I don't see how that could work. Just rebuild the system every time the file changed, or what are you proposing here?
erasmas has joined #nixos
steell has quit [Ping timeout: 256 seconds]
thekolb has joined #nixos
jtojnar has quit [Quit: jtojnar]
<thekolb> So I am doing my first nixos install and the partitioning instructions (https://nixos.org/nixos/manual/index.html#sec-installation) don’t really line up. My bios mentions the term UEFI a bunch of times so I figured go with the UEFI instructions. fdisk type 1 is FAT12 and not 'UEFI System' though...?
<inquisitiv3> tilpner: Instead of a user having to execute commands manually for customizing their environment, they could have their own file that they could write with their customization.
<gchristensen> FAT12? or FAT16 should probably work
<thekolb> right there is ef for EFI which ends up being fat12
Neo--- has quit [Remote host closed the connection]
<gchristensen> hmm when using fdisk I always make the disk of partition type `ef`
Neo--- has joined #nixos
<ar> ef00 fat32 tends to work
<ar> at least, i haven't yet hit a piece of hardware that doesn't
<thekolb> should I have went with logical as opposed to primary? I have a feeling that the ordering didn’t really go as planned. (sda1 is now boot even though its partition #33)
<thekolb> #3*
<gchristensen> I think primary is good
<gchristensen> weird
<thekolb> weird that my partitions are ordered reverse to what is illustrated in the installer though...
<gchristensen> that is very strange
<gchristensen> thekolb: just to be cautious you may want to reboot before continuing, just to make sure everything seems right
jensens has quit [Ping timeout: 245 seconds]
<thekolb> what is the expert mode / fix up partition ordering about?
<thekolb> never did that before
<gchristensen> no idea
<gchristensen> never did that before, either ;)
logzet has joined #nixos
<thekolb> right, that’s what screwed up the ordering apparently
<{^_^}> [nixpkgs] @volth opened pull request #41633 → python36Packages.cython: Disable tests on i686 → https://git.io/vhu4R
<gchristensen> hrmm we might want to delete that from the manual!
<gchristensen> I never saw it, because I've always ignored those level of specifics ... can you open an issue for me, thekolbV
<thekolb> don’t know, usually I do put my boot/swap partitions first
fendor has quit [Remote host closed the connection]
<thekolb> but its weird wrt the instructions that they first are very specific about the ordering and then throw it away^^
<gchristensen> yeah indeed
<andreabedini> gchristensen: hi :)
<JasonGrossman> Right. And surely it doesn't matter what order partitions are in except for a BIOS partition, does it?
<gchristensen> hi
<andreabedini> gchristensen: I notice that nixpkgs/pkgs/os-specific/darwin/apple-source-releases/default.nix is a bit outdated and doesn't include newer versions of macos
<andreabedini> is that a bit deal? should I try to update it?
<gchristensen> I'm definitely not the person to ask about that :P
<tilpner> inquisitiv3 - I think we're having a misunderstanding. What commands are you talking about? I'm talking about nixos-rebuild, but I suspect you're talking about nix-env
<gchristensen> andreabedini: try in #nix-darwin
<andreabedini> you surely know more that I do :P
<andreabedini> oh TIL
<andreabedini> cheers
<LnL> andreabedini: we still support 10.10 and apple still hasn't released the sources of CoreFoundation so we can't just upgrade the sdk
aarvar has quit [Quit: Leaving.]
<andreabedini> I see
<andreabedini> CF-1443.13 (coming soon!) ... indeed
sk8forether has joined #nixos
<andreabedini> sorry if it's a stupid question, so the build environment is built from scratch using the source packages provided by apple? rather than from an installed mac?
<andreabedini> LnL: ^
<LnL> you need the headers from somewhere, otherwise you can't build other stuff
<andreabedini> they are not distributed with the mac sdk?
<andreabedini> well, they are, I got /System/Library/Frameworks/CoreFoundation.framework/Headers
<{^_^}> [nixpkgs] @kamilchm opened pull request #41634 → ponyc: 0.22.5 -> 0.22.6 → https://git.io/vhuRm
<LnL> no, ls: /System/Library/Frameworks/CoreFoundation.framework/Headers: No such file or directory
<inquisitiv3> tilpner: That's correct. I read the following article and it states that "[...] NixOS users can utilize Nix's imperative nix-env command to install packages at the user level [...]"
<LnL> those are part of xcode
<tilpner> inquisitiv3 - Yes, there's a way to use nix-env declaratively
<andreabedini> LnL: one difference is that they don't have the opensource licence :-/
<inquisitiv3> tilpner: 👍
<inquisitiv3> Thanks!
<tilpner> inquisitiv3 - That doesn't render here, what did you send?
* tilpner is away
<LnL> andreabedini: exactly, xcode requires you to accept a eula. and it's global so system/xcode upgrades would break stuff
<LnL> andreabedini: we used to depend on it similar to homebrew, but the darwin stdenv is pure now and doesn't depend on anything like that
<inquisitiv3> tilpner: Thumps up :)
<LnL> andreabedini: we use the opensource components from opensource.apple.com and bootstrap a build environment with clang, etc. using that
<LnL> andreabedini: this means building something on 10.10 or 10.13 is 99% the same
<andreabedini> > Our goal is for the API in this project to match the OS-provided Foundation and abstract away the exact underlying platform as much as possible
<{^_^}> error: syntax error, unexpected IN, expecting ')', at (string):43:25
<andreabedini> so the headers should be compatible
shikiryogy has quit [Quit: Leaving]
Neo--- has quit [Remote host closed the connection]
<LnL> yeah, that might be an option. I should give that another shot
johanot has quit [Quit: Leaving.]
Neo--- has joined #nixos
<thekolb> gchristensen: where should that issue go? nixpkgs, nixos-homepage?
<gchristensen> nixpkgs
<gchristensen> because the issue is with docs contained within nixpkgs
<{^_^}> [nixpkgs] @matthewbauer pushed to master « darwin.libiconv: use static library »: https://git.io/vhuEj
<andreabedini> LnL: there are minor differences but most of the headers are identical to the ones I have (10.13.5)
humanoyd has joined #nixos
<thekolb> Ok so nixos-install fails with "File system "/boot" is not on a GPT partition table."
<andreabedini> "Import CoreFoundation sources from High Sierra"
<JasonGrossman> Just out of interest (I don't use MacOS enough to care much on a personal level), does Nix Darwin support old versions of MacOS, before 10.10?
<{^_^}> [nixpkgs] @spacefrogg opened pull request #41635 → dbus: Add NSS modules path to dbus system bus service → https://git.io/vhuuP
szicari has quit [Quit: Leaving.]
<matthewbauer> JasonGrossman: I think it could with a few changes to libSystem but I don't think anyone has tried.
<JasonGrossman> Interesting. Thanks.
<contrapumpkin> yeah, we used to but more platforms = more work, and macOS users tend to upgrade a lot faster and more consistently than most
<contrapumpkin> so the cost/benefit didn't seem to warrant it
<JasonGrossman> I'm gussing especially the ones who are interested in BOTH MacOS and Nix.
<JasonGrossman> thekolb: What about it?
<JasonGrossman> Oh, that it recommends gdisk?
endformationage has joined #nixos
<thekolb> JasonGrossman: that seems to be my issue, and it seems it is not yet fixed.
<JasonGrossman> I see, yeah.
civodul has joined #nixos
<JasonGrossman> thekolb: Sorry if I'm misunderstanding your problem, but can you use sudo gparted, and then install a GPT?
<andreabedini> another exciting commit a7b2bc1fa48fc447c8b93f634b01a8ffcddd0337
hyper_ch2 has quit [Quit: Page closed]
<andreabedini> Import of CF-1253 ("El Capitan"), plus changes required to support this project.
<samueldr> the installation instructions for UEFI in the nixos manual are quite thin about partitionning and UEFI
<thekolb> JasonGrossman: yeah, I guess. I just followed the instructions and that’s where I ended up (not having a GPT). I suppose I start from scratch now and backup my configuration.nix?
<thekolb> samueldr: they are broken, really
bigrick has joined #nixos
<samueldr> I agree, though there is only one crucial step missing is that they gloss over needing a GPT formatted disk
<JasonGrossman> thekolb: I would, yes.
<JasonGrossman> I think it helps a lot for newbies to use gparted instead of gdisk.
<samueldr> or even cgdisk
<JasonGrossman> I mean it *would* help a lot -that would be my suggestion.
<samueldr> (cgdisk will work in TUI)
<thekolb> isn’t gparted a GUI app?
<JasonGrossman> thekolb: Yes, so it's not always appropriate.
<JasonGrossman> I didn't know cgdisk. Looking it up now.
<thekolb> I am doing the install over SSH
kaba_ has joined #nixos
<JasonGrossman> thekolb: Mm, right.
<JasonGrossman> So cgdisk could be ideal.
<samueldr> cgdisk is akin to cfdisk, in the past cfdisk was for MBR and cgdisk was for GPT
<samueldr> I'm not sure it still holds true
<JasonGrossman> I think it does.
<samueldr> (they may have merged)
<JasonGrossman> I haven't used it, but this looks helpful (and is by a very good author): http://www.rodsbooks.com/gdisk/cgdisk-walkthrough.html
<kaba_> Hi, on f5b0d6d my monitor simply doesn't turn on (amdgpu). I tried looking at more recent commits regarding video drivers, any idea what may be the cause?
<thekolb> thanks guys!
<kaba_> I tried both setting amdgpu as video driver and not setting it at all.
<samueldr> thekolb: the expected default for UEFI/GPT is to have /boot be the ESP, then whatever partition scheme you need
<JasonGrossman> This is interesting. I'm faaaairly new to linux, but I came to NixOS after messing around with several other distros, so I knew about partitioning. I imagine the same is currently true for lots of people, but if NixOS takes off there might be more people using it as their first linux distro, and then they'll need better advice about formatting.
<samueldr> since /boot may host kernels and generations depending on your setup, it may be necessary to have it bigger
katona has joined #nixos
<JasonGrossman> The NixOS manual + the Arch Wiki is a great combo.
<samueldr> (especially important if you intend to encrypt your partitions)
kaba_ has quit [Client Quit]
<sphalerite> Can I make systemd user units imperatively as on other distros?
<samueldr> sphalerite: I have
<JasonGrossman> samueldr: Agree, but actualyl I have lots on mine and it's still less than 100MB.
<JasonGrossman> * actually
<sphalerite> samueldr: hm. I did systemctl edit --user --force syncthing.service to create syncthing.service, and it doesn't recognise it when I try to enable it
<samueldr> yeah, I say bigger, since it's possible that e.g. keeping a boatload of generations happen
<JasonGrossman> I made myself a huge EFI partition in case I wanted to carry on using other distros, but I'm pleased to say that NixOS has been working so well that I haven't needed to. :-)
<JasonGrossman> I HAVE a boatload of generations. I think 200MB should be more than enough. Many web sites recommend 500 MB though.
<gchristensen> I am sad to say that I will have to, for the very first time, delete a NixOS generation on this laptop -- as my /boot has finally reached capacityp
<samueldr> sphalerite: oh, though I only edited them directly
<JasonGrossman> gchristensen: No no. I have plenty of room on my /boot for your generations.
<gchristensen> :D
<sphalerite> gchristensen: the laptop you got last year?
<gchristensen> it lasted a while -- 241 generations. yeah, sphalerite
<samueldr> my /boot/ is 1022M, only 63M used :/
xy2_ has quit [Quit: WeeChat 1.9.1]
<sphalerite> gchristensen: wow. You must have a small system config
<samueldr> (though I made mine extra big so I could do weird shenanigans like put a recovery system in there in the future)
<sphalerite> although actually, I have a lot of data in my ~
jensens has joined #nixos
xy2_ has joined #nixos
<JasonGrossman> samueldr: Me too.
xy2_ has quit [Client Quit]
<sphalerite> samueldr: hmph, it creates ~/.config/systemd/user/syncthing.service.d/override.conf with the contents that I wrote, but that apparently doesn't cause the unit to exist
<JasonGrossman> samueldr: I guess we can keep backups or something in the spare space.
<sphalerite> if I move that override.conf to ../syncthing.service it works
<JasonGrossman> samueldr: Or union mount it to a decently sized partition for general use. Because that would totally be worth the effort.
xy2_ has joined #nixos
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
<sphalerite> now when trying to start it I get "Failed to start syncthing.service: Unit syncthing.service is not loaded properly: Exec format error."…
<gchristensen> sounds like you got a binary not compat with your arch
<samueldr> sphalerite: or check systemctl --user cat that.service
<sphalerite> gchristensen: running $HOME/.nix-profile/bin/syncthing from the shell myself works fine
<samueldr> hmm, I thought it was cat
sorixelle has quit [Ping timeout: 248 seconds]
<samueldr> oh, it is, wrong computer
orivej has joined #nixos
humanoyd has quit [Ping timeout: 245 seconds]
<samueldr> systemctl cat will show the actual unit as systemd sees it using the service and overrides
winem_ has quit [Ping timeout: 256 seconds]
<samueldr> systemd clears the environment IIRC
<sphalerite> I don't see how that would cause Exec format error… as opposed to maybe ENOENT
<sphalerite> hm but yes, passing the full path makes it work
<sphalerite> wtf
szicari has joined #nixos
<thekolb> samueldr: I think the only issue for me personally was that I never dealt with UEFI before and the NixOS installation instructions somewhat fail to mention how to create a GPT partition table (i.e., use gdisk).
<trikl[m]> Problems with locale settings, any idea about what's happening here? https://lpaste.net/7037165736808153088
<samueldr> thekolb: and you're right
nico202 has quit [Ping timeout: 240 seconds]
halfbit has joined #nixos
halfbit has quit [Client Quit]
humanoyd has joined #nixos
<{^_^}> [nixpkgs] @Ekleog opened pull request #41636 → nheko: 0.4.2 -> 0.4.3 → https://git.io/vhuoK
<thekolb> How would I go about customizing the .bash_profile of my extraUsers?
rihards has joined #nixos
<sphalerite> I've got a private key file (adb key) that starts with "-----BEGIN PRIVATE KEY-----". I want to get the fingerprint corresponding to it so I can verify it against hte one shown on my phone. Anyone know how to d othis?
lonokhov has quit [Quit: WeeChat 2.0]
<gchristensen> people with Twitter, can you vote on my poll? https://twitter.com/grhmc/status/1004753356051615745
vaninwagen has quit [Ping timeout: 276 seconds]
hc has quit [Quit: Lost terminal]
Olgierd has quit [Quit: WeeChat 1.9.1]
frank87 has quit [Remote host closed the connection]
__Sander__ has quit [Quit: Konversation terminated!]
frank87 has joined #nixos
Tucky has quit [Remote host closed the connection]
aanderse_ has quit [Remote host closed the connection]
jensens has quit [Ping timeout: 260 seconds]
<thoughtpolice> gchristensen: done, though what's the motivation behind it? (curious)
<gchristensen> probably going to be a talk I write & give
asuryawanshi has joined #nixos
<maurer> gchristensen: I'd point out that while it's semi-obvious to me why travis won't work, the conclusion I come to immediately is not "so we must use hydra"
<gchristensen> travisci was supposed to be a funny "no" option :(
<gchristensen> I'm not a good pollster
asuryawanshi has quit [Remote host closed the connection]
<maurer> If you're giving a talk on the concept though, one thing to compare against might be other distros' mechanisms of running buildbots and testing
<maurer> aiui none of them are super happy with what they have either, it's just "good enough to keep working"
<gchristensen> indeed
aanderse has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed commit from @Synthetica9 to staging « treewide: removed name from a few pythonpackages defining pname and version »: https://git.io/vhuPh
<gchristensen> what I _know_ is a lot of people don't see the difference between hydra and travis, or hydra and gitlab's ci
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
FRidh has joined #nixos
<maurer> sphalerite: ssh-keygen -lf /path/to/key
mightybyte has joined #nixos
<maurer> gchristensen: Really? I'd think the concept of mass-rebuild alone would be enough to indicate the difference
<sphalerite> maurer: perfect, thanks!
<gchristensen> maurer: and here we arrive at the talk idea
<maurer> This is one of the reasons gentoo has such a hard time fiddling with their compilers
<maurer> What could break? Uh, everythign.
<maurer> Can we test everything? Not on one system.
<sphalerite> maurer: hm, the fingerprint doesn't match
<sphalerite> I'm not inclined to believe it's actually a MITM though
<mightybyte> domenkozar: Does cachix push do any checks to see if the thing has already been pushed? Off-hand observation suggests that it does not.
<maurer> sphalerite: There are two hash algorithms people use for fingerprints
<maurer> maybe adb uses a different one from ssh-keygen by default
<sphalerite> I don't know what it's using on the phone :/
<maurer> sphalerite: Ah, try
<maurer> ssh-keygen -E md5 -lf /path/to/
<maurer> evidently -E picks a hash algorithm, and sha256 is default
sbdchd has quit [Ping timeout: 248 seconds]
<sphalerite> hm, now the length of the fingerprint matches
<sphalerite> but the content doesn't
<maurer> rip
<maurer> I don't have any more tricks, good luck
<sphalerite> heh
<sphalerite> awk '{print $1}' < ~/.android/adbkey.pub | openssl base64 -A -d -a | openssl md5 -c
* sphalerite needs to get better at searching before asking
<infinisil> Just try all the hash algorithms you know until you find a match!
<maurer> Ah, that is a more differenter fingerprint
<matthewbauer> Hi! If you have time, I would definitely appreciate some feedback to my "use flags" PR: https://github.com/NixOS/nixpkgs/pull/39580
<matthewbauer> It has been waiting in the PR list for a while & not gotten much interest.
<sphalerite> why couldn't adb just use ssh as a transport
<gchristensen> matthewbauer: fwiw in general I'm not a fan of the idea right now, but can't give good quality feedback as to why :/
<maurer> Something I don't see mentioned there is how testing will be approached - right now, since packages basically have "one configuration" (mostly, there are exceptions), if someone builds them successfully, it's probably OK
<maurer> If it becomes commonplace that packages will have multiple configurations, how do we handle the variety of different build cases?
<gchristensen> yes
<maurer> Also, how do we decide which configurations get cached?
<gchristensen> yes
<maurer> (I'm not against this, I'd like use-flag-style configuration, I just want it to land in a completed state rather than a "oh no we inherited the gentoo testing problem" state)
<gchristensen> yes
<WilliamHamilton> I seem to have a problem with alsalib: ALSA lib pcm.c:2493:(snd_pcm_open_conf) Either /nix/store/7h7x4pq1dya89h43kpm56shvzi9m7nby-alsa-plugins-1.1.6/lib/alsa-lib/libasound_module_pcm_pulse.so cannot be opened or _snd_pcm_pulse_open was not defined inside. In my nixos system configuration I have pulseaudio enabled, with 32bit support. How could I debug the problem?
<maurer> WilliamHamilton: Have you upgraded your system but not updated something in your user profile?
orivej has quit [Ping timeout: 264 seconds]
<WilliamHamilton> maurer: probably, yes! How do I upgrade things in my user profile?
<{^_^}> [nixpkgs] @FRidh merged pull request #41562 → pythonPackages.pvlib: init at 0.5.2 → https://git.io/vh0f0
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/vhu1r
<maurer> nix-env --upgrade should do it
<maurer> (This is just a guess - the other common time this happens is with libGL.so
matthewbauer has quit [Read error: Connection reset by peer]
<maurer> (basically cases where there's a separate system version and user version of things)
matthewbauer has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
<gchristensen> maurer: can you put all that feedback on that PR?
jperras has quit [Quit: WeeChat 2.1]
<maurer> OK
<{^_^}> [nixpkgs] @FRidh merged pull request #41086 → python2Packages.pyezminc: init at 1.2 → https://git.io/vhtHi
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/vhu1p
atu has joined #nixos
fendor has joined #nixos
ixxie has joined #nixos
<WilliamHamilton> maurer: thanks, I was trying the upgrade, but then I encounter:
<WilliamHamilton> error: attribute 'override' missing, at /nix/store/03cdrr35k9gb7nfzn49ysaiw1nnby1lb-nixos-18.09pre140958.696c6bed4e8/nixos/pkgs/development/compilers/elm/default.nix:43:12
<WilliamHamilton> and I haven't installed the elm compiler, so I don't know how I could correct that
<fendor> hi, does it make sense to use something like home-manager on NixOs?
<fendor> because it sure sounds cool
shapr has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
atu has quit [Ping timeout: 268 seconds]
<__monty__> fendor: I thought it was designed because of nixos.
<sphalerite> fendor: yes, it does.
<sphalerite> The fact that it works on other OSes is just a bonus :p
<zenojis> I think that a use flag system would not only be great, but necessary in the long run. I don't think testing is actually that complicated. Just identify built packages by their specific use flags. It's better to have use flags than force everyone to create local packages for build configuration
reinzelmann has quit [Quit: Leaving]
matthewbauer has quit [Read error: Connection reset by peer]
nuncanada has joined #nixos
<WilliamHamilton> is there a way to force the command `nix-env --upgrade` to complete even when it finds errors?
<fendor> sphalerite, the true question is then, is it also recommended?
<sphalerite> fendor: sure. I don't use it personally, but it does make sense to use it.
<fendor> sphalerite, ok, nice!
<sphalerite> fendor: it's especially useful on multi-user systems where you don't want to put personal config in the system config and irritate other users with your settings
<fendor> oh no, it does not supprot fish :(
asuryawanshi has joined #nixos
sbdchd has joined #nixos
<fendor> sphalerite, well, that is not my use case, it just looked nice for managing the installed programs
<sphalerite> if it's just for managing installed programs, I personally wouldn't use it
<sphalerite> since you can just install them systemwide, or use a declarative environment with nix-env --set or nix-env -ir
<fendor> i guess it is kind of overkill?
<zenojis> honestly i think home-manager is over kill, I'd rather use git and shell scripts to manage those things, especially because I share some of that stuff on different computers that don't have nix or are running old software
hiroshi- has joined #nixos
<inquisitiv3> Is anyone working on an LSP server for Nix?
matthewbauer has joined #nixos
<fendor> ok, thanks for the opinions!
Guest6248 has quit [Ping timeout: 276 seconds]
hiroshi has quit [Ping timeout: 240 seconds]
hiroshi- is now known as hiroshi
luigy has quit [Ping timeout: 276 seconds]
lsix has quit [Quit: WeeChat 2.0]
Sonarpulse has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #41638 → libunistring: re-enable tests w/musl, update seems to have fixed → https://git.io/vhuDy
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
fendor has quit [Ping timeout: 260 seconds]
luigy has joined #nixos
Sigma has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
MP2E has joined #nixos
MP2E has quit [Remote host closed the connection]
fresheyeball has joined #nixos
orivej has joined #nixos
<fresheyeball> hey out there
<fresheyeball> I am having a problem I am unfamiliar with
<fresheyeball> this morning I have having frequent hash mismatch errors
<fresheyeball> something is wrong, but I dont know what
<fresheyeball> I did a `nix-store --gc` and removed all hydras from configuration.nix other than cache.nixos.org
<fresheyeball> and the hashes are still wrong
<fresheyeball> is there a fixy fix all I can run?
kiloreux has joined #nixos
<Sonarpulse> fresheyeball: srhb said delete squlite in /nix/store/var/db
<Sonarpulse> and it worked for me
Ariakenom has quit [Ping timeout: 276 seconds]
<fresheyeball> Sonarpulse: I dont have that path
<fresheyeball> are you sure that is the path
<fresheyeball> ?
sigmundv has quit [Ping timeout: 264 seconds]
<Sonarpulse> fresheyeball: sorry /nix/var/nix/db
<Sonarpulse> or at least closer to that
jD91mZM2 has joined #nixos
jperras has joined #nixos
<thekolb> is there a package that contails basic build tools such as ar?
<ar> thekolb: I am not a tool. ;)
<jD91mZM2> binutils
<jD91mZM2> (lol)
civodul has quit [Ping timeout: 240 seconds]
<ixxie> this is emaressing but: can someone show me an example of an if-else call in Nix?
<jD91mZM2> ixxie: I think people are using mkIf, but I don't know
<jD91mZM2> Never mind there is a proper if/else
<fresheyeball> Sonarpulse: ok I renamed that directory
<fresheyeball> no change
<fresheyeball> reboot? for change?
<fresheyeball> oh wait
<fresheyeball> my bad
<fresheyeball> oop ok, renamed for real now
<fresheyeball> still no change
<fresheyeball> hash mismatch in downloaded path ‘/nix/store/fns5d0nvzysd21r3009iyn5vfxxjmrxx-cabal2nix-2.8.2’: expected 06f28ef5676d2cad795df04aac34e29d80cf8913188b4b4366ded4afca99d839, got b6e68f69bdc03fe84bfd062f6ffd85d892f24478be722c43c3ca00da0acf1a57
matthewbauer has quit [Read error: Connection reset by peer]
<ixxie> jD91mZM2: okay so I was right and the error came from somewhere else completely
<ixxie> jD91mZM2: what a relief xD
matthewbauer has joined #nixos
<jD91mZM2> ixxie: If you're looking for a good way to locate an error in nix, I can recomme- never mind, we need more good tooling
<ixxie> jD91mZM2: the error was informative enough; it just happened when my insecurity focused on my understand of if-else in nix xD
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nixos
<fresheyeball> Sonarpulse: hiya!
<{^_^}> [nixpkgs] @matthewbauer pushed to master « Revert "trash-cli: cleanup" »: https://git.io/vhuHq
katona has quit [Quit: Connection closed for inactivity]
<bebarker> Hi, just curious if there's anything else I can do for https://github.com/NixOS/nixpkgs/pull/41610 - having trouble running nox currently, but may be able to fix it
Ariakenom has joined #nixos
<infinisil> #41610
<{^_^}> https://github.com/NixOS/nixpkgs/pull/41610 (by bbarker, open): ats2: 0.3.9 -> 0.3.11
<bebarker> I should get a proper NixOS system at some point
blankhart has quit [Ping timeout: 256 seconds]
shivnshu has joined #nixos
sanscoeur has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #41639 → openblas: remove patch that's no longer needed (PR merged) → https://git.io/vhuQJ
Intensity has quit [Ping timeout: 260 seconds]
Intensity has joined #nixos
<infinisil> Haha what a coincidence bebarker, I just happen to check out the nix tag on stackoverflow where I found this: https://stackoverflow.com/a/50257762/6605742
blankhart has joined #nixos
<infinisil> Noticed the username -> hold on he's just in irc. And to my surprise you even mentioned me in your answer :P
<bebarker> lol
nixos has joined #nixos
<infinisil> bebarker: I don't necessarily agree that using a bash script for this is very nice though
shivnshu has quit [Ping timeout: 260 seconds]
<bebarker> i need to test that solution a bit more (at least the .nix_versions) bit - it was working for a while, then net
<bebarker> *not
<nixos> hi, can I somehow search for a substring in *all* packages of my channel?
<bebarker> infinisil, I agree - not ideal, i think it would be great to have similar functionality baked into a single command
humanoyd has quit [Quit: WeeChat 2.1]
nico202 has joined #nixos
<nixos> event including hidden packages like haskell packages, but without explicitly stating an attribute like -A haskellPackages
<nixos> *even
<infinisil> bebarker: .drv files are really just a realization of nix derivations, which is the result of a nix expression. So to make something reproducible, you can just pin the nix files
shivnshu has joined #nixos
<bebarker> infinisil, makes sense, I should probably remove the drv bit
philippD has joined #nixos
<bebarker> nixos, have you tried `nix search` - doesn't work for me, unfortunately
shivnshu has quit [Client Quit]
<infinisil> bebarker: I hope you don't mind me writing another answer to that SO thread
<bebarker> infinisil, no, that would be great
kiloreux has quit [Quit: Leaving]
<infinisil> Oh, it was even you that asked the question! Didn't see that until now :P
<nixos> bebarker: doesn't help :/ it's still not listing all packages
<infinisil> nixos: Unfortunately that's not easily possible right now. You'd need to modify nixpkgs to allow for that
<bebarker> nixos, I saw this just today but again haven't tried it: sadly there is no nixpkg - https://github.com/tazjin/nixfd - but maybe you could make one ... ;-)
sigmundv__ has joined #nixos
nuncanada has quit [Ping timeout: 245 seconds]
<tazjin> bebarker: I can add a default.nix and then it can be installed via `nix-env -if https://github.com/...`
nuncanada has joined #nixos
<tazjin> I wasn't planning to do more with it due to `nix search` though
<tazjin> but some people reported that it just "doesn't work" (i.e. no output) for them
nico202 has quit [Ping timeout: 240 seconds]
Neo--- has quit [Ping timeout: 264 seconds]
<bebarker> tazjin, yeah, that is my problem. and cool! does nix search also do caching?
<tazjin> yes
<nixos> or maybe a related but little bit different questions: when I find a package in the nixpkg-git-repo, how do I know it's qualified nix name? e.g. https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/compilers/ghcjs
<tazjin> does it work if you run `nix search` with the `-u` flag? (this will force an update / re-generation of the cache)
<bebarker> tazjin yeah i tried that, it returned immediately with no results
<tazjin> nixos: top-level packages are defined in top-level/all-packages.nix - https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/all-packages.nix
<tazjin> so if you want to dig through the source you can check what its attribute name is there
alex_giusi_tiri has joined #nixos
<tazjin> bebarker: I've also seen that a few times, it's weird
<tazjin> if someone wants to add a default.nix to nixfd with `carnix`, please feel free to do so - otherwise I'll do it later when I have time
fresheyeball has quit [Ping timeout: 256 seconds]
nixos has quit [Ping timeout: 260 seconds]
nixos has joined #nixos
<nixos> sorry, had a disconnect. thanks for telling me about all-packages.nix, but how to find a non-top-level package?
matthewbauer has quit [Read error: Connection reset by peer]
<gchristensen> I usually do https://search.nix.gsc.io/ with `mypkg =`
shivnshu has joined #nixos
<LnL> nix edit -f. llvmPackages.clang also works
<dtz> i've missed context but `nix edit` is... great LnL mentioned it
matthewbauer has joined #nixos
<bebarker> tazjin, thanks, i'm really on the fence about learning Rust, but I keep holding out for ATS2/3 - I'm definitely torn. On the one hand, Rust has a largeish community, on the other ATS has more features, but maybe I should get my hands dirty (rusty?)
<infinisil> nixos: I do `rg 'mypkg = '` in nixpkgs (the same as gchristensen, but locally)
<gchristensen> and not indexed
<gchristensen> but yes
<infinisil> rg is so fast, I don't think that's needed tbh :P
<bebarker> out of curiosity, reading the docs for nix.useSandbox - does it use chroot under the hood? does chroot actually have a performance effect other than the initial creation of the chroot environment?
<bebarker> infinisil, i just installed rg today and was blown away ;-)
<tazjin> bebarker: Rust is one of those languages - like Haskell or Common Lisp - that will teach you "a new way to think" once you really grok it
<tazjin> whether you actually end up using it for anything doesn't really matter, but it's always good to have more thinking tools in your toolbox :)
<LnL> bebarker: yeah, using sandboxing is a bit slower
<tazjin> Rust has support for a sort of "weak form" of linear types in the form of sort-of affine types via the ownership system, that's a cool thing to wrap your mind around because you can use it for all kinds of improved API contracts in libraries
<bebarker> tazjin, yea, i feel like http://www.ats-lang.org/ has those features already, and I learned them a bit, but i should still give Rust a try sometime
<tazjin> ATS always feels a bit like Idris to me
<tazjin> more on the academic side of things than the real-world side of things, as in - very good that the work happens and that we end up knowing new concepts afterwards, but I probably wouldn't *use* it for anything
<bebarker> tajzin yeah with the dependent types - I try to stay away from those until i need them, but i don't always succeed !
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41607 → firefox, firefox-bin: 60.0.1 -> 60.0.2, firefox-esr: 52.8.0esr -> 52.8.1esr, 60.0.1esr -> 60.0.2esr [Critical security f… → https://git.io/vhE4F
<{^_^}> [nixpkgs] @matthewbauer pushed 5 commits to staging: https://git.io/vhudf
<bebarker> LnL, so what is it doing under the hood beyond what chroot does?
jasongro` has quit [Ping timeout: 240 seconds]
<tazjin> bebarker: my company's whole backend is in Rust (and some sprinkles of common lisp) and we're quite happy with it
JasonGrossman has quit [Ping timeout: 265 seconds]
shivnshu has quit [Ping timeout: 240 seconds]
<tazjin> it's also relatively easy to hire for
<LnL> bebarker: builds also run inside of a mount/network namespace
<WilliamHamilton> I still get `ALSA lib pcm.c:2493:(snd_pcm_open_conf) Either /nix/store/x0wqgcsfbxapwvdqnpl7pvib1gy7k95v-alsa-plugins-1.1.6/lib/alsa-lib/libasound_module_pcm_pulse.so cannot be opened or _snd_pcm_pulse_open was not defined inside` but now my nixos environment and my user environment are both updated on unstable
<gchristensen> it also has some syscall filtering
<bebarker> tazjin, cool - yeah, I just wish it was more FPish for starters. Like Scala-Native with a bit of linear typing. But if i'm being honest, i rarely need memory management these days, despite working at an HPC center (to my great surprise)
shivnshu has joined #nixos
<WilliamHamilton> I wonder: does the fact that I indicated pulseaudio.enable in my nixos config prevent alsa from working correctly?
<ldlework> pulseaudio depends on alsa iirc
hph^ has quit [Ping timeout: 240 seconds]
<foldingcookie> it does
<foldingcookie> it's possible to have situations where alsa stuff stops working in the presence of pulse because pulse takes exclusive control of the audio device, but that doesn't sound like what's happening here (and in those situations alsa client programs can still use the alsa lib to connect *to* pulse, which works fine)
<WilliamHamilton> but does the error ring any bells?
<bebarker> LnL, thanks! I'll take a stab at adding that to the docs
<foldingcookie> "it does" meaning, it does depend on alsa
myshoe has joined #nixos
asuryawanshi has quit [Ping timeout: 260 seconds]
<nixos> infinisil: how would you proceed further? I, for example, got "pkgs/top-level/haskell-packages.nix 88: \n ghcjs = compiler.ghcjs82;" for 'ghcjs ='
<nixos> infinisil: when looking into haskell-packages.nix I see that it's part of the "compiler" set
<infinisil> nixos: wait what's your goal?
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
<ldlework> WilliamHamilton: have you turned it off and on again?
<foldingcookie> WilliamHamilton: it sounds like alsa-plugins is either the wrong version or not installed somehow
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @bbarker opened pull request #41640 → doc update → https://git.io/vhudb
<foldingcookie> sadly I am not a nix expert and really don't understand how user and system nix are intended to be used together
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
<nixos> infinisil: I'm trying to use ghcjs, but I can't find out the qualified name is need to reference it in my default.nix
hph^ has quit [Max SendQ exceeded]
<nixos> *is = I
<WilliamHamilton> ldlework: yes, I did a reboot
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
<infinisil> > pkgs.haskell.compiler.ghcjs # nixos
<{^_^}> "«derivation /nix/store/7h8qh1x58drvi4c6d9jmaw6zfp397d0l-ghcjs.drv»"
<WilliamHamilton> foldingcookie: I have alsaPlugins in my nixos configuration though
<ixxie> what counts as tests being long enough to justify disabling tests?
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
<WilliamHamilton> and nothing in my user configuration
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
<foldingcookie> which program are you trying to use? is it installed through your user's nix-env?
epsonscanner has joined #nixos
<nixos> infinisil: thanks! but how did you find that out?
<nixos> am I somehow able to find the qualified name using "nix-env -qaP" or "nix search"?
<infinisil> nixos: Just happen to know it ¯\_(ツ)_/¯
<epsonscanner> hi all. I followed the scanner guide trying to install my Epson V500, which seems to be supported by epkowa, but xsane still doesn't see it. Any suggestion? :)
<nixos> infinisil: ok :-D
<infinisil> nixos: Ah it's documented here to an extend: https://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure
fendor has joined #nixos
<epsonscanner> sane-find-scanner finds it (as root), but scanimage -L doesnòt
<nixos> infinisil: maybe you can also help me with the next problem - ghcjs does not have a "callPackage" attribute (anymore?)
<WilliamHamilton> foldingcookie: no, I'm trying to start project zomboid via steam-run, but that gives the error I linked
<foldingcookie> do programs like aplay or speaker-test work or give the same error?
nixos has quit [Ping timeout: 260 seconds]
sigmundv__ has quit [Ping timeout: 268 seconds]
fendor has quit [Remote host closed the connection]
thekolb has left #nixos [#nixos]
alex_giusi_tiri has left #nixos [#nixos]
<ixxie> Can anybody help me figure out why these tests fail: https://pastebin.com/BrZtxPAZ
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #41641 → haskell infra: Use `self.ghc` rather than closing over initial value → https://git.io/vhuNs
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<sphalerite> ixxie: apparently they try to access $HOME.
<sphalerite> ixxie: maybe if you create a temporary directory and export HOME=that-dir before the tests run it'll work
<WilliamHamilton> foldingcookie: aplay works normally, it seems
<sphalerite> "npm ERR! Please try running this command again as root/Administrator." aaaaaaarrrrghhhh WHY
<foldingcookie> presumably the problem is somewhere in steam-run, then
<{^_^}> [nixpkgs] @vcunat pushed 4 commits to release-18.03: https://git.io/vhuNR
<{^_^}> [nixpkgs] @vcunat merged pull request #41326 → [18.03] procps-ng: 3.3.12 -> 3.3.15 → https://git.io/vhnKO
<ixxie> sphalerite: thanks :)
<ixxie> sphalerite: I will fix it after the sauna
<sphalerite> After going to the sauna, or fixing the sauna?
<sphalerite> :p
shivnshu has quit [Ping timeout: 265 seconds]
<ixxie> hah
<ixxie> going
<sphalerite> enjoy
<ixxie> cheers
shivnshu has joined #nixos
<bebarker> infinisil, your answer is definitely helpful - for the nix-env bit, I think specification of a particular revision of nixpkgs is missing (e.g. using -I nixpkgs=...) and perhaps a method to record the version, though that is sort of mentioned in my answer
shivnshu has quit [Client Quit]
<infinisil> bebarker: The fetchTarball does that
<infinisil> I mean I didn't put it into the bottom file because usually people still want to use nix-channel, but as I said you can use the same pinning from the above file to get a specific nixpkgs
<bebarker> infinisil, oh right, i guess that can easily be extrapolated to your 2nd example. I guess I like the idea of not using a fixed version unless necessary: pin what was used, but allow updates to the latest nixpkgs
<infinisil> Ah yes, maybe I should add that, it's easily possible to do that in a single nix file
sbdchd has quit [Remote host closed the connection]
<bebarker> infinisil, sweet! yeah, would be awesome. and i plead sleep deprivation today, a common occurrence - missed your sentence there at the end
nur0n0 has joined #nixos
<gchristensen> iirc our dockertools buildImage don't produce OCI-compliant images. anyone have info on that?
<{^_^}> [nixpkgs] @dtzWill merged pull request #41638 → libunistring: re-enable tests w/musl, update seems to have fixed → https://git.io/vhuDy
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vhuAI
<samueldr> gchristensen: those listed on that page may know more https://nixos.wiki/wiki/Workgroup:Container
<infinisil> bebarker: I made an edit to the answer
<domenkozar> this does :)
orivej has quit [Ping timeout: 256 seconds]
sbdchd has joined #nixos
<bebarker> infinisil, i was actually just wondering if that was possible this morning - though I think it answers a different question to what I had in mind. The feature I'm suggesting is basically the part of the bash script I put up that generates .nix_versions (assume current nixpkgs is good, but record it, cause we assume future versions may NOT be good and break our build)
<bebarker> infinisil, though I guess I might be able to just add that as a shellHook ... hmm
<infinisil> bebarker: Hmm you mean a script that writes your current nixpkgs version to a file?
<bebarker> I guess what baffles me is that it is both so easy to do, but isn't the default; it is the default when using yarn/npm (these days)/pipfiles to generate a lockfile (super easy in nix compared to those), but I don't see people doing it "in the wild" - of course if your package is part of the nixpkgs repo, there's no need to do it
<bebarker> infinisil, yeah
Izorkin has joined #nixos
<infinisil> bebarker: Not every nixpkgs can be identified with just a version, only the nixpkgs from channels have that set to something reproducible actually
<bebarker> infinisil, oh, I thought everything in <nixpkgs> was in a channel
<infinisil> But I guess I understand what you want: You write some package where you use `import <nixpkgs> {}`, then you decide you wanna keep it working for the future, so you'd have to figure out how to get your exact <nixpkgs> and use nix code that uses a pinned version. With -I nixpkgs= this would be transparent
<bebarker> and I thought <nixpkgs> was basically equivalent to the nixpkgs repo on github
<infinisil> Nah
<infinisil> > <nixpkgs>
<{^_^}> /var/lib/nixbot/state/nixpkgs
foldingcookie has quit [Ping timeout: 276 seconds]
<infinisil> > builtins.getEnv "NIX_PATH"
<{^_^}> ""
<infinisil> > builtins.nixPath
<{^_^}> [ { path = "/var/lib/nixbot/state/nixpkgs"; prefix = "nixpkgs"; } { path = "/nix/store/vdvla43ppjf6gfsi8nx1zmac7rwq72yd-nix-2.0.2/share/nix/corepkgs"; prefix = "nix"; } ]
<ldlework> lol
<ldlework> is there supposed to be a bot?
<infinisil> It looks up "nixpkgs" in your NIX_PATH
<infinisil> ldlework: Yes, I wrote it not too long ago :)
lopsided98 has quit [Remote host closed the connection]
<ldlework> I don't think it is working :)
<infinisil> bebarker: And this nixpkgs can be set to whatever you want, Nix will import that path for resolving <nixpkgs>
lopsided98 has joined #nixos
<infinisil> This also works: nixpkgs=https://github.com/nixos/nixpkgs-channels/archive/nixos-unstable.tar.gz
camsbury has quit [Ping timeout: 256 seconds]
<infinisil> ldlework: How is it not working?
<bebarker> infinisil, yeah, your summary describes what I want ; my impression was that i record the string nixpkgs: "18.09pre140731.c29d2fde74d" - the part after the "." is the commit revision I could check out on the nixpkgs repo and pass in to -I nixpkgs=...
<infinisil> Yeah that works only with channels
<infinisil> > lib.version
<{^_^}> "18.09pre-git"
<infinisil> This is what it looks like on nixbots nixpkgs
<ldlework> Oh yeah I ignored the bot
<infinisil> Heh
<ldlework> Because it announces every commit and such
camsbury has joined #nixos
fresheyeball has joined #nixos
<bebarker> infinisil, ok - but if i'm basically just doing pkgs = import <nixpkgs> {}; in my nix expressions, i'm only installing things in nix-channels, as i'm not defining other dependant nix expressions elsewhere (and if I am, I'm being good and checking those into git)
<bebarker> or is that a bad assumption?
<fresheyeball> hey out there
<infinisil> ldlework: It's not as bad as previously, samueldr made it so it doesn't announce individual commits anymore
<fresheyeball> I seem to have bricked my system
<fresheyeball> kernal panic on boot every time
<fresheyeball> I have booted successfully off a 17.03 installer usb
<samueldr> fresheyeball: even on older generations?
<fresheyeball> and am trying to "enter" my old install so I can rebuild
<fresheyeball> samueldr: yes, even old ones
<samueldr> fresheyeball: you probably want a newer usb installer image (18.03) as it has nixos-enter (if I remember the name properly)
<bebarker> infinisil, what is lib.version - is that a nixos thing, or more general (nixpkgs)?
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #41641 → haskell infra: Use `self.ghc` rather than closing over initial value → https://git.io/vhuNs
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vhuxB
<samueldr> though, it may already have been available in 17.03 :/
<srhb> It was not available
<srhb> I think it's 18.03-
<srhb> Or maybe 17.09, but definitely not 17.03
<infinisil> bebarker: Generally, everything in nixpkgs that's not in the nixpkgs/nixos folder has nothing to do with NixOS
<srhb> fresheyeball: Can you show the error message you get when you try to nixos-install --chroot ?
<matthewbauer> sorry everyone i think i accidentally pushed a darwin stdenv rebuild to master. i though it would preserve hashes but apparently not with `optionals': https://github.com/NixOS/nixpkgs/commit/3ebcac8d8563d8e10fdcde86af8ca0568b32c18a
<bebarker> infinisil, almost seems as if it would be simpler/safer to just use a local copy of nixpkgs repo direclty for this purpose - could just grab the commit of nixpkgs. of course, the obvious downside is having to download the nixpkgs repo every time ... ;-)
<fresheyeball> srhb: failed to run command `run/current-system/sw/bin/bash`: No such file or directory
<bebarker> though, git clone --depth=1 I suppose..
<infinisil> bebarker: I mean if you don't need any changes to the nixpkgs version it's totally fine to use fetchTarball directly
danielrf has joined #nixos
<infinisil> bebarker: I just don't like using a brittle bash script to pin versions, I'd rather do that myself :)
<ldlework> Is there a "nix snippets" place?
<ldlework> I see the abandoned https://github.com/functionalops/nix-cookbook
<{^_^}> [nixpkgs] @Ericson2314 pushed to release-18.03 « haskell infra: Use `self.ghc` rather than closing over initial value »: https://git.io/vhuxj
<bebarker> infinisil, i'm not a shell script fan myself, but have found myself doing a lot since trying to build fancy containers ... using the lowest common denominator on linux ;-)
aristid has quit [Ping timeout: 276 seconds]
<matthewbauer> Nixpkgs now has a ridiculous number of packages according to Repology: https://repology.org/graph/map_repo_size_fresh.svg - Blows everyone else away lol
<infinisil> matthewbauer: The haskell packages are included now right?
<matthewbauer> yep and I think R packages
aristid has joined #nixos
<infinisil> Hmm.. Not sure how I feel about the haskell packages though, we don't know how many of them actually compile..
<infinisil> And fixing them requires continuous manual work
<bebarker> infinisil, good point on fetchTarBall - I think i'll go with that actually. It sounds like The Right Thing To Do. :-)
<infinisil> bebarker: Especially now that Nix 2.0 allows you to provide a sha256, so it doesn't need to redownload it every hour
<bebarker> infinisil, that can most reaily be obtained using nix-prefetch-git right?
<{^_^}> [nixpkgs] @tadfisher opened pull request #41644 → minikube: bundle kvm2 driver → https://git.io/vhupE
<bebarker> infinisil, yeah i suppose specifying a commit id is nice and easy, and not much more work than running some form of update command
<infinisil> bebarker: Yup
<infinisil> It's a bit weird, I think builtins.fetchTarball doesn't output the correct hash when you give it a wrong one
jD91mZM2 has quit [Quit: WeeChat 2.0]
<bebarker> infinisil actually since it is a tarball, it should be nix-prefetch-url right? though i got a different sha256 in your example on stackoverflow
Jetien has joined #nixos
<inquisitiv3> I'm trying to understand the *Nix Channels* wikipage (https://nixos.wiki/wiki/Nix_Channels). In the *Unstable* section it's says that "[https://hydra.nixos.org/job/nixpkgs/trunk/unstable#tabs-constituents] lists the 15 most recent builds in the nixpkgs/unstable channel (with the left-most column being the most recent) along with each build's constituents. Constituents are critical packages."
<inquisitiv3> Do I understand it correctly that the packages listed on the different rows is the so called constituents?
<Jetien> Hi! What's a good way to debug if you wan't to figure out why a derivation's hash isn't what you expect it to be?
Fare has quit [Ping timeout: 264 seconds]
<matthewbauer> Jetien: nix-diff if you have the .drv file for each
<infinisil> bebarker: I used nix-prefetch-url --unpack, fetchTarball unpacks the tarball as well
<Jetien> matthewbauer: thanks. i suppose the .drv file name should be equal too?
<matthewbauer> Jetien: well you should have 2 .drv files & see the difference between the two (you also just diff the two files but nix-diff recurses into its inputs)
<{^_^}> [nixpkgs] @dywedir opened pull request #41645 → flashplayer: 29.0.0.171 -> 30.0.0.113 → https://git.io/vhuhW
<{^_^}> [nixpkgs] @dtzWill merged pull request #41639 → openblas: remove patch that's no longer needed (PR merged) → https://git.io/vhuQJ
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to staging: https://git.io/vhuhR
<bebarker> based on this discussion I wonder if I should still keep recording derivations ... for the ultimate in paranoia ;-)
<bebarker> infinisil, great, that worked, i'm excited to try all this out soon
<infinisil> bebarker: If you really really want it to be 100% reproducible, Nix 2.0 should have a pure evaluation mode, where actually nothing other than the nix you write can influence the derivation
chreekat has joined #nixos
Fare has joined #nixos
robstr has quit [Quit: WeeChat 1.9.1]
<bebarker> infinisil, cool - sounds kind of like sandbox
<ixxie> gchristensen: did you end up picking a name for your thingy?
i-am-the-slime has joined #nixos
civodul has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to maser: https://git.io/vhuhd
<bebarker> infinisil, i guess using nix-shell --pure will force me to quickly pare down my environment file I use with nix-env -if ... ;-)
<{^_^}> [nixpkgs] @matthewbauer pushed 0 commits to maser: https://git.io/vhuhp
<infinisil> bebarker: nix-shell --pure is not pure evaluation mode actually
<{^_^}> [nixpkgs] @obadz merged pull request #41434 → opensmtpd: 6.0.2p1 -> 6.0.3p1 → https://git.io/vhl2r
<{^_^}> [nixpkgs] @obadz pushed to master « opensmtpd: 6.0.2p1 -> 6.0.3p1 »: https://git.io/vhujv
<infinisil> nix build --pure-eval is
sir_guy_carleton has joined #nixos
<bebarker> infinisil, oh, don't even see that in the man page and am using Nix 2.0.2
<infinisil> bebarker: The new Nix 2.0 command `nix` doesn't have a man page unfortunately..
<infinisil> bebarker: See here for info on --pure-eval: https://github.com/NixOS/nix/commit/d4dcffd64349bb52ad5f1b184bee5cc7c2be73b4
mahalel_ has joined #nixos
<ixxie> if tests take over 15m can I disable them?
<infinisil> ,pure-eval = Pure evaluation mode is a mode where Nix becomes completely reproducible, see https://github.com/NixOS/nix/commit/d4dcffd64349 for details
<{^_^}> pure-eval defined
<infinisil> ,pure-eval = Pure evaluation was introduced in Nix 2.0, it makes Nix completely reproducible, see https://github.com/NixOS/nix/commit/d4dcffd64349 for details
<{^_^}> pure-eval defined
<ixxie> infinisil: nwoah that is cool
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41645 → flashplayer: 29.0.0.171 -> 30.0.0.113 → https://git.io/vhuhW
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhujo
<sir_guy_carleton> infinisil: nix --help works. i'm guess they don't want to write the man page until they've got every down pat.
<ixxie> !pure-eval
<ixxie> or how does that work infinisil ?
<Jetien> matthewbauer: thanks again; that helped :)
<infinisil> ixxie: ! is gchristensen's bot prefix, mine is ,
<ixxie> right
<ixxie> ,list
<{^_^}> ixxie: Did you mean hint?
<{^_^}> Commands prefixed with , such as ,ask take a nickname as an argument, which you can use to direct the resulting message to that specific user, e.g. ,ask paul
<ixxie> ,hint
<{^_^}> Commands prefixed with , such as ,ask take a nickname as an argument, which you can use to direct the resulting message to that specific user, e.g. ,ask paul
<ixxie> ,help
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<infinisil> ixxie: You can use #bottest to experiment with it :)
<gchristensen> should probably delete the !bit
oida has quit [Remote host closed the connection]
<infinisil> Yeah :)
<bebarker> infinisil, amazing, would the ideal then for actually using it to be to somehow chain nix-shell --pure after running nix-build --pure-eval? Sorry, not very familiar with using nix-build
<ixxie> so there is no official cutoff time for tests in nixpkgs?
<bebarker> to drop into the shell environment created by nix-build
sbdchd has quit [Remote host closed the connection]
<infinisil> bebarker: I think --pure-eval should also work with nix-shell, along with --pure it would be a rather pure environment :P
<bebarker> makes sense!
<infinisil> I should really make the "Did you mean" feature of my bot a bit better..
<infinisil> Or maybe just output ,help if the lookup fails
sbdchd has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #40356 → rustc: 1.25.0 -> 1.26.2 → https://git.io/vpDjW
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/vhzeE
justanotheruser has joined #nixos
<manveru> yay, mint now has nix install instructions :) https://www.mint-lang.com/install
<manveru> slowly conquering the world... one language at a time
justan0theruser has quit [Ping timeout: 240 seconds]
oida has joined #nixos
logzet_ has joined #nixos
logzet has quit [Ping timeout: 265 seconds]
logzet_ is now known as logzet
logzet is now known as logzet_
logzet_ is now known as logzet
<endformationage> I am working on a NixOS module. I have an option typed as `attrsOf (submodule { ...` and am wondering if there's anything wrong with the idea of using the user defined attr name(s) inside a path?
<endformationage> Baically I want to create a subdir named by the user defined attr.
<ixxie> infinisil: will do
<ixxie> gnight folks
<infinisil> endformationage: Nope, totally fine
<infinisil> endformationage: you can define the options however you want
oida has quit [Remote host closed the connection]
oida has joined #nixos
anderslundstedt has quit [Quit: leaving]
<endformationage> At the moment I have a path default like: /default/path/with/__placeholder__, and then I use replaceStrings to substitute in the user defined attr name.
<endformationage> Might there be a more direct way to reference the user defined attr in the option declaration?
<infinisil> Huh
ixxie has quit [Ping timeout: 268 seconds]
<infinisil> I mean when you defined `my.option` to be of type `attrsOf ...`, then you can get all the attribute names with `builtins.attrNames config.my.option`
<Jetien> what else does "nix-store -add <file>" depend on other than the contents of <file>?
<LnL> infinisil: pacakge :p
* infinisil is confused
<endformationage> Thus defining services.someService.userDefinedFoo.defaultPath results in the path: /default/path/with/userDefinedFoo
ixxie has joined #nixos
<mightybyte> domenkozar: Awesome!
anderslundstedt has joined #nixos
<Jetien> I'm so confused. I have 3 machines and a file. On 2 machines "nix-store --add my_file" results in the same hash. On 1 machine it differs, even tough the md5sum of all 3 files is the same. All machines run nix 2.0. What's going on here?
<gchristensen> filename the same everywhere?
<Jetien> yes, just "config"
<gchristensen> :/
<epsonscanner> Is there a package in nixpkgs that has something like transset, so change the opacity of a window in compton?
<Jetien> i think nix finally broke me
<infinisil> epsonscanner: xprop can do that
justanotheruser has quit [Ping timeout: 240 seconds]
<infinisil> epsonscanner: xprop -id <window id> -f _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY <32bit opacity>
<epsonscanner> infinisil: thanks! will try
<infinisil> You might need to configure compton to use that property, but it's fairly standard, I'm pretty sure compton supports it
<Jetien> Okay, i finally copied the file to the other machine and hash still differs. i just... https://pastebin.com/KXAkeKGM - i'm not making this up
justanotheruser has joined #nixos
Fare has quit [Ping timeout: 264 seconds]
<Jetien> It was the permissions.
<infinisil> Jetien: Maybe try with just an empty file, and one that just contains a single letter, just to see if it's the files problem or the systems
<infinisil> Oh hah
<Jetien> it seems that nix-store ignores the group and other permissions. these were the ones i modified to test
<Jetien> not though owner permissions
<{^_^}> [nixpkgs] @bjornfor pushed to master « lttng-modules: add 'libelf' to fix build against linux 4.14 »: https://git.io/vhzU9
nur0n0 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Jetien has quit [Ping timeout: 276 seconds]
fendor has joined #nixos
szicari has quit [Quit: Leaving.]
rihards has quit [Quit: rihards]
szicari has joined #nixos
npmccallum_ has quit [Quit: npmccallum_]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41640 → doc update → https://git.io/vhudb
<{^_^}> [nixpkgs] @Mic92 pushed commit from @bbarker to master « nixos/sandbox: improve documentation. »: https://git.io/vhzkI
<mightybyte> What's the difference between substituters and binary-caches in nix.conf?
<mightybyte> I don't see binary-caches mentioned in the docs. Is that an old deprecated name?
chreekat has quit [Quit: quitting]
cfricke has joined #nixos
<obadz> I think substituters if a way to find you a binary cache (such as some other local partition, some store accessible via ssh, or some binary cache you might hit over http…) but I could be wrong.
nuncanada2 has joined #nixos
sigmundv__ has joined #nixos
nuncanada has quit [Ping timeout: 268 seconds]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
cfricke has quit [Quit: WeeChat 2.1]
simukis has quit [Quit: simukis]
sbdchd has quit [Remote host closed the connection]
henrycrutcher has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « androidndk: remove set -x »: https://git.io/vhzIh
kiloreux has joined #nixos
tzemanovic has quit [Ping timeout: 260 seconds]
<kiloreux> Is there a way to make buildGoPackage more verbose ?
<kiloreux> I am trying to build a go package but it just stops without any error message
<henrycrutcher> Anyone have any idea how to make a container able to talk to any machine on any network other than its host. I'm trying to use nixops to configure a container to contain wordpress, and the container has no ability to send packets anywhere. I've tried defining bridges, and it deploys, but no results in ifconfig. Ive tried setting privateNetwork t
<henrycrutcher> o false, but neither privateNetwork nor networking.privateNetwork exist, documentation be darned. Is this something that nixos container networking can do? If not, how do people use this facility?
i-am-the-slime has quit [Ping timeout: 245 seconds]
ixxie has quit [Ping timeout: 276 seconds]
epsonscanner has quit [Ping timeout: 260 seconds]
<henrycrutcher> Oh, and I tried networking.nat.enable, networking.nat.internalInterface, networking.nat.externalInterface and that didn't work either
<LnL> is ip forwarding enabled?
<henrycrutcher> In the container?
<henrycrutcher> which options do that, that sounds like what I need
Fare has joined #nixos
Plato[m] has quit [Remote host closed the connection]
PLPD-Bot has quit [Remote host closed the connection]
szicari has quit [Quit: Leaving.]
PLPD-Bot has joined #nixos
<henrycrutcher> Looking more closely, port forwarding doesn't do what I need since the problem is I can't contact anything from within the container
sir_guy_carleton has quit [Quit: WeeChat 2.0]
myshoe has quit [Quit: Lost terminal]
<henrycrutcher> bump
samtoday has quit [Ping timeout: 264 seconds]
samtoday has joined #nixos
<LnL> ah sorry the kernel parameter, let me find it
<{^_^}> [nixpkgs] @daniels opened pull request #41647 → odt2txt: 0.4 -> 0.5 → https://git.io/vhztR
<LnL> boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
<trikl[m]> Python packages complain about being unable to set LC_ALL to "", whats going on? https://lpaste.net/7037165736808153088
<trikl[m]> what's*
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
goibhniu has joined #nixos
Plato[m] has joined #nixos
woodson has quit [Ping timeout: 248 seconds]
karlguy has joined #nixos
<henrycrutcher> That may have exactly solved my problem
kiloreux has quit [Quit: Leaving]
* AntonLatukha[m] sent a long message: AntonLatukha[m]_2018-06-07_21:43:02.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/GFMvJqkTPMGhKCZSdkxNXjbM>
logiq_ has joined #nixos
nico202 has joined #nixos
<gchristensen> AntonLatukha[m]: it is the implication operator
Fare has quit [Ping timeout: 248 seconds]
<gchristensen> AntonLatukha[m]: very confusing I think
inquisitiv3 has quit [Remote host closed the connection]
<gchristensen> AntonLatukha[m]: it is briefly described as "Logical implication (equivalent to !e1 || e2)." here -- https://nixos.org/nix/manual/
Wharncliffe has joined #nixos
<henrycrutcher> do I use the kernel parameter in the container, with nat?
hiratara has quit [Ping timeout: 265 seconds]
<LnL> just the host I think
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/41cdec2e513 (from 12 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
hiratara has joined #nixos
tzemanovic has joined #nixos
<AntonLatukha[m]> I know implication, but majorly thought it is binding or function sign.
<AntonLatukha[m]> So this means:
<AntonLatukha[m]> if assert True -> package !=null. Great. What does it mean.
orivej has joined #nixos
<AntonLatukha[m]> It means that package needs to be False or True if assertion condition is True?
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<gchristensen> you can't put an assert in an if
<gchristensen> assert true -> package != null is thee same as assert package != null
* AntonLatukha[m] sent a long message: AntonLatukha[m]_2018-06-07_21:59:48.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/SgtGwMiJvCmcTXXdOwIvqZLS>
<maurer> AntonLatukha[m]: If you're going ot insist on using matrix, you may want to manually chunk your message
<AntonLatukha[m]> s/break/breaks/g
<maurer> Matrix just keeps sending links
<gchristensen> so this is common for like
<gchristensen> { enablePulseAudio ? false, pulseaudio ? null }: assert enableePulseAudio -> pulseaudio != null;
<gchristensen> in other words, if enablePulseAudio is false, who cares if you pass a pulseaudio package
tmaekawa has joined #nixos
<LnL> yeah, that's almost the only place where it's used
<gchristensen> but if enablePulseAudio is true, then you _must_ pass a pulseaudio package
dbmikus has quit [Ping timeout: 264 seconds]
<gchristensen> AntonLatukha[m]: make sense?
<henrycrutcher> no dice -- I set forwarding to on, and have verified that both the container and host are forwarding. no change.
disasm has quit [Ping timeout: 240 seconds]
<henrycrutcher> I think I'm just missign something simple, but forwarding does not help, nor does nat
Fare has joined #nixos
<henrycrutcher> container networking just won't allow any network traffic to go anywhere but the host
<{^_^}> [nixpkgs] @dywedir opened pull request #41648 → flashplayer: fix sha256 hash → https://git.io/vhzYw
PolarIntersect has quit [Ping timeout: 240 seconds]
<AntonLatukha[m]> Ok. As I thought, it is just a basic argument test. If Nix code is right, this assert can be usable only if there is option collisions.
tzemanovic has quit []
PolarIntersect has joined #nixos
<LnL> it's to avoid having eg. annoying cannot coerce null to a string errors
<AntonLatukha[m]> This most common types of assert should be specifically explained in a manual. Because I am not alone.
<AntonLatukha[m]> s/types/type/g
alexteves_ has quit [Remote host closed the connection]
disasm has joined #nixos
<AntonLatukha[m]> Ok. Thank you. It is a implication that launches logical test after binding of values.
<maurer> AntonLatukha[m]: If it helps, it is an implication in the classical sense rather than the intuitionistic sense
<maurer> e.g. (a -> b) translates to ((a and b) or (not a))
<gchristensen> AntonLatukha[m]: it is an extremely low precedencce opertor too
<henrycrutcher> Are there any examples of nixops container configurations that have the container able to talk to any endpoints other than the host? Or is that just not done(tm)
xy2_ has quit [Ping timeout: 265 seconds]
<gchristensen> AntonLatukha[m]: so basically (everything on the left) -> (everything on the right) is implied
<maurer> henrycrutcher: It can be done, this irc session is running from a nixops container. I don't have the time to examine your situation, but rest assured it's possible
<AntonLatukha[m]> Yes, @maurer grahamc thanks, now it is certainly fully explained and understood.
<gchristensen> cool
<henrycrutcher> If containers cannot talk to anyone other than the host, is there a clean way to forward traffic for one other host to the outside and back?
<gchristensen> henrycrutcher: this is only a punting, but maybe https://github.com/NixOS/nixpkgs/tree/master/nixos/tests look at the tests here that include the name container
<gchristensen> lots of network tests in therhe, might have hints
<gchristensen> in particular, maybe the bridge
dbmikus has joined #nixos
mekeor has joined #nixos
sbdchd has joined #nixos
<{^_^}> [nixpkgs] @zx2c4 opened pull request #41649 → wireguard: 0.0.20180524 -> 0.0.20180531 → https://git.io/vhzO2
samtoday has quit [Quit: Quit]
<LnL> henrycrutcher: I think I might have misread your question before, where is the connection problem exactly?
<LnL> pretty sure containers can access the public network, and you can container forward ports
<freeman42x]NixOS> is there a cachix master cache where everyone would push and benefit from? https://cachix.org/
dbmikus has quit [Ping timeout: 276 seconds]
orivej has quit [Ping timeout: 240 seconds]
sbdchd has quit [Ping timeout: 268 seconds]
raynold has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<{^_^}> [nixpkgs] @aszlig pushed to master « autoPatchelfHook: Patch PIC exes/libs as well »: https://git.io/vhz3I
woodson has joined #nixos
<gchristensen> freeman42x]NixOS: it is probably not good idea to blindly use someone else's builds
<freeman42x]NixOS> gchristensen, fair point
hiratara has quit [Quit: ZNC - http://znc.in]
samtoday has joined #nixos
hiratara has joined #nixos
<AntonLatukha[m]> I had couple of rounds in those assert understanding, but I am happy it fully resolved in my head.
matthewbauer has quit [Remote host closed the connection]
<gchristensen> AntonLatukha[m]: every single time I write an assert I have to look up what it means and write out what it is doing on paper
<gchristensen> AntonLatukha[m]: https://github.com/target/nix-fetchers/blob/master/fetch-git/run.nix#L32-L39 these took me like half a daf
matthewbauer has joined #nixos
orivej has joined #nixos
logiq_ has quit [Ping timeout: 265 seconds]
rain1 has quit [Quit: WeeChat 1.9.1]
samtoday has quit [Ping timeout: 248 seconds]
fendor has quit [Quit: Leaving]
matthewbauer has quit [Ping timeout: 256 seconds]
genesis has quit [Remote host closed the connection]
freeman42x[nix] has joined #nixos
goibhniu has quit [Ping timeout: 268 seconds]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor has joined #nixos
aarvar has joined #nixos
kreisys has joined #nixos
Ariakenom has quit [Quit: Leaving]
__monty__ has quit [Quit: leaving]
erasmas has quit [Quit: leaving]
<AntonLatukha[m]> The additional: Manuals show only `assert e1; e2;` that adds to the confusion, that `->` must be some special, and special `accert`.
<AntonLatukha[m]> Sorry I am really sleepy.
samtoday has joined #nixos
<AntonLatukha[m]> Here is bug report on documentation I promised: https://github.com/NixOS/nixpkgs/issues/41650
tzemanovic has joined #nixos
samtoday has quit [Ping timeout: 245 seconds]
offline has joined #nixos
seafood has joined #nixos
blankhart has quit [Ping timeout: 245 seconds]
palo has quit [Ping timeout: 260 seconds]
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
<shachaf> I'm pretty frustrated trying to get X running. Whenever I boot without systemd.mask=display-manager.service, the computer completely freezes (doesn't even respond to SysRq) as soon as it tries to start X. On the next boot, `journalctl -u display-manager.service` is empty. Not quite sure how to debug this.
<shachaf> I've tried services.xserver.videoDrivers = ["vesa"], ["intel"], all sorts of things. And I have hardware.nvidiaOptimus.disable = true; boot.blacklistedKernelModules = ["nouveau"];
<shachaf> (This is a laptop with nvidia optimus but I'd settle for just getting any pixels on the screen at this point.)
<tazjin> shachaf: can you gist your services.xserver and potentially related hardware config options?
<shachaf> Meanwhile it starts up fine in the Ubuntu live CD, not that that tells me much.
<tazjin> shachaf: also, when you attempt to get the journalctl logs, are you specifying which boot to get them from?
<shachaf> I thought it showed them from previous boots automatically?
fendor has quit [Read error: Connection reset by peer]
<shachaf> tazjin: Maybe http://slbkbs.org/nixos-x.txt ?
<tazjin> shachaf: I think that depends (but I'm not sure on what), you could try with `--boot=0` to explicitly request the previous boot
<shachaf> Still nothing.
<shachaf> Not responding to sysrq isn't a good sign.
<tazjin> I'm assuming switching to the consoles also doesn't work?
matthewbauer has joined #nixos
<tazjin> sysrq not working could also be some annoying hardware-related setting about how the key is interpreted
<shachaf> It still shows the login TTY screen on boot just before it tries to start X.
<shachaf> But it's completely frozen.
<shachaf> I mean, sysrq works fine when I boot with systemd.mask=display-manager.service
<shachaf> Also this is ~my only usable computer so I can't run a browser or anything like that.
Fare has quit [Ping timeout: 265 seconds]
<tazjin> shachaf: ah, hmm, that's a bit impractical :) I'm wondering if it has something to do with SDDM as the display manager
<shachaf> I have no special attachment to sddm, happy to use something else.
<shachaf> I kind of doubt that's the problem, though.
<tazjin> try just commenting out that line, it'll default to something (slim I think?)
<gchristensen> give displayManager.lightdm.enable = true; a try
<{^_^}> [nixpkgs] @hamishmack opened pull request #41652 → minio: Output server logs & startup in json format → https://git.io/vhzZu
jackdk has joined #nixos
rain1 has joined #nixos
JasonGrossman has joined #nixos
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #41653 → hiawatha: GitHub -> GitLab, clean-up → https://git.io/vhzZF
nico202 has quit [Ping timeout: 265 seconds]
boxofrox has quit [Ping timeout: 276 seconds]
<shachaf> So lightdm seems to have similar problems. It has the advantage (?) of putting X logs in /var/log/X.0.log instead of systemd.
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
palo has quit [Ping timeout: 264 seconds]
<shachaf> So if I set services.xserver.videoDrivers to ["intel" "nvidia"] or ["nvidia"], then X still doesn't start up, but the system doesn't freeze. I guess the problem might be the intel driver?
silver has quit [Read error: Connection reset by peer]
<shachaf> It makes sense that the nvidia driver wouldn't work on its own because the nvidia card isn't connected to the screen directly, it's only meant to be used with optimus.
blankhart has joined #nixos
<shachaf> Maybe I'm missing something about how to use the intel driver? I wouldn't expect it to be too problematic...
sorixelle has joined #nixos
palo has joined #nixos
lanelet has quit [Quit: lanelet]
blankhart has quit [Ping timeout: 245 seconds]
blankhart has joined #nixos
ericsagn1 has quit [Ping timeout: 260 seconds]