worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || 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/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<energizer> chipb: that's probably what i should do
orivej has quit [Ping timeout: 246 seconds]
<energizer> "On my laptop, it takes about 1.5 hours to complete" not bad
orivej has joined #nixos
<infinisil> energizer: I guess it's gonna be a lot worse if you need software with hundreds of dependencies
<chipb> well, for context, I think he means the compile of the minimal bootstrap.
<energizer> i need scipy
<chipb> on the bright side, if you're working somewhere that meters/charges your storage quota, you probably have some level of compute farm available...
<energizer> indeed
<chipb> scipy might not be so bad, but I'm unfamiliar with its dependencies.
<infinisil> energizer: Everything you'll have to build for scipy: https://paste.infinisil.com/3fPgdeay3s
<infinisil> That's `nix-store -qR $(nix-instantiate '<nixpkgs>' -A python3.pkgs.scipy)`
<energizer> $ nix-store -q --requisites /nix/store/vhhz8frksy1ymkqz7zgx452452pdi4f3-scipy-1.4.1.tar.gz.drv | wc -l
<energizer> 281
<infinisil> That's only the source fwiw
<infinisil> The full list that I linked is almost 600 entries long
<chipb> meh. just let it crank overnight.
<chipb> if you want to get fancy, you might consider dividing it up and parallel submitting it across hosts. I think there might be a patch you need to safely do multi-host store database updates on NFS.
<infinisil> If it's only a one-time thing that might be fine
<infinisil> But like, anything extra you want to do with Nix is just gonna be so much slower
<infinisil> Like, updating packages will mean recompiling everything. Adding a package means compiling a whole lot more
<infinisil> So I'd really only use this as a last-ditch effort
<infinisil> Just having a `/nix -> /home/energizer/nix` bind mount would be *so* much easier
<chipb> assuming you can work it out with your admins. yep.
<infinisil> Yea
<chipb> I suspect it might not be the case if Cent6 is the environment they're stuck on. D-:
xd1le has quit [Ping timeout: 260 seconds]
<energizer> we'll see
xd1le has joined #nixos
superherointj has quit [Quit: Leaving]
kreyren has quit [Remote host closed the connection]
<chipb> if I were to do it again, I would probably see about at least stabilizing stdenv so I didn't have to rebuild the world on a "directly-used"f package update.
kreyren has joined #nixos
<chipb> fortunately, I'm soon to be off C6 and onto SLES12 which has unprivileged userns available.
<{^_^}> [nixpkgs] @romildo opened pull request #94691 → mate.marco: 1.24.0 -> 1.24.1 → https://git.io/JJKXD
kuramashinobi13[ is now known as xeaal[m]
Darkmatter66 has joined #nixos
Darkmatter66_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @mweinelt opened pull request #94692 → beets: apply patch to fix incompatibilites with python 3.8 → https://git.io/JJKXx
BlessJah has quit [Ping timeout: 264 seconds]
BlessJah has joined #nixos
kreyren has quit [Remote host closed the connection]
gentauro has quit [Ping timeout: 240 seconds]
marcusr has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJK1L
<{^_^}> [nixpkgs] @peterhoeg merged pull request #78166 → nixos/lcd: add support for Logitech LCD → https://git.io/JvLJc
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/JJK1q
<energizer> i think i'm gonna get rejected
gentauro has joined #nixos
noudle has quit []
shibboleth has quit [Quit: shibboleth]
selfsymmetric-mu has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
terribleArtist has quit [Quit: WeeChat 2.8]
maier has joined #nixos
maier has quit [Ping timeout: 264 seconds]
pr06lefs has quit [Ping timeout: 244 seconds]
chkno has joined #nixos
xwvvvvwx has quit [K-Lined]
lambda-11235 has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #94686 → gtg: init at 0.4.0 (Getting Things GNOME) → https://git.io/JJKKR
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJK1N
iyzsong has quit [Read error: Connection reset by peer]
proofofkeags has quit [Ping timeout: 246 seconds]
iyzsong has joined #nixos
kalbasit has joined #nixos
griff_ has joined #nixos
<{^_^}> [nixpkgs] @costrouc opened pull request #94693 → Python dask gateway init → https://git.io/JJKMI
<{^_^}> [nixpkgs] @mweinelt opened pull request #94694 → ssh-audit: 1.7.0 -> 2.2.0 → https://git.io/JJKML
matthewcroughan3 has joined #nixos
h0m1 has quit [Ping timeout: 246 seconds]
matthewcroughan has quit [Quit: Connection closed]
matthewcroughan3 has quit [Client Quit]
matthewcroughan has joined #nixos
matthewcroughan5 has joined #nixos
h0m1 has joined #nixos
griff_ has quit [Ping timeout: 265 seconds]
matthewcroughan5 has quit [Client Quit]
griff_ has joined #nixos
matthuszagh has joined #nixos
<matthuszagh> is it possible to use unfree packages with nix flakes? I'm currently getting an error to this, but am not sure how to signal unfree = true; in the context of flakes
<matthuszagh> The unfree package also requires a nix-prefetch-url call, which I've already done
quinn has joined #nixos
tsrt^ has quit []
proofofkeags has joined #nixos
nehsou^ has joined #nixos
ManiacOfMadness has joined #nixos
sigmundv has quit [Ping timeout: 265 seconds]
kreisys has joined #nixos
<kreisys> I can't for the life of me figure out how to make flakes add `submodules = true;` to the `self` input :|
proofofkeags has quit [Ping timeout: 240 seconds]
fatjedi[m] has joined #nixos
<daddy_james[m]> Is there a package for ffplay?
<ben> I think it just comes with ffmpeg?
<infinisil> ,locate bin ffplay
<{^_^}> Found in packages: ffmpeg-full
multun has quit [Ping timeout: 240 seconds]
lewo has quit [Remote host closed the connection]
multun has joined #nixos
lewo has joined #nixos
<dxb[m]> is it possible to cross compile docker images for arm? i tried crossTools or whatever but it still puts amd64 binaries in the container
<daddy_james[m]> I can’t use ffmpeg-full since it’s broken on 32-bit :(
<daddy_james[m]> Guess I’ll just have to use vlc
evax has joined #nixos
<matthewcroughan> Is colemickens around?
matthewcroughan has quit [Quit: Connection closed]
matthewcroughan has joined #nixos
vikingman has joined #nixos
<matthewcroughan> dxb[m] I'd also like an answer to the docker cross compile stuff
<vikingman> hi i got a problem i try to get display output on a secondary gpu
griff_ has quit [Ping timeout: 260 seconds]
<dxb[m]> , help
<{^_^}> Invalid command syntax
<dxb[m]> ,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
<dxb[m]> ,
<{^_^}> Special commands: find tell locate expand inclusive-language random-pr - Commands sorted by use count, page 0 (use ,<n> to view page <n>): help libraries unstable tofu paste escape'' escape" ping -a library channels overlay ifd pinning unfree profiling ask botsnack which-channel xml pr tofu-vim xy fancy-uninstall imperative wololo nixlang++ cache pointers pills invite runtimedeps home-manager stateversion thesis exec matrixbridge smart-questions
rajivr has joined #nixos
griff_ has joined #nixos
fatjedi[m] has left #nixos ["User left"]
proofofkeags has joined #nixos
drakonis has quit [Quit: WeeChat 2.8]
fatjedi[m] has joined #nixos
lunaa has joined #nixos
<bqv> ,locate xvfb
iqubic has joined #nixos
<{^_^}> Found in packages: xvfb_run, python27Packages.xvfbwrapper, python37Packages.xvfbwrapper, python38Packages.xvfbwrapper, python27Packages.virtual-display, python37Packages.pytest-services, python37Packages.virtual-display, python38Packages.pytest-services, python38Packages.virtual-display, python27Packages.pytest-server-fixtures, python37Packages.pytest-server-fixtures, python38Packages.pytest-server-fixtures
<bqv> ,locate bin xvfb
<{^_^}> Found in packages: xvfb_run
<lunaa> I recieved a security advisory for Glibc 2.32 today, since it is being exploited in the wild. Anyone know if there is an update coming for it?
<lunaa> I can start trying to set it up, I just want to know if anyone is aware of anything... more difficult about updating.
proofofkeags has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
<matthewcroughan> colemickens your whole project seems to be failing with meson requiring >=0.54.0?
<tpw_rules> lunaa: information?
<tpw_rules> it says before 2.32
<lunaa> yes. nixos is on 2.30 for nixpkgs.
<tpw_rules> did you mean to write 2.30 then?
<lunaa> or at least mine... Correct me if wrong.
<lunaa> No, I said before 2.32... because the CVE is for 2.32.
<tpw_rules> you said for 2.32
<lunaa> Oh, I guess I missed the word "and before"?
<tpw_rules> irregardlessly i'm curious about reports of it being exploited in the wild. it doesn't seem all that exploitable
<tpw_rules> especially because many programs don't use long doubles afaik
<lunaa> *just checked* Nope, you are right. I've been reading things wrong, today. No reports of exploit in the wild.
<lunaa> sorry about that.
pr06lefs has joined #nixos
emmanuel_erc has joined #nixos
terribleArtist has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
<terribleArtist> howdy, im having trouble disabling lightdm, its telling me i have a confligh with disabling it, in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/x11/xserver.nix', but im not sure how to go about resolving that conflict, any ideas?
spacefrogg has joined #nixos
gv has quit [Remote host closed the connection]
<terribleArtist> i cant run a rebuild with it enabled because its failing to build python2.7 for some reason
pjt_tmp has joined #nixos
maier has joined #nixos
<terribleArtist> actually it might not be lightdm not sure why i thught it was that, heres a pastebin: https://pastebin.com/KNAiugV5
gv has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
maier has quit [Ping timeout: 256 seconds]
nehsou^ has quit []
<matthewcroughan> Hmm. Can someone help me figure out how to use https://github.com/colemickens/nixpkgs-wayland#usage ?
<matthewcroughan> I don't know what channels or overlays are. But it must be simple, right?
<clever> matthewcroughan: the example usage tells you exactly what to add to configuration.nix
<matthewcroughan> Indeed, but this is not all I need to do.
Hrq[m] has joined #nixos
<matthewcroughan> Since stuff is build against nixos-unstable, I guess this is why I'm getting the output of failed builds since my MESON is 0.52.0 and 0.54.0 is required.
<matthewcroughan> This is just my judgement, I don't know if that's actually true, maybe you can tell me if it is :P
<matthewcroughan> I indeed have a file `wayland.nix` and `configuration.nix`. And `configuration.nix` imports `./wayland.nix`. But I think I have to use an overlay? Whatever that is?
Hrq[m] has left #nixos ["User left"]
orivej has joined #nixos
<matthewcroughan> meson.build:1:0: ERROR: Meson version is 0.52.1 but project requires >=0.54.0
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0507ba3b0bc (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Supersonic112 has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
Supersonic has quit [Ping timeout: 272 seconds]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @marsam opened pull request #94695 → postgresqlPackages.smlar: init at 2020-04-08 → https://git.io/JJKSb
<matthewcroughan> clever sorry to ping you, did you read what I said or are you busy? :D
<clever> bit busy with other things
<matthewcroughan> Ya, I shouldn't be doing this either, I'm wasting time when I should be doing something else haha
<matthewcroughan> But nix is so addictive
<sasyctu[m]> Not sure how much I agree with that. I really like nix conceptually but every time I just want to do some graphics programming nix is sitting in the way preventing me from linking to X11, lol
<dxb[m]> matthewcroughan have you tried using unstable instead?
<matthewcroughan> How do I switch?
<matthewcroughan> So is that a channel that you're asking me to switch to? Is that the right terminology?
<dxb[m]> yes
proofofkeags has joined #nixos
<terribleArtist> has anyone had a look at my urwid issue? its preventing me from running rebuild
<matthewcroughan> dxb[m] Is there no way I can do this without updating my whole system to unstable?
<matthewcroughan> How does this work?
<clever> ,unstable matthewcroughan
<matthewcroughan> When you say "Have you tried using unstable?" I don't really know what you're talking about, since I lack the context.
<matthewcroughan> clever does the issue up top on the note still apply?
<clever> matthewcroughan: the faq link says how to get just mesa from unstable, but get the rest from your stable channel
<matthewcroughan> the issue is closed but I see no commentary to suggest it's not an issue
kalbasit has quit [Ping timeout: 264 seconds]
<matthewcroughan> Also, I was wanting to write some stuff for the Nix Wiki, how do I go about getting involved in that?
<matthewcroughan> Is it like the Arch Wiki? Or do I need to go through official routes?
<clever> not sure, it has had problems with spam in the past
<dxb[m]> that issue is closed with a fix being merged back in feb… i doubt it's still an issue
<matthewcroughan> I also don't see any accreditation anywhere, how doe accreditation for writing work?
jybs has joined #nixos
<terribleArtist> am i able to see which packages in my store rely on a certain package?
<clever> terribleArtist: nix-store -qR
<clever> terribleArtist: and nix why-depends
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<terribleArtist> oh, i cant run nix why-depends on the package im having an issue with because it tries to build it and hits the same error im hitting on a system rebuild :(
griff_ has quit [Quit: griff_]
<clever> terribleArtist: and also `nix-store -q --tree`
<terribleArtist> ahh i cant figure out how these are working, they say they cant find nixpkgs.python27Packages.urwid
<clever> terribleArtist: run `nix-store -q --tree` on the final .drv for nixos, it should be near the bottom of what `nixos-rebuild dry-run` wants to build
proofofkeags has quit [Ping timeout: 240 seconds]
lunaa has quit [Ping timeout: 265 seconds]
griff_ has joined #nixos
<terribleArtist> hmm ok, so its a problem with wicd building
xd1le has quit [Ping timeout: 260 seconds]
<terribleArtist> is there a way i can use override to disable the testing phase in the wicd derivation?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/29fc5af5767 (from 29 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<clever> terribleArtist: just use an override against wicd
<{^_^}> [nixpkgs] @marsam opened pull request #94696 → reviewdog: 0.10.1 -> 0.10.2 → https://git.io/JJKdO
<matthuszagh> im attempting to build a custom python package in a flake and i keep getting a setuptools import error even though I've specified setuptools as a build input
<matthuszagh> i can't figure it out. a build expression with the same exact version of nixpkgs works outside of flakes
<terribleArtist> override it to what clever?
<clever> terribleArtist: use .overrideAttrs to set doCheck = false;, examples are in the manual
<terribleArtist> im still getting errors, seems like more than just wicd relies on urwid
<terribleArtist> do i have to find every package that relies on it and override it? im not sure i can run this at the moment
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
Fare has joined #nixos
tsruser has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #93251 → vimplugins: add localvimrc, golden-ratio, and vim-rails → https://git.io/JJG9y
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JJKdV
<matthuszagh> ok, interestingly i don't even need to provide setuptools to my buildPythonPackage outside of a flake
<matthuszagh> i wonder if nix_run_setup gets its dependencies a different way?
<{^_^}> [nixpkgs] @marsam opened pull request #94697 → python3Packages.scrapy: 2.2.1 -> 2.3.0 → https://git.io/JJKdD
lambda-11235 has quit [Max SendQ exceeded]
lambda-11235 has joined #nixos
Streetwalrus has joined #nixos
<matthuszagh> i saw some note in nixpkgs saying setuptoolsbuildphase needs to get deps via nativebuildinputs, but i've tried this too and it has no effect
moet has joined #nixos
justanotheruser has joined #nixos
orivej_ has joined #nixos
orivej has quit [Read error: Connection reset by peer]
kalbasit has joined #nixos
terribleArtist has quit [Ping timeout: 260 seconds]
stephaneyfx_ has joined #nixos
stephaneyfx has quit [Read error: Connection reset by peer]
cript0nauta has joined #nixos
HumanJohn[m] has joined #nixos
simba1 has joined #nixos
Shock86 has joined #nixos
Shock86 has left #nixos [#nixos]
Rusty1 has quit [Quit: WeeChat 2.3]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
cole-h has joined #nixos
orivej has joined #nixos
gthm has joined #nixos
zupo has joined #nixos
maier has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #85607 → alot: Use bundled theme files → https://git.io/JfTep
<{^_^}> [nixpkgs] @jonringer pushed commit from @kirelagin to master « alot: Use bundled theme files »: https://git.io/JJKbz
petar has joined #nixos
zupo has quit [Ping timeout: 246 seconds]
maier has quit [Ping timeout: 265 seconds]
drakonis has quit [Quit: WeeChat 2.8]
xwvvvvwx has joined #nixos
zupo has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #94638 → lxd: 4.3 -> 4.4 → https://git.io/JJonF
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJKbj
zupo has quit [Client Quit]
<{^_^}> [nixpkgs] @marsam merged pull request #94696 → reviewdog: 0.10.1 -> 0.10.2 → https://git.io/JJKdO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJKN3
pr06lefs has quit [Ping timeout: 260 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
wallacer3 has quit [Ping timeout: 240 seconds]
Fare has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
iyzsong has joined #nixos
wallacer3 has joined #nixos
<{^_^}> [nixpkgs] @delroth opened pull request #94698 → nixos/agetty: allow overriding the login program and options → https://git.io/JJKNQ
xelxebar_ has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
xelxebar has joined #nixos
maier has joined #nixos
gthm has quit [Ping timeout: 246 seconds]
moet has quit [Quit: leaving]
orivej has quit [Ping timeout: 240 seconds]
moet has joined #nixos
orivej has joined #nixos
cole-h has quit [Quit: Goodbye]
<{^_^}> [nixpkgs] @Mic92 opened pull request #94699 → Revert "linux: Init 5.8" → https://git.io/JJKAM
palo1 has joined #nixos
<matthewcroughan> clever I'm using the cache for nixpkgs-wayland, but it seems not to have saved me.
<matthewcroughan> I still get the meson problem.
<matthewcroughan> copying path '/nix/store/m88vy4ijw1gqrrvp98c1rbkamliifi0d-mbedtls-2.16.3' from 'https://cache.nixos.org'...
<matthewcroughan> After this, I still get " Meson version is 0.52.1 but project requires >=0.54.0"
<clever> the cache wont fix any build errors
<clever> and the cache can only help if you use the exact same channel as the cache was built with
<matthewcroughan> Oh, someone in Discord suggested it would :(
<clever> thats not how the cache works
<matthewcroughan> "if you use the binary cache you wont have to build the package, then you wont have to change to the unstable channel"
<matthewcroughan> Hm7 on the unofficial discord, is this 100% wrong? :D
<clever> the binary cache only lets you skip building, if the cache already built it in exactly the same way
orivej has quit [Ping timeout: 256 seconds]
<clever> if the build is failing, then the cache would also fail to build it, and be of no use
<matthewcroughan> So if I wanna get stuff done I should just switch to the unstable channel for a bit, and I can always switch back
<clever> yep
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
orivej has joined #nixos
<matthewcroughan> And do that all I have to do is `sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos` and then switch --upgrade?
<clever> yep
<matthewcroughan> so when I do `nix-channel --add` is it really overwriting? What file is this writing to?
<matthewcroughan> This is like sysctl or something in freebsd right? It's just convenience?
<clever> it writes to ~/.nix-channels
<clever> the change doesnt take effect until you run `nix-channel --update` as the same user
<matthewcroughan> I'm not using home manager, so what significance does ~ have ?
<clever> but `nixos-rebuild --upgrade` will run `nix-channel --update` for you
<matthewcroughan> I'm actually quite worried about not using home-manager, since things talk about it a lot
<matthewcroughan> Additionally, I'm worried about when I should and should not be using ~
<clever> because you used sudo, it will be root's home, so /root/.nix-channels
<matthewcroughan> for example, /etc/nixos/dotfiles
<matthewcroughan> I'm not used to using it, and programs are still putting their crap in ~./config,
moet has quit [Quit: leaving]
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
simba1 has quit [Ping timeout: 260 seconds]
<matthewcroughan> clever everything has worked in the rebuild, but I can't see any of the apps on my path, what gives?
<matthewcroughan> I'm using the exact example usage from the nixpkgs-wayland repo
<clever> matthewcroughan: the example only adds a vnc thing to the systemPackages
<matthewcroughan> yeah but that's not even available on my path
<clever> the binary name may not match the package name
<matthewcroughan> Oh, I changed it to obs-wlrobs
<matthewcroughan> how can I search? :V
<clever> v<tab><tab> and s<tab><tab>
<pjt_014[m]> hi! I'm looking to make a custom install iso (done it before), but I don't like not remembering what custom things I've put in the package list, or being unable to remove them at a later date post-install. Is there any good workaround for that concern?
<matthewcroughan> No, I mean for package name vs binary name
<matthewcroughan> e.g on arch I can `pacman -Ql packagename` to list all the files on disk related to the package
<clever> matthewcroughan: nix-env can search, but only if its loading the overlay, which requires doing something in ~/.local/nixpkgs/overlays i think
<clever> matthewcroughan: if you build it with nix-build, you can then look at every file it provides
<clever> the logs from nixos-rebuild will also show the paths it made
<pjt_014[m]> Like would altering the default config file be reasonable/possible?
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<matthewcroughan> `environment.systemPackages = with pkgs; [ obs-wlrobs chromium ];` is this supposed to have the packages comma separated?
<matthewcroughan> clever
<clever> matthewcroughan: lists dont use comma on nix
<matthewcroughan> so no comma is fine?
<clever> yes
<matthewcroughan> space separated list? :D
<matthewcroughan> nice
<clever> newlines also work
<matthewcroughan> so like bash, nice
<matthewcroughan> just shell stuff
<jonringer> white space delimited
<clever> tabs are evil
<jonringer> agreed
<matthewcroughan> I wonder if I'll get chromium working with wayland magically out of the box
<matthewcroughan> without compiling it
<matthewcroughan> Oh please lord.
<matthewcroughan> IT DID IT.
<clever> depends on if hydra pre-built it with wayland support
<matthewcroughan> >unable to open x display GRRRR
<matthewcroughan> Am I not going to get this? Isn't this what I'm going to get by adding it there?
<clever> that would tell your pc how to build it with wayland maybe
<matthewcroughan> oh the package name is different, it's `chromium-dev-ozone`
<matthewcroughan> error: undefined variable 'chromium-dev-ozone' at /etc/nixos/wayland.nix:9:58 ?
<matthewcroughan> environment.systemPackages = with pkgs; [ obs-wlrobs chromium-dev-ozone ];
<matthewcroughan> is this a prank? LOL
<clever> why do you think its called chromium-dev-ozone ?
<matthewcroughan> the readme says nixpkgs-chromium provides a package with the name `chromium-dev-ozone
<clever> and did you add it to nixpkgs.overlays?
<clever> this isnt an overlay, it returns the package directly
<clever> so you would do something like
<matthewcroughan> I don't quite know what this implies.
<matthewcroughan> I have not yet used overlays at all.
<matthewcroughan> I have only used cachix.
<clever> let chromium-dev-ozone = (builtins.fetchTarball "https://github.com/colemickens/nixpkgs-chromium/archive/master.tar.gz); in
<clever> oops
<clever> let chromium-dev-ozone = import (builtins.fetchTarball "https://github.com/colemickens/nixpkgs-chromium/archive/master.tar.gz); in
<matthewcroughan> What is that?
<clever> the answer
<matthewcroughan> I don't know enough about nix yet to know what you're trying to tell me.
<clever> throw your entire wayland.nix into a pastebin
<matthewcroughan> https://termbin.com/vpl3
<matthewcroughan> Oh this helps so much more than you realise, I learn by diffs <3
<matthewcroughan> Monkey see monkey do.
<clever> thats why i always use gist as my pastebin
jonringer has quit [Ping timeout: 256 seconds]
<matthewcroughan> I have a gistme script, but it's on my laptop lol
<matthewcroughan> do you have a short way of doing it?
<clever> nix-env -iA nixos.gist
<clever> > pkgs.gist.meta.description
<{^_^}> "Upload code to https://gist.github.com (or github enterprise)"
<matthewcroughan> posix pls :P
<clever> then just `gist -p wayland.nix` to upload
<matthewcroughan> e.g I just did `cat /etc/nixos/configuration.nix | nc termbin.com 9999`
<clever> > pkgs.gist.src.urls
<{^_^}> [ <CODE> ]
<clever> > :p pkgs.gist.src.urls
<clever> it has to deal with authentication, gist doesnt allow anon uploads
<matthewcroughan> Oh yeah damn, someone should make an anon diffing service
<matthewcroughan> glorydiff.xxx
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
<{^_^}> [nixpkgs] @flokli merged pull request #94699 → Revert "linux: Init 5.8" → https://git.io/JJKAM
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJKhP
<clever> matthewcroughan: also, what i typed, is already in the example: https://github.com/colemickens/nixpkgs-chromium#usage-1
<matthewcroughan> missing one " on the eend of the tar.gz
<clever> oops, gist normally shows those
<matthewcroughan> error: syntax error, unexpected ';', expecting ')', at /etc/nixos/wayland.nix:6:126
<matthewcroughan> Oh yeah why is there a rogue )#
<matthewcroughan> Oh I'm an idiot
<matthewcroughan> them dang syntaxes
<matthewcroughan> what's the plural of syntax?
<matthewcroughan> tax?
spudly has quit [Ping timeout: 260 seconds]
spudly- is now known as spudly
serrvan has joined #nixos
<matthewcroughan> clever seems I'm running into this issue now https://nixos.wiki/wiki/Intel_Graphics
<matthewcroughan> failed to load driver: iris
<matthewcroughan> should this be in hardware config?
<{^_^}> [nixpkgs] @danieldk merged pull request #93653 → mkl: 2020.1.217 -> 2020.2.254 → https://git.io/JJlZG
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJKhH
<dxb[m]> matthewcroughan i think you'd have an easier time making sense of this stuff if you read those 2 links i sent yesterday. the blog one about terminology, and the manual entry that describes the types in the expression language
<clever> hardware-configuration.nix usually shouldnt be edited
<matthewcroughan> I still have those bookmarked, but I want to actually use this laptop for something later today, so I want to get a simple video conferencing setup going :D
<matthewcroughan> which just means docker and chromium with working video sharing, then I can dig in.
<matthewcroughan> (on wayland) haha
<matthewcroughan> I do still have those bookmarked, don't worry, I'm not going to neglect them.
<matthewcroughan> what is this "config = {" stuff?
<matthewcroughan> I don't get it. That's not included anywhere.
nixuser has joined #nixos
<matthewcroughan> instead, I have { config, pkgs, ... }: right at the top of my config, but this wiki page is telling me to do `config = {` and define a set?
<clever> matthewcroughan: all nixos modules have 3 top level keys, options, config, and imports
<clever> matthewcroughan: if both options and config are missing, it will automatically wrap your entire module with config = { ... }; for you
mariatsji has joined #nixos
<matthewcroughan> clever so if I'm going to shove this into my configuration.nix, I have no idea about the syntax, can you show me?
<clever> matthewcroughan: remove the config={ and matching };
<matthewcroughan> and matching?
<clever> the }; that is at the same indent level
<matthewcroughan> I just don't know what you're talking about
<matthewcroughan> You have the curse of knowledge.
<clever> you dont have a config = { so you dont have to remove it
matthuszagh has left #nixos ["ERC (IRC client for Emacs 27.1)"]
<matthewcroughan> "at the same indent level" as what?
<matthewcroughan> don't have to remove what?
<clever> as the config = {
<matthewcroughan> Calling that an indent level is a round about way of saying "The start of the file"
<clever> the config = { is in the chromium example
<clever> and its indented by one level
<matthewcroughan> Did I do it right?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d418434d127 (from 27 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
talvdav has joined #nixos
<clever> matthewcroughan: yeah, that looks right
<matthewcroughan> Seems not
<matthewcroughan> syntax is rwrong
<matthewcroughan> error: syntax error, unexpected ';', expecting $end, at /etc/nixos/configuration.nix:67:4
<dxb[m]> <matthewcroughan "Did I do it right?"> imo the best way to answer this is to run it… there's no risk. if you fuck up, it won't run. if it does and you manage to fuck up your system, just roll it back or boot into the previous generation
<clever> line 67 is missing from the gist, cant say whats wrong
<matthewcroughan> ya sec
<matthewcroughan> updated it clever
<clever> matthewcroughan: and also edit the name, so it ends in .nix, then github will syntax highlight
<matthewcroughan> done
<clever> matthewcroughan: line 67 should just be a }
<clever> 67's } matches up to 7's { and that {} pair shouldnt have a ;
<clever> the ; only occurs when you have a key = value; pair
<matthewcroughan> So the wiki is wrong?
<matthewcroughan> Will edit if true
<clever> but 7-67 is just a value
domogled has joined #nixos
<clever> the }; is part of the config = {
<matthewcroughan> ah
<clever> 2020-08-05 03:12:17 < clever> the }; that is at the same indent level
<clever> thats the }; you should have removed
<clever> and there was another } that was there to begin with, that should have been left alone
<matthewcroughan> I see now, but it's hard to talk about this with English.
<clever> the intending is also wrong, making it more confusing to read
<matthewcroughan> Only you could see it, until now when the evaluator has told me.
<matthewcroughan> And with your persistent help :P
<clever> if you fix the indenting, its much more obvious that 6 and 67 are a pair
<clever> and thats just a value, so it doesnt have a ;
<clever> the entire file boils down to { config, pkgs, ... }: { key=value; pairs=value; }
mallox has joined #nixos
<clever> 2020-08-05 03:20:03 < clever> the ; only occurs when you have a key = value; pair
<matthewcroughan> clever holy balls this GPU driver is compiling slow :D
vikingman has quit [Remote host closed the connection]
<clever> ive built chromium before, it takes 12 hours
<matthewcroughan> It's not building chromium. it's building the Iris graphics driver.
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
<matthewcroughan> Oh, apparently it's also building nouveau, and AMD
<matthewcroughan> [763/2041] Compiling C object 'src/amd/vulkan/9198681@@vulkan_radeon@sha/radv_device.c.o'r_textures.c.o'o'Kted3.c.o'Km-protocol.c.o'tocol.c.o'
<{^_^}> [nixpkgs] @danieldk opened pull request #94700 → python3Packages.tokenizers: 0.8.1rc1 -> 0.8.1, fix build → https://git.io/JJKjA
<matthewcroughan> and here I was hoping that `hardware.opengl.enable = true;` would be all I needed hahahah
iqubic has quit [Ping timeout: 256 seconds]
cfricke has joined #nixos
<matthewcroughan> Me every time a `nixos-rebuild switch` works
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #94639 → recursive: 1.052 -> 1.053 → https://git.io/JJocK
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJ6eI
user_0x58 has quit [Ping timeout: 244 seconds]
<matthewcroughan> clever lol, looks like Chromium core dumped haha
<matthewcroughan> mega dump
kalbasit has quit [Ping timeout: 240 seconds]
varun_ has joined #nixos
<varun_> hi
<matthewcroughan> clever everything that wants to use iris core dumps :(
<matthewcroughan> literally everything, including sway :(
<varun_> meaning?
<matthewcroughan> clever what does the intel graphics wiki page mean when it says "Note that you might want additional entries in extraPackages, for example, to enable "accelerated video playback". "
<clever> matthewcroughan: if you want hw accelerated video decode, add something extra
<matthewcroughan> to what? galliumDrivers = [] ?
<clever> to extraPackages
<matthewcroughan> extraPackages isn't instantiated
<matthewcroughan> in the example*
orivej has quit [Ping timeout: 240 seconds]
<clever> but if you dont want hw decode, dont do anything
<matthewcroughan> I do, but I can't even launch programs anymore, so I have bigger problems.
<matthewcroughan> do you think I can't launch programs because of a lack of extraPackages?
orivej has joined #nixos
<clever> unlikely
<matthewcroughan> Everything core dumps. Every single thing.
<matthewcroughan> error 4 in iris_dri.so
<clever> why do you want to use wayland?
<matthewcroughan> sorry, segfault
<matthewcroughan> I want to use Wayland because I want to live in the now.
<matthewcroughan> If I used Arch, this would be simple.
<matthewcroughan> The better question is "Why do you want to use Wayland on NixOS". And the answer is because packaging seems better.
<matthewcroughan> nixpkgs-wayland is lovely, but I can't get graphics working, this is a separate issue surely?
<clever> ive not tried wayland out yet, and ive heard that its still heavily experimental
<matthewcroughan> No. Not at all. You have heard wrong.
<matthewcroughan> It is absolutely stable. Maybe it's newer GPUs that are problematic.
<clever> i also rely on too many X11 only apps, like obs-studio
<matthewcroughan> I have had Wayland running just fine with all the bells and whistles on hardware from 2006 on Alpine, Arch and more.
<matthewcroughan> obs-studio isn't x11 only.
<clever> and monitor capture in chromium
<matthewcroughan> also not x11 only, which is what I'm finding out now.
<clever> last i heard, wayland can only do window capture, not monitor capture
<matthewcroughan> I know there was some weirdness around pipewire versions (many unpatched browsers require the 0.2 libs and xdpw needs 0.3, which is fine if you can get both at once).
<matthewcroughan> that's a quote from danshick in #sway
<Emantor> Wayland can do monitor capture, at least sway with xdg-desktop-portal-wlr. AFAIR there were still some issues related to dma-buf modifiers…
<{^_^}> #94444 (by suhr, 3 days ago, open): `iris` mesa driver segfaults
<matthewcroughan> Looks like a known issue, iris graphics just don't work on nixos right now :/
<matthewcroughan> back to arch I guess
<matthewcroughan> Looking at the stage it's at, it might be fine when I wake up lmao
<Emantor> whats wrong with i965 for the time being?
<matthewcroughan> I dunno, I just didn't look into it.
<matthewcroughan> I just saw the error from Chromium say it could grab IRIS graphics, then googled that.
<matthewcroughan> primeos worldofpeace just so you know I'm having this issue too :P
<matthewcroughan> Sway won't even start, don't know about X
karantan has joined #nixos
<Emantor> What does the sway debug log say?
<matthewcroughan> error 4 in iris_dri.so
<Emantor> You could rebuild your system from nixpkgs master and verify it works.
<matthewcroughan> how?
<Emantor> add -I nixpkgs=/path/to/nixpkgs/repo/on/master/branch
<Emantor> to nixos-rebuild switch
<idontgetoutmuch[> I have a package in which the Makefile does not have a `install` target so I get `make: *** No rule to make target 'install'. Stop.`. It actually creates executables in the current directory. Do I use `preInstall` or `postInstall`? Are there any examples someone can point to?
<matthewcroughan> I don't know what you put after the -l
<matthewcroughan> I don't know what path you're talking about, or what path I should be using in place of your example
<matthewcroughan> I don't know what repo you're talking about
<clever> idontgetoutmuch[: you probably just want `installPhase = ''.....`
<Emantor> You'll need to clone the nixpkgs git repository from github and than provide the path.
<Emantor> btw thats a capital i.
<matthewcroughan> I have to get up in 6 hrs, I gotta get some sleep, I can't do it now, will get back to you later.
<Emantor> gn8 than :-)
<matthewcroughan> unless you can give me an exact command to run whilst I'm asleep
<matthewcroughan> I just have no clue what your nixpkgs= means
<clever> matthewcroughan: nixos-rebuild switch -I nixpkgs=/path/to/nixpkgs/repo/on/master/branch
<matthewcroughan> give me a working example of using not-master, and then we'll talk, I just can't
<matthewcroughan> just give me a working example in another scenario
<matthewcroughan> I don't know what this `/path/to/nixpkgs/repo/on/master/branch` thing is.
<clever> matthewcroughan: the path to a git clone of nixpkgs
<matthewcroughan> It's too abstract, give me a *real* example of *another* scenario. An actual path that would be in use, not a placeholder.
<matthewcroughan> so instead of that, you should say to me "Clone this repo and put -l nixpkgs=<repo-directory>"
<matthewcroughan> What repo? Can you give me a link to the repo?
<Emantor> This is the repo: https://github.com/NixOS/nixpkgs
<matthewcroughan> https://github.com/NixOS/nixpkgs this one?
<Emantor> and its a capital i not l.
* Emantor suggest to install and use a programming font like Source Code Pro.
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to u/kmscon: https://git.io/JJ6eS
<{^_^}> [nixpkgs] @peterhoeg opened pull request #94701 → kmscon: 8 -> unstable-2018-09-07 → https://git.io/JJ6e9
<matthewcroughan> Man, cloning that git is rough hahaha
sangoma has joined #nixos
stephaneyfx_ has quit [Quit: Leaving]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
alexherbo2 has joined #nixos
alexherbo2_ has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #94702 → python3Packages.transformers: enable on all Unix platforms → https://git.io/JJ6vw
simonpe^^ has joined #nixos
<simonpe^^> I'm trying to set up a nix channel to bitbucket by running `nix-channel --add https://...../archive?format=tar.gz mychannel` but looking at the source code for nix-channel it pattern matches agains `.tar.gz$` (note the leading dot), and since it doesn't match it automatically adds `/nixexprs.tar.xz` to the url.
<simonpe^^> Adding a nix-channel from github works, and a lot of us are stuck with company bitbucket servers so IMO this should be supported out of the box by nix-channel
<clever> simonpe^^: &dummyField=anything.tar.gz
<simonpe^^> clever: you truly are clever
<simonpe^^> I didn't think of that
<simonpe^^> clever: The path name 'archive?format=tar.gz&dummy=.tar.gz' is invalid: the '&' character is invalid. Path names are alphanumeric and can include the symbols +-._?= and must not begin with a period. Note: If 'archive?format=tar.gz&dummy=.tar.gz' is a source file and you cannot rename it on disk, builtins.path { name = ... } can be used to give it an alternative name.
bahamas has joined #nixos
<clever> not much you can do, other then host a nixexprs.tar.gz on plain http(s) elsewhere
itshaydendev has joined #nixos
<simonpe^^> It's really not an option, the devops isn't strong with this customer lol. I was thinking of possibly patching and wrapping nix-channel somehow
varun_ has left #nixos ["Leaving"]
<simonpe^^> They have a windows share to store files, that's it
<clever> simonpe^^: one sec
<clever> [clever@amd-nixos:~]$ cat ~/.nix-defexpr/test/foo/default.nix
<clever> import /home/clever/apps/nixpkgs
marsh has joined #nixos
<clever> simonpe^^: nix-env will recursively search ~/.nix-defexpr/ until it either finds a foo.nix or a foo/default.nix, then create a foo in a special set, nix-env -iA foo.hello then refers to that set
<clever> simonpe^^: but as in my example, the foo/default.nix doesnt have to actually be nixpkgs/default.nix, it can be an expr, that imports it, via any means you have
<clever> the `test` part of the dir is basically ignored, but lets you namespace things some, root manages channels_root, you manage channels, test is ignored by nix-channel (unmanaged)
kenshinCH has joined #nixos
<simonpe^^> oh I see
<simonpe^^> but they will also need to be able to do nix-channel --update
<clever> nope
<clever> nix-env just reads ~/.nix-defexpr/ every time you run it
<idontgetoutmuch[> clever: With my simple minded `installPhase = '' mkdir -p "$out"/bin cp heterogeneity $out/heterogeneity '';` I get `builder for '/nix/store/546cd7lk1drkzj7gnz42g0ay92fbvlmx-shell.drv' failed to produce output path '/nix/store/yacn701xs4gd67cm6jihnna3mwbsapx0-shell'`
<clever> and `nix-channel --update` is what modifies ~/.nix-defexpr/channels_root/nixpkgs
<clever> but if you edit ~/.nix-defexpr/ yourself, it takes effect immediate
<clever> ly
<clever> idontgetoutmuch[: does your derivation name name = "shell"; ?
<simonpe^^> oh so you mean I could just write a custom update script that manages a git repo under ~/.nix-defexpr/whatever/repo
<clever> simonpe^^: you could just do: import (builtins.fetchTarball "https://...../archive?format=tar.gz")
<clever> simonpe^^: and then it will just fetch it dynamically, every time it evals
<simonpe^^> oh shit that is true
<simonpe^^> fantastic
<simonpe^^> thanks man, I'll try it out right away
<{^_^}> [nixpkgs] @ckauhaus opened pull request #94703 → python: Apply patch for CVE-2019-20907 → https://git.io/JJ6fl
<simonpe^^> I would like to fix the root issue in nix-channel though as I'd like to contribute :)
zupo has joined #nixos
<idontgetoutmuch[> clever: I don't think so. I have https://gist.github.com/idontgetoutmuch/20da73431d25666ba868dcc49ca501b9 and then `nix-build -I nixpkgs=~/nixpkgs -p PhysiCell`
<clever> idontgetoutmuch[: nix-build and -p arent valid together
<clever> -p is only valid on nix-shell
<clever> idontgetoutmuch[: you want just `nix-build -I nixpkgs=~/nixpkgs`
polezaivsani has joined #nixos
sigmundv has joined #nixos
lsix has joined #nixos
FRidh has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
griff_ has quit [Quit: griff_]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
lambda-11235 has quit [Ping timeout: 265 seconds]
__monty__ has joined #nixos
<matthewcroughan> Emantor clever no, latest nixpkgs didn't solve the issue, wonder what this means.
<simonpe^^> clever: Ive set it up with a file $HOME/.nix-defexpr/unmanaged/rco/default.nix like you said, and I run `nix-env --show-trace --verbose -iA rco.uuu`. The downloded set has a uuu derivation but I'm getting `error: attribute 'uuu' in selection path 'rco.uuu' not found`. I'm not sure how to browse these selection paths or generally how to troubleshoot.
<simonpe^^> Sorry for the noob questions, I'm still learning
<clever> simonpe^^: what are the contents for rco/default.nix?
<simonpe^^> I can see in the trace output that my "channel" is being downloaded properly
orivej has quit [Ping timeout: 240 seconds]
mallox has quit [Quit: WeeChat 2.9]
<simonpe^^> clever: with import <nixpkgs> {}; let url = "http://rco-sto-utv01:7990/rest/api/latest/projects/~SIMONP/repos/tools/archive?format=tar.gz"; in callPackage (builtins.fetchTarball url) {}
orivej has joined #nixos
<clever> simonpe^^: why are you using callPackage? does the tar default.nix return a set or a package?
<simonpe^^> it returns a set
<clever> simonpe^^: can you pastebin that default.nix?
<simonpe^^> clever: https://pastebin.com/WWFWGFm2
lambda-11235 has joined #nixos
graf_blutwurst has joined #nixos
avn has quit [Ping timeout: 256 seconds]
<simonpe^^> clever: and this is the uuu/default.nix https://pastebin.com/uCXj2q8a
alexherbo2_ has quit [Ping timeout: 256 seconds]
<clever> simonpe^^: i would expect that to all work, if you do `nix repl ~/.nix-defexpr/unmanaged/rco` and then try to eval `uuu`, what do you get?
cr4y1 has joined #nixos
cr4y1 has quit [Remote host closed the connection]
<simonpe^^> clever: undefined variable
cr4y1 has joined #nixos
<clever> simonpe^^: `x = import ~/.nix-defexpr/unmanaged/rco` then `x` ?
<simonpe^^> «derivation /nix/store/df23j1s8pix5b75q07bi8mnk77174y4m-vpn.drv»
alexherbo2 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @danieldk opened pull request #94704 → gperftools: fix dlopen() of gperftools AArch64 → https://git.io/JJ6Uo
<clever> simonpe^^: then your default.nix is returning one package, not a set
<simonpe^^> I'm not sure I understand the implications of that
kreyren has joined #nixos
<simonpe^^> More than at a surface level
<clever> simonpe^^: if you eval `x` again, is it the same output?
<simonpe^^> ye
<clever> somethings not right then
<clever> are you censoring the files?
griff_ has joined #nixos
<simonpe^^> it seems to think that the vpn package is the "out"
<simonpe^^> no I'm not
<clever> simonpe^^: https://pastebin.com/WWFWGFm2 is in the root directory of the tar file returned by the url?
<simonpe^^> yes
<clever> try callPackages instead of callPackage?
<simonpe^^> but I think that the last one, vpn is possibly not a derivation
matthewcroughan has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
<simonpe^^> I'm not sure but that one is a `writeScriptBin`
<clever> simonpe^^: in the `nix repl`, do `let url = "http://rco-sto-utv01:7990/rest/api/latest/projects/~SIMONP/repos/tools/archive?format=tar.gz"; in builtins.fetchTarball url`, what is the output?
<simonpe^^> clever: "/nix/store/lp0ivjq6spxys79a3dp727vpyma11n8m-source"
<simonpe^^> which is basically the entire repo
orivej has quit [Ping timeout: 240 seconds]
<clever> simonpe^^: and if you `cat /nix/store/lp0ivjq6spxys79a3dp727vpyma11n8m-source/default.nix`, its the expected content?
<simonpe^^> clever: no, its the contents of vpn/default.nix from inside the repo
<clever> then you need to figure out what went wrong there
<simonpe^^> yeah, but you taught me some new tools so it'll be easier now
knupfer has joined #nixos
<simonpe^^> clever: thanks again for the help
<idontgetoutmuch[> clever: thanks very much 🙂 - I seem to be in business
knupfer1 has joined #nixos
asymptotically has joined #nixos
lambda-11235 has quit [Quit: Bye]
ckauhaus has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
knupfer1 is now known as knupfer
knupfer1 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #93634 → hyx: enable on darwin → https://git.io/JJWpR
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JJ6T7
alexherbo2 has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
knupfer1 is now known as knupfer
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
knupfer1 is now known as knupfer
<ckauhaus> Good morning - has anyone a good pointer on how to set up an in-house Hydra to build our own nixpkgs PRs?
<dminuoso> ckauhaus: Ideally, dont.
<ckauhaus> so better set up a separate CI system?
<dminuoso> What kind of packages is this for? Your own inhouse development?
<dminuoso> Or actual nixpkgs work?
<ckauhaus> nixpkgs PRs - both inhouse and for upstream submission
<dminuoso> Mmm. What do you need the hydra for exactly?
<dminuoso> If it was just internal packages, I'd set up a gitlab-ci, jenkins, or whatever you like, and have the build node just do `nix-build ...`
<ckauhaus> currently Hydra builds release.nix and executes NixOS tests
<ckauhaus> and then exports channels
<dminuoso> Yeah then ignore what I said.
<dminuoso> Different use case
<ckauhaus> ok, will do ;-)
noudle has joined #nixos
<ckauhaus> still the original question: has anyone a good pointer on how to set this up?
pinkieval has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer1 has joined #nixos
<dminuoso> ckauhaus: Thing is just, afaik hydra is a tough perl monster that is mostly good for distributing binary caches.
knupfer has quit [Ping timeout: 246 seconds]
knupfer1 is now known as knupfer
<dminuoso> So I'd still try and roll my own CI with say gitlab-ci, invoking all the nix-* commands you need.
<{^_^}> [nixpkgs] @yoctocell opened pull request #94705 → <!-- To help with the large amounts of pull requests, we would appreciate your reviews of other pull requests, especiall… → https://git.io/JJ6k4
<ckauhaus> Hydra is in fact a Perl monster... thanks for the pointer
<ckauhaus> I think I'll try to travel both roads for a while and see which one is better
<dminuoso> ckauhaus: Let me know what your findings are.
<ckauhaus> sure
ehmry has joined #nixos
knupfer1 has joined #nixos
bahamas has quit [Ping timeout: 256 seconds]
<simonpe^^> clever: ut works now, builtins.fetchTarball seems to modify whatever it downloads and I was too stupid to realize
whald has joined #nixos
<clever> simonpe^^: it should just unpack the tar to a dir, but it may require that the tar contain a subdir, like foo/everythingelse
cjpbirkbeck has quit [Quit: Goodbye, take care]
knupfer has quit [Ping timeout: 246 seconds]
knupfer1 is now known as knupfer
<simonpe^^> yeah, thats what it did. It just merged all the subdirs I had so I had to but everything under a common subdir
<simonpe^^> like 'nixpkgs/default.nix ...'
<clever> ah
<clever> github always generates a dir like that, named after the repo
<simonpe^^> yeah, bitbucket does not :P
ericsagnes has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 240 seconds]
ericsagnes has joined #nixos
knupfer1 has joined #nixos
orivej has joined #nixos
pjt_tmp has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
<whald> hi! i'm currently writing a derivation for a cmake project. problem is that this app likes to write to /var/... (server-like software). on the cmake side, GNUInstallDirs and CMAKE_INSTALL_LOCALSTATEDIR are used so i think this is pretty much like it should be. but as it stands, the cmake magic in Nix makes the localstatedir end up in the store, which does not work. what's the preferred way to deal with this?
thc202 has joined #nixos
<simonpe^^> clever: one more question about this, would it be possible to install this "unmanaged" channel globally somehow?
<clever> simonpe^^: use something in the global bashrc to mess with ~/.nix-defexpr/
knupfer1 has joined #nixos
<clever> simonpe^^: thats basically how ~/.nix-defexpr/channels_root gets there
<simonpe^^> ok I'll just grep for channels_root and figure it out, thx
<clever> its in the nix source, but gets ran by something in nixpkgs/nixos]
<{^_^}> [nixpkgs] @Mic92 opened pull request #94708 → radare2: 4.4.0 -> 4.5.0; radare2-cutter: 1.10.3 -> 1.11.0 → https://git.io/JJ6I2
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
knupfer1 is now known as knupfer
mariatsji has quit [Remote host closed the connection]
cr4y1 has quit [Remote host closed the connection]
knupfer1 has joined #nixos
GuillaumeChrel[m has joined #nixos
<Mic92> whald: change it to /var and maybe exclude files that it tries to install during installPhase to /var.
<{^_^}> [nixpkgs] @danieldk merged pull request #94652 → kakoune: 2020.01.16 -> 2020.08.04 → https://git.io/JJoFL
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJ6Ib
<whald> Mic92, currently i added cmakeFlags = "-DCMAKE_INSTALL_LOCALSTATEDIR=/var"; to the derivation which seems to do the trick. but it feels a bit hacky, shouldn't this be the default?
<Mic92> whald: I think so. I have not see this variable in the wild yet
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
talvdav has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @domenkozar merged pull request #94430 → ghc-{8.8.3, 8.8.4, 8.10.1}: fix typos → https://git.io/JJaxw
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to haskell-updates: https://git.io/JJ6Lf
knupfer1 has joined #nixos
freeman42x[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
HeN has joined #nixos
yoctocell[m] has quit [Quit: Idle for 30+ days]
GerdFlaig[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
knupfer has quit [Ping timeout: 265 seconds]
knupfer1 is now known as knupfer
alp has joined #nixos
zupo has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
bahamas has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
griff_ has quit [Quit: griff_]
waleee-cl has joined #nixos
knupfer1 has joined #nixos
bahamas has quit [Ping timeout: 240 seconds]
<graf_blutwurst> location correctly but i can't figure out how to start it myself in non daemon mode
<graf_blutwurst> Good morning. Quick question, is there a good way of setting up services within a nix-shell only? I'm working on a webservice and would like to have proxy support. So I'd like to have squid setup within my project only. I added the package but squid refuses to start because it can't access the pid file that it looks for within the actual store which is read only. the service config in the package takes care of setting the PIDFile
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
alexherbo24 has joined #nixos
<graf_blutwurst> ah nvm i think its a config issue that without certain configs it defaults to relative paths to the binary which ends up being in the store
knupfer1 has joined #nixos
meh` has joined #nixos
meh` has quit [Client Quit]
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
doyougnu has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
meh` has joined #nixos
anderslundstedt has joined #nixos
orivej has joined #nixos
snajpa has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.34.4 -> 1.34.5 »: https://git.io/JJ6tR
noudle has quit []
knupfer1 has joined #nixos
wnklmnn has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #94709 → [20.03] signal-desktop: 1.34.4 -> 1.34.5 → https://git.io/JJ6tw
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
fendor has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
janneke has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « isync: 1.3.2 -> 1.3.3 »: https://git.io/JJ6tj
knupfer has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #94162 → ocamlPackages.mustache: init at 3.1.0 → https://git.io/JJuNy
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.mustache: init at 3.1.0 »: https://git.io/JJ6q3
orivej has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
n9nes- has quit [Quit: ZNC 1.8.1 - https://znc.in]
n9nes has joined #nixos
bahamas has joined #nixos
arjen-jonathan has joined #nixos
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
bahamas has quit [Ping timeout: 256 seconds]
malook has joined #nixos
<Taneb> Are there any good ways to package a Python library described as a conda environment for nix?
<{^_^}> [nixpkgs] @mmahut merged pull request #94340 → nixos/modules: add myself as maintainer of several services → https://git.io/JJaLO
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JJ6mk
<{^_^}> [nixpkgs] @mmahut merged pull request #94609 → nixos/dokuwiki: drop SSL forcing and document incompatibility → https://git.io/JJrBG
<{^_^}> [nixpkgs] @mmahut pushed 4 commits to master: https://git.io/JJ6mL
<{^_^}> [nixpkgs] @mmahut merged pull request #94617 → nixos/dokuwiki: add test for login → https://git.io/JJr7z
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JJ6mZ
talvdav has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
ks2048[m] has joined #nixos
Darkmatter66_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 62 commits to staging-next: https://git.io/JJ6mb
<{^_^}> [nixpkgs] @FRidh pushed 66 commits to staging: https://git.io/JJ6mN
Darkmatter66 has quit [Ping timeout: 240 seconds]
smatting_ has joined #nixos
urkk has joined #nixos
<urkk> any option to only donwload the dependencies before nix build?
<urkk> so I can work offline
malook has quit [Ping timeout: 264 seconds]
<immae> urkk: with nix-shell you can drop into a shell where everything (so every dependency) is there except the derivation you’re building
<immae> that’s a workaround but it should work
<urkk> immae: thanks!
jmeredith has quit [Quit: Connection closed for inactivity]
wnklmnn has quit [Ping timeout: 256 seconds]
fendor has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos
mariatsji has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #94681 → systemd: 245.6 -> 245.7 → https://git.io/JJKwO
<{^_^}> [nixpkgs] @FRidh pushed commit from @flokli to staging « systemd: 245.6 -> 245.7 »: https://git.io/JJ6OK
cosimone has joined #nixos
bahamas has joined #nixos
wnklmnn has joined #nixos
bahamas has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7220de19cd4 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
knupfer has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
__monty__ has quit [Quit: leaving]
alp has quit [Ping timeout: 256 seconds]
gxt has joined #nixos
smatting_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @danieldk merged pull request #93954 → finalfusion-utils: init at 0.11.2 → https://git.io/JJ0Bn
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJ63N
malook has joined #nixos
doyougnu has quit [Ping timeout: 256 seconds]
morr has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5be7fe6b27b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @mweinelt merged pull request #92508 → zsh-powerlevel10k: 1.11.0 -> 1.12.0; gitAndTools.gitstatus: 1.1.3 -> 1.2.2 → https://git.io/JJLoU
<{^_^}> [nixpkgs] @mweinelt pushed 3 commits to master: https://git.io/JJ6sX
malook has quit [Quit: malook]
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
alp has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #94624 → nixos/dokuwiki: fix path to ACL → https://git.io/JJrhC
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JJ6GI
cosimone has quit [Quit: Quit.]
bahamas has joined #nixos
bahamas has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @oyren opened pull request #94710 → gtg: refactor (description, platform, version, requirement, formatting) → https://git.io/JJ6Gh
hiciu has joined #nixos
<symphorien> is there an overrideRustAttrs like overridePythonAttrs for python packages ?
waleee-cl has quit [Quit: Connection closed for inactivity]
gokkun has joined #nixos
codygman has quit [Read error: Connection reset by peer]
Fare has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
bahamas has joined #nixos
codygman has joined #nixos
<{^_^}> [nixpkgs] @pstn opened pull request #94711 → Fix elementary vala → https://git.io/JJ6nl
<{^_^}> [nixpkgs] @adisbladis merged pull request #94452 → androidenv.build-tools: add libc++ to enable buildToolsVersion 29.0.3 → https://git.io/JJVYd
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JJ6nB
<infinisil> symphorien: I don't think so unfortunately
alp has quit [Ping timeout: 264 seconds]
xd1le has joined #nixos
alp has joined #nixos
lawr3nce has joined #nixos
fendor has quit [Read error: Connection reset by peer]
varun_ has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
kreisys has quit [Ping timeout: 240 seconds]
pr06lefs has joined #nixos
kreisys has joined #nixos
meh` has quit [Quit: I don't want to live on this planet anymore.]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
coderobe has quit [Quit: Ping timeout (120 seconds)]
<{^_^}> [nixpkgs] @marsam merged pull request #94695 → postgresqlPackages.smlar: init at 2020-04-08 → https://git.io/JJKSb
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJ6Cu
<{^_^}> [nixpkgs] @B4dM4n opened pull request #94712 → libreoffice-still: use icu64 → https://git.io/JJ6C2
coderobe has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #94557 → terragrunt: 0.23.31 -> 0.23.32 → https://git.io/JJwtB
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJ6CM
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/JJ6CS
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-20.03: https://git.io/JJ6CQ
<varun_> hi
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<eyJhb> The hell
<varun_>
<varun_>
orivej has quit [Ping timeout: 264 seconds]
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
wnklmnn has quit [Read error: Connection reset by peer]
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
orivej has joined #nixos
<varun_>
<varun_>
<eyJhb> srhb adisbladis gchristensen ?
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
<varun_>
varun_ was banned on #nixos by srhb [*!~varun@45.112.13.223]
varun_ was kicked from #nixos by srhb [varun_]
<adisbladis> eyJhb: I don't have op :/
wnklmnn has joined #nixos
<eyJhb> adisbladis: I thought you were cool.
<eyJhb> Thanks srhb :D
<adisbladis> Oi
<adisbladis> srhb: I think we need to ban eyJhb too
<srhb> np. i'll fix the mask later
<srhb> adisbladis: :P
<eyJhb> srhb basically just got granted super powers. *activate!* :p
<eyJhb> adisbladis: no no no , I have been banned from numerous places before :|
litschi has quit [Ping timeout: 256 seconds]
alp has quit [Ping timeout: 264 seconds]
litschi has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos
sigmundv has quit [Read error: Connection reset by peer]
<itshaydendev> Hey
sigmundv has joined #nixos
<Izorkin> ,locate libcrypto.so
<{^_^}> Found in packages: openssl, libressl, robomongo, scilab-bin, libressl_2_9, openssl-chacha
<itshaydendev> Whoa! That's cool!
<itshaydendev> What other commands are there? Or it it just ,locate?
<infinisil> ,
<{^_^}> Special commands: find tell locate expand inclusive-language random-pr - Commands sorted by use count, page 0 (use ,<n> to view page <n>): help unstable libraries tofu paste escape'' escape" ping -a library channels overlay ifd pinning unfree profiling ask botsnack which-channel xml pr tofu-vim xy fancy-uninstall imperative wololo nixlang++ cache pointers pills invite runtimedeps home-manager stateversion thesis exec matrixbridge smart-questions
Rusty1 has joined #nixos
<itshaydendev> ,botsnack
<{^_^}> Oh thanks, have a cookie yourself
<itshaydendev> Lmao
<infinisil> There are a couple special ones like ,locate, all the others are just key-value put/get
<infinisil> ,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
<itshaydendev> Fair enough. This bot is cool
<infinisil> :D
<infinisil> ,random-pr
<{^_^}> https://github.com/NixOS/nixpkgs/pull/50979 (by hyperfekt, 1 year ago, open): nixos/redshift: rework to use config file
<itshaydendev> I'm assuming there are permissions on it though lol
<itshaydendev> Some random guy just comes along and makes a new command xD
<infinisil> Nah, anybody can define the key/value thing
<itshaydendev> Oh, so people jus don't often?
<itshaydendev> just*
<infinisil> Hasn't been a problem so far
<itshaydendev> Nice. Always good to have a community where you *can* do that lol
<infinisil> Hehe
<infinisil> Oh I also just realize that the special command list is outdated
<infinisil> (I'm the one running most of these bot functions btw)
<itshaydendev> I'm just trying to figure out how to do Neovim with plug properly through Nix
<itshaydendev> "bot functions"? You mean the bot is serverless? *queue laughter*
gxt has quit [Quit: WeeChat 2.9]
<infinisil> ,whomademe
<{^_^}> #<prnumber>, ',command' and '> nix' are implemented in infinisil's backend <https://github.com/infinisil/nixbot> utilizing gchristensen {^_^} frontend <https://github.com/grahamc/ircbot/>. The rest of the features are done by other people's backends
<{^_^}> [nixpkgs] @ckauhaus merged pull request #89271 → eliot-tree: init at 19.0.1 → https://git.io/Jf61c
<{^_^}> [nixpkgs] @ckauhaus pushed 2 commits to master: https://git.io/JJ6Wb
<itshaydendev> :O cool
<infinisil> My code is doing the interactive bits
whald has quit [Remote host closed the connection]
<infinisil> itshaydendev: Check out https://nixos.wiki/wiki/Vim for all vim related things
<itshaydendev> This bot is cool, man. I wish IRC hasn't 'died out' tbh
<itshaydendev> I have looked over that
<itshaydendev> I'm just trying to do it in the **c l e a n**est way
<infinisil> I'm not too familiar with the vim infra, but I think it would be hard to determine a cleanest way
<infinisil> I'd first go for something that works, then figure out if it can be made cleaner
alp has joined #nixos
alp has quit [Client Quit]
kimberky` has joined #nixos
<adisbladis> Did IRC die out? ;)
kimberly`` has joined #nixos
kimberly`` has quit [Max SendQ exceeded]
tsruser has quit [Quit: leaving]
tsruser has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/5e7fb7699c8 (from 30 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @flokli merged pull request #94712 → libreoffice-still: use icu64 → https://git.io/JJ6C2
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJ6la
kimberky` has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @fionera opened pull request #94713 → qt-video-wlr: init at 2020-08-03 → https://git.io/JJ6lr
gustavderdrache has joined #nixos
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
lawr3nce has quit [Remote host closed the connection]
orivej_ has quit [Ping timeout: 256 seconds]
kimberly`` has joined #nixos
kimberly`` has quit [Max SendQ exceeded]
orivej has joined #nixos
rawtaz has joined #nixos
Izorkin has quit [Ping timeout: 240 seconds]
kimberly`` has joined #nixos
kimberly`` has quit [Max SendQ exceeded]
Izorkin has joined #nixos
prescilla22 has joined #nixos
prescilla22 has quit [Max SendQ exceeded]
prescilla22 has joined #nixos
prescilla22 has quit [Max SendQ exceeded]
Snektron has joined #nixos
<Snektron> Hello. I have 2 nixos boxes, and i'm trying to make one forward ipv4 traffic over some port to the other (for which i can only route traffic to it over ipv6)
urkk has left #nixos [#nixos]
zupo has joined #nixos
<Snektron> If i understand correctly, i should be able to use something like network.interfaces.<name>.<protocol>.routes, by specifying 'via'
prescilla22 has joined #nixos
prescilla22 has quit [Max SendQ exceeded]
orivej has quit [Ping timeout: 240 seconds]
<Snektron> My question is that for protocol = ipv4, the documentation says that via is an ipv4 address, and an ipv6 address for the ipv6 variant
orivej has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « Typo »: https://git.io/JJ68z
<Snektron> Is there any way to add a route from ipv4 to ipv6?
<manveru> Snektron: from my experience, you cannot mix protocols in iptables...
<manveru> not sure about routes though
<Dagger> that's not how routes work. you want a reverse proxy (socat or haproxy)
<Snektron> Basically i found this article: https://ungleich.ch/u/blog/how-to-route-ipv4-via-ipv6/
turlando has quit [Ping timeout: 256 seconds]
<Snektron> I think that basically adds a new interface which forwards to the destination, and then binds an ipv4 address to it?
<Snektron> A reverse proxy sounds a lot simpler though
<Dagger> the next-hop address of a route doesn't have to be the same family as the packet that's being routed, but you definitely can't use it to route to a *port*
<Dagger> routes are L2, (TCP/UDP) ports are L4
czrrrr has joined #nixos
<czrrrr> hi
<Snektron> My idea was to simply add a nat rule which forwards only that port
arjen-jonathan has quit [Ping timeout: 260 seconds]
arjen-jonathan has joined #nixos
bahamas has quit [Ping timeout: 265 seconds]
<Dagger> you can't route/forward with NAT. NAT just rewrites addresses -- it's a separate step that happens on top of routing
smatting_ has joined #nixos
pressy has joined #nixos
<Dagger> NAT46 can do what you want (see tayga), but it's a lot more effort than a reverse proxy just for accepting connections on one port
<Snektron> Alright, i'll set up that then. Thanks for the help
sangoma has quit [Ping timeout: 240 seconds]
avn has joined #nixos
pressy has quit [Quit: Hi if you want 10$ after sigh-up and earn more for shopping? Well, https://bit.ly/2C3J1Kk & https://bit.ly/33tb5lx]
<rawtaz> i dont get what needs so much redesign of the website
<rawtaz> isnt it functional as it is?
<Dagger> websites must be redesigned until everybody hates them
<Dagger> or at least I feel like that's how it works looking at other site redesigns
<rawtaz> lol
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<grfn> how do I remove kconfig flags from my nixos kernel?
sangoma has joined #nixos
euandreh has quit [Ping timeout: 272 seconds]
gokkun has quit [Quit: Leaving]
<grfn> my kconfig build is failing due to unused config flags
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nix] @edolstra merged pull request #3864 → Abstract out topo sorting logic → https://git.io/JJETG
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JJ6BJ
orivej has joined #nixos
magnetophon has quit [Ping timeout: 256 seconds]
simonpe^^ has quit [Quit: leaving]
magnetophon has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Quit: No Ping reply in 180 seconds.]
jumper149 has joined #nixos
orivej has joined #nixos
karantan has joined #nixos
<qyliss> grfn: the conclusion I have come to after looking into this for 15 minutes or so is that you can't
<grfn> ughhhhh
<qyliss> Because:
sangoma has quit [Ping timeout: 240 seconds]
<qyliss> Whether option should generate a failure when unused.
<qyliss> Upon merging values, mandatory wins over optional.
<qyliss> And kernel,yes, kernel.no, etc, all set optional = false
<qyliss> So once something has been assigned a value it can't ever be unassigned
<qyliss> grfn: your options are probably patch Nixpkgs or supply a .config yourself
<qyliss> Or possibly generate the .config using the Nix stuff, but do some preprocessing, and then pass that to linuxManualConfig
malook has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
growpotkin has joined #nixos
arjen-jonathan has quit [Ping timeout: 260 seconds]
tsruser has quit [Quit: leaving]
<{^_^}> [nix] @edolstra merged pull request #3730 → Improve hash parsing and errors → https://git.io/JfApe
<{^_^}> [nix] @edolstra pushed 44 commits to master: https://git.io/JJ60T
never_released has quit [Ping timeout: 240 seconds]
knupfer has joined #nixos
nixuser has quit [Read error: Connection reset by peer]
sangoma has joined #nixos
<alexarice[m]> is there an online manual for unstable?
<srhb> alexarice[m]: hydra builds them :)
knupfer1 has joined #nixos
<alexarice[m]> they're not hosted anywhere with a nice url though?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb> alexarice[m]: You can generate a latest succesful url that's stable... Let me try and remember how
<srhb> alexarice[m]: It might also exist elsewhere, I don't know.
arjen-jonathan has joined #nixos
<alexarice[m]> srhb ++
knupfer has quit [Ping timeout: 264 seconds]
knupfer1 is now known as knupfer
<srhb> alexarice[m]: (I only promised stable, not pretty >>)
matthewcroughan has joined #nixos
karantan has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a7dc43b3a96 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
knupfer1 has joined #nixos
<alexarice[m]> ++ srhb
<alexarice[m]> I can't remember the syntax
<srhb> alexarice[m]++
<{^_^}> alexarice[m]'s karma got increased to 3
<srhb> But it's ok :D
<srhb> (the space was the issue)
<alexarice[m]> srhb++
<{^_^}> srhb's karma got increased to 118
<alexarice[m]> the space was the issue
never_released has joined #nixos
karantan has quit [Client Quit]
knupfer has quit [Ping timeout: 264 seconds]
knupfer1 is now known as knupfer
<matthewcroughan> Is the lovely colemickens around?
<{^_^}> [nix] @edolstra pushed to master « Style fix »: https://git.io/JJ60N
iyzsong has quit [Quit: ZNC 1.7.5 - https://znc.in]
<matthewcroughan> I got nixpkgs-wayland running, but every application in the system segfaults with "error 4 in iris_dri.so"
<bqv> https://github.com/NixOS/nixpkgs/pull/93457 can this get some love?
<{^_^}> #93457 (by ju1m, 2 weeks ago, open): apparmor: fix and improve the service
iyzsong has joined #nixos
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Add 2020/07 »: https://git.io/JJ6EJ
never_released_ has joined #nixos
knupfer1 has joined #nixos
<matthewcroughan> >This happens unless I export MESA_LOADER_DRIVER_OVERRIDE=i965. One says that it does not happen with modesetting driver.
<{^_^}> [nix] @edolstra pushed 51 commits to master: https://git.io/JJ6EL
<{^_^}> [nix] @edolstra merged pull request #3830 → Mischellaneous changes to prepare for CA drvs -- contains #3807, #3424, and #3418 → https://git.io/JJZAZ
<{^_^}> [nix] @edolstra merged pull request #3807 → Change types to prepare the way for CA derivations --- contains #3795 → https://git.io/JJO0k
<{^_^}> [nix] @edolstra merged pull request #3424 → hashDerivationModulo: Generalize for multiple fixed ouputs per drv → https://git.io/Jv1l5
<{^_^}> [nix] @edolstra merged pull request #3418 → Generalize `isFixedOutput` in preparation for CA drvs → https://git.io/Jvi6i
knupfer has quit [Ping timeout: 246 seconds]
never_released has quit [Ping timeout: 246 seconds]
drk_lrd_877_ has joined #nixos
malook has quit [Quit: malook]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0aebcb9b6e3 (from 89 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
knupfer1 has quit [Ping timeout: 264 seconds]
never_released has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Add 2020/07 »: https://git.io/JJ6ER
never_released_ has quit [Ping timeout: 240 seconds]
arjen-jonathan has quit [Quit: WeeChat 2.8]
<{^_^}> [nixos-weekly] @domenkozar merged pull request #125 → Call for Content: 2020/07 → https://git.io/JJfvs
<{^_^}> [nixos-weekly] @domenkozar pushed 9 commits to production: https://git.io/JJ6Eo
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Call for Content: 2020/08 »: https://git.io/JJ6EK
<{^_^}> [nixos-weekly] @domenkozar opened pull request #130 → Call for Content: 2020/08 → https://git.io/JJ6Ei
lunaa has joined #nixos
<{^_^}> [nixpkgs] @1000101 opened pull request #94714 → python3Packages.trezor: 0.12.0 -> 0.12.1 → https://git.io/JJ6Ex
never_released has quit [Ping timeout: 246 seconds]
<{^_^}> [nix] @edolstra pushed 9 commits to master: https://git.io/JJ6ue
<{^_^}> [nix] @edolstra merged pull request #3851 → Parse CA derivations using new output variants → https://git.io/JJlPX
proofofkeags has joined #nixos
never_released has joined #nixos
czrrrr has quit [Ping timeout: 260 seconds]
itshaydendev has quit [Quit: itshaydendev]
orivej has quit [Quit: No Ping reply in 180 seconds.]
devalot has joined #nixos
orivej has joined #nixos
never_released has quit [Ping timeout: 265 seconds]
never_released has joined #nixos
cosimone has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
lunaa has quit [Ping timeout: 265 seconds]
never_released has quit [Ping timeout: 240 seconds]
knupfer has joined #nixos
Izorkin has quit [Ping timeout: 246 seconds]
Izorkin has joined #nixos
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
never_released has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
knupfer1 is now known as knupfer
erasmas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
bahamas has joined #nixos
xkapastel has joined #nixos
knupfer1 has joined #nixos
ManiacOfMadness has quit [Ping timeout: 272 seconds]
knupfer has quit [Ping timeout: 260 seconds]
knupfer1 is now known as knupfer
ManiacOfMadness has joined #nixos
knupfer1 has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a7dc43b3a96 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
zupo has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
knupfer1 is now known as knupfer
griff_ has joined #nixos
knupfer1 has joined #nixos
stephaneyfx has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
never_released has quit [Ping timeout: 260 seconds]
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
sputny has joined #nixos
knupfer1 has joined #nixos
<benschza> Is anyone here using Nix on MacOS Catalina? I'm using NixOS, but might be upgrading laptop and using MacOS for a while. What will I miss or find frustrating?
<cransom> probably depends on how heavily you are invested into nixos. macos is still my daily driver and i hit some corner cases once in a while with software incompatibility for supporting developers (like some rails/ruby things) but if it's not too exotic, it's not a battle i fight too often.
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
<{^_^}> [nixpkgs] @jtojnar merged pull request #94710 → gtg: refactor (description, platform, version, requirement, formatting) → https://git.io/JJ6Gh
<{^_^}> [nixpkgs] @jtojnar pushed commit from @oyren to master « gtg: refactor (description, platform, version, requirement, formatting) »: https://git.io/JJ62h
knupfer has quit [Ping timeout: 256 seconds]
<numkem> what's the correct way of doing variable interpolation for a path?
argc has quit [Remote host closed the connection]
<clever> numkem: ./prefix + "/${var}/suffix.txt"
domogled has quit [Read error: Connection reset by peer]
domogled has joined #nixos
<numkem> clever: you can't do path +"${var}" + path right? it's path + string and that's it?
maier has quit [Ping timeout: 265 seconds]
drk_lrd_877_ has quit [Remote host closed the connection]
<clever> numkem: `let var = "foo"; in ./prefix + "${var}"` turns inti `./prefixfoo`
<benschza> cransom are those corner cases specifically for Nix Rails/Ruby dev environments? I suppose there's always the option of native when you're not on NixOS. I'm quite invested into NixOS, but could always use a VM. I share config across my desktop and laptop already.
<clever> numkem: which is almost never what you want
<clever> numkem: path + string always returns a path, but string + path will just turn into a mess
<clever> > "foo" + ./.
<{^_^}> access to path '/var/lib/nixbot/state/nixpkgs' is forbidden in restricted mode
<clever> try that in `nix repl`
<numkem> clever: seems to be ignoring foo in the repl
<numkem> but that did fix my problem for my variable, thanks! clever++
<{^_^}> clever's karma got increased to 492
<clever> nix-repl> "foo" + ./.
<clever> "foo/nix/store/2l8rw29aqs2j1pzgcrapg0992phz0vx9-Documents"
<clever> numkem: it prefixed the path with foo, and now the path is invalid
cfricke has quit [Quit: WeeChat 2.9]
<numkem> clever: your documents are in the nix-store?
<clever> it copied ./. into the nix store
<numkem> interesting
<clever> path + string returns a new path, not yet copied to the store
<numkem> explains why I got a warning it would run out of memory
<clever> string + path will cast the path into a string (triggering the copy), and then append the path of the copy
delirehberi has joined #nixos
domogled has quit [Ping timeout: 260 seconds]
<clever> "${./.}" will also force a copy
<numkem> so any paths, once interpreted will be copied to the store
<clever> once cast into a string, yeah
<clever> ./. + "/foo" will copy only the foo subdir, rather then all of .
<clever> but only when cast into a string, its still a path, so you could + "/../bar" to change your mind about which dir you want
never_released has joined #nixos
czrrrr has joined #nixos
<clever> for extra fun, `toString ./.` wont copy, it will return an absolute path
<cransom> benschza: i'm sure there are other gotchas, i don't know them all. nix-darwin helps, you will likely find some compromises somewhere.
<numkem> right
<clever> but if you treat it as a string, such as "${./.}" or pass it to a derivation, it will copy
<numkem> toString could be rather useful to let it interpret ~ on it's own
<clever> nix-repl> toString ~/.
<clever> "/home/clever"
<numkem> very useful
czrrrr has quit [K-Lined]
<{^_^}> [nixpkgs] @jwiegley merged pull request #94496 → ledger: 3.1.3 -> 3.2.1 → https://git.io/JJVaE
<{^_^}> [nixpkgs] @jwiegley pushed 2 commits to master: https://git.io/JJ6Vf
delirehberi has quit [Remote host closed the connection]
doyougnu has joined #nixos
jakob_rs has joined #nixos
davidv7_ has joined #nixos
fresheyeball has joined #nixos
cole-h has joined #nixos
davidv7 has quit [Ping timeout: 240 seconds]
magnetophon has quit [Read error: Connection reset by peer]
<jasom> I'm strugging to use k3b on NixOS. cdrecord is complaining about permissions; is being in the "cdrom" group insufficient? Do I need an suid helper for cdrecord? If I manually run the cdrecord command k3b constructs as root, it burns successfully
<sphalerite> jasom: what are the permissions on /dev/sr0? did you log out and back in after adding yourself to the group?
<jasom> sphalerite: 'brw-rw----+ 1 root cdrom 11, 0 Aug 5 08:03 /dev/sr0' and yes, typing "groups" shows cdrom listed, and I run k3b directly from that console to be sure (I've actually rebooted even since adding myself to the group, so pretty sure that's not the problem)(
magnetophon has joined #nixos
bahamas has quit [Ping timeout: 260 seconds]
<jasom> ugh; just noticed the "+" on the end;
<clever> jasom: if you run `id`, what groups are you in?
<jasom> clever: uid=1000(aidenn) gid=100(users) groups=100(users),1(wheel),24(cdrom),26(video),27(dialout),59(scanner),67(libvirtd),131(docker),499(wireshark)
<clever> yep, the reboot did the trick there
<clever> what did that + mean, what does `stat /dev/sr0` say about it?
proofofkeags has quit [Remote host closed the connection]
<jakob_rs> The + means it has an ACL
<jasom> clever: neither stat nor getfacl show anything surprising; I'm guessing systemd is doing something
proofofkeags has joined #nixos
<jasom> jakob_rs: not necessarily ACL; just anything other than the basic unix octal permissions
<clever> jasom: lsattr?
<matthewcroughan> clever do you think I'm just gonna have to wait for upstream fixes from Intel?
<clever> brw-rw----+ 1 root cdrom 11, 0 Aug 5 06:32 /dev/sr0
<clever> matthewcroughan: probably
<jasom> lsattr: Operation not supported While reading flags on /dev/sr0
<clever> jasom: i can see the same + on my dvd drive
<jasom> right, probably systemd doing something fancy
jonringer has joined #nixos
<matthewcroughan> Will see what colemickens has to say when he comes back from camping. He has done so much with the IRIS nixpkgs on Github
<clever> [root@amd-nixos:~]# getfacl /dev/sr0
<clever> user:clever:rw-
<clever> jasom: there is something special on it, giving me rw, despite the owner/group saying i shouldnt
<clever> jasom: it might be the fact that i signed in from a physical terminal (display-manager), so it knows i have physical access to the tray
<jasom> oh, probably whatever replaced consolekit in systemd is giving local users permissions
<clever> yeah
<clever> so you dont even need cdrom
<matthewcroughan> clever is there a way I can override unstable? I want to use an older version of mesa.
<clever> you have special access, because you can touch the drive
<clever> matthewcroughan: the same way you used -I nixpkgs=/path/to/clone, but checkout an older revision
<jasom> IIRC cdrecord uses fancy calls via the sg subsystem; perhaps those are not mediated by /dev/sr0 permissions?
<matthewcroughan> clever what do you mean? That effects me whole system.
proofofkeags has quit [Ping timeout: 240 seconds]
<matthewcroughan> I want to use an older version of mesa, alone, not downgrade my whole system.
<clever> matthewcroughan: you can change mesa with an override, but damn near everything depends on mesa, so you would have to rebuild 80% of your software
<clever> matthewcroughan: if you pick a revision from the history file in https://channels.nix.gsc.io/nixos-unstable/ then you will have a good match for cache.nixos.org, and not have to rebuild anything
<matthewcroughan> So if I want to test this, I can't use the cachnix for nixpkgs-wayland, right?
Maxdamantus has joined #nixos
<jakob_rs> Where can I ask for a security-related PR to be backported?
<jakob_rs> As in, I can backport it myself, but it's probably best to ask someone if I should first
<clever> matthewcroughan: if you use overrides to mix versions together, it will silently not use cachix, because cachix doesnt have what you requested
<matthewcroughan> clever what is the format? commit hash and timecode?
<matthewcroughan> what timecode is that?
<clever> matthewcroughan: unix epoch, seconds since jan 1st 1970
<matthewcroughan> ok so not nanoseconds
<matthewcroughan> how can I use date to print the current hmm
<clever> matthewcroughan: run `git show` on a revision, and youll see the commit date
<matthewcroughan> so just git checkout the oldest and try again
<matthewcroughan> :P
<jasom> looking at strace, I see openat(AT_FDCWD, "/dev/sr0", O_RDWR|O_NONBLOCK) = 3 followed much further down by ioctl(3, SG_IO, {interface_id='S', dxfer_direction=SG_DXFER_NONE, cmd_len=6, cmdp="\x01\x00\x00\x00\x00\x00", mx_sb_len=16, iovec_count=0, dxfer_len=0, timeout=200000, flags=SG_FLAG_DIRECT_IO, status=0, masked_status=0, msg_status=0, sb_len_wr=0, sbp="", host_status=0, driver_status=0, resid=0,
<jasom> duration=0, info=0}) = -1 EPERM (Operation not permitted)
<matthewcroughan> clever I did the oldest, how old is that lmao
<matthewcroughan> I get all sorts of errors
<matthewcroughan> and PERL
<clever> matthewcroughan: `git log` will tell you
<matthewcroughan> 0011f9065a1ad1da4db67bec8d535d91b0a78fba
<matthewcroughan> ya but then I have to scroll all down the log, can I `git log` that hash?
<clever> matthewcroughan: yes
<matthewcroughan> ya I can, THAT'S 2017
moet has joined #nixos
<clever> you can also `git show` the hash
<matthewcroughan> no wonder it didn't work, since perl is a dep
<clever> you went too far back :P
<matthewcroughan> git pull now does not work
<matthewcroughan> wtf
<jasom> aha /proc/scsi/sg/allow_dio is "0" so non-root can't perform dio
<Snektron> Hello again. Following my earlier conversation here about reverse proxying ipv4 to ipv6, i've decided to install haproxy to achieve that (as socat only works for a single connection really), but i've gotten myself in some problems
czrrrr has joined #nixos
<Snektron> The main problem is that for the server which is supposed to run haproxy, the systemd unit file doesn't get added
<matthewcroughan> clever now I just get error: The option `console' defined in `/etc/nixos/configuration.nix' does not exist.
<matthewcroughan> lol
<matthewcroughan> I'm on hash 0910b661eb64318773a29f6883d8382088852cfd
<clever> matthewcroughan: 2019, still too old
<matthewcroughan> but that's the last mention of mesa in any commit message :/
<Snektron> It works on my other machine (which i want to forward to). The main difference between the two is that i changed to the nixos-unstable yesterday, as i needed a more recent version of a single package (i didn't know that you could override single packages). I figured an easy way to solve this was to simply re-add the original channel, and replace the single package
<Snektron> But after `nixos-rebuild switch --upgrade`, everything is still running from the unstable versions
<Snektron> So does anyone either know why the haproxy unit doesn't get added, or how i can downgrade back to the stable channel?
<jasom> hmm allow_dio had no effect; the cdrecord man-page indicates "In order to be able to use the SCSI transport subsystem of the OS, run at highest priority and lock itself into core cdrecord either needs to be run as root, needs to be installed suid root or must be called via RBACs pfexec mechanism."
philr has quit [Ping timeout: 264 seconds]
<jasom> really k3b should offer to run the helper programs via sudo
<jasom> instead it just will offer to chmod them to suid with sudo which obviously is a non-starter on nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
euandreh has joined #nixos
codygman has quit [Read error: Connection reset by peer]
bahamas has joined #nixos
codygman has joined #nixos
jakob_rs has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @mweinelt merged pull request #94714 → python3Packages.trezor: 0.12.0 -> 0.12.1 → https://git.io/JJ6Ex
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JJ6wu
<matthewcroughan> clever I'm screwed man
<matthewcroughan> I couldn't build 807ca93fadd5197c2260490de0c76e500562dc05 because Meson version is 0.53.2 but project requires >=0.54.0
talvdav` has joined #nixos
alp has joined #nixos
talvdav has quit [Ping timeout: 240 seconds]
simba1 has joined #nixos
est31 has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 240 seconds]
<clever> matthewcroughan: and if you try a version newer then that? (lower in the list)
jmeredith has joined #nixos
<matthewcroughan> clever ya but it's not that old so my prospects must be low
<jasom> CAP_SYS_RAWIO is needed for low-level scsi commands (I guess they don't want a "w" to /dev/cdrom to allow rewriting firmware?)
orivej has joined #nixos
<clever> jasom: guess it needs some setuid then, or setcap
est31 has joined #nixos
<jasom> clever: thanks
<{^_^}> [nixpkgs] @mweinelt merged pull request #94700 → python3Packages.tokenizers: 0.8.1rc1 -> 0.8.1, fix build → https://git.io/JJKjA
<{^_^}> [nixpkgs] @mweinelt pushed 3 commits to master: https://git.io/JJ6wx
<Snektron> update: i fixed it by running more nixos-rebuild switch. I have no idea why that worked but i'm glad it did
Izorkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<matthewcroughan> I wish I could fix all of my issues with a nixoss-rebuild switch :(
<matthewcroughan> clever I'm stepping back through those hashes 1 by 1.
<matthewcroughan> I didn't really anticipate that using graphics on Nix would be so hard
<clever> matthewcroughan: it depends on which card your using, and other factors
<matthewcroughan> ya but why would it be any easier on other package managers?
Izorkin has joined #nixos
<clever> matthewcroughan: my amd card had horid 2d accel for months (like, i could watch `ls -l` redraw in realtime)
<matthewcroughan> I mean, I've said I want Iris. Presumably this works out of the box on Ubuntu, and I can manage it using apt.
<clever> and i could only fix the 2d accel, by turning 3d accel off! lol
<matthewcroughan> and I wouldn't have to rebuild the whole OS just to switch it
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @vcunat opened pull request #94716 → valgrind: try fixing on darwin → https://git.io/JJ6rY
wnklmnn has quit [Ping timeout: 260 seconds]
<matthewcroughan> clever https://pastebin.com/raw/rmi7z7bf
<matthewcroughan> Saw this pop up, thought it was interesting
<matthewcroughan> It is no longer using the cache, even though I'm using a hash from the list you gave me.
<clever> matthewcroughan: looks like normal ./configure output
<clever> i think you also have an override against the mesa version, to force it to use certain drivers
<clever> so it will always build that part
<matthewcroughan> Hasn't been before now.
<clever> depends on if the dependencies have changed or not
dermetfan has joined #nixos
<matthewcroughan> mesa is definitely being rebuilt lol..
<matthewcroughan> My God that's slow
<cole-h> Why do you need to rebuild mesa?
<bqv> dodgy overlay?
<clever> cole-h: an override to enable a certain driver for a weird gpu
<cole-h> Got it.
<matthewcroughan> And after all that, sway still core dumps :(
<matthewcroughan> xorg does too, fyi
<matthewcroughan> cole-h https://nixos.wiki/wiki/Intel_Graphics#Iris this doesn't work basically
<clever> matthewcroughan: try another card?
<matthewcroughan> yeah lemme just crack this laptop open and get in their with an electron gun
<matthewcroughan> this is the issue as seen on ubuntu
<clever> matthewcroughan: single or dual-gpu?
<matthewcroughan> single
<matthewcroughan> thinkpad t480 intel hd 620
<evanjs> bah. trying to use crate2nix but it's not taking my overrides. what is going onnnn lol
<evanjs> udev would be -> nativeBuildInputs for rust, right? I recall a PR a while back that made buildInputs and nativeBuildInputs a bit stricter
<matthewcroughan> clever I do not have lspci, how would I find out what package it's in?
<clever> ,locate bin lspci
<{^_^}> Found in packages: toybox, busybox, pciutils
<matthewcroughan> ?
<cole-h> pci-utils I think
<clever> matthewcroughan: its in pciutils
<cole-h> Oh, pciutils
<matthewcroughan> oh
<matthewcroughan> 00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07)
<matthewcroughan> And yes it is just this, nothing else.
<matthewcroughan> currently it is using i915: Kernel driver in use: i915
czrrrr has quit [K-Lined]
<matthewcroughan> should it be using iris?
<hexa-> the kernel driver is a different beast than the mesa driver
<matthewcroughan> Do I need to reboot after these changes? Shouldn't it be loading the modules for me?
<matthewcroughan> similarly, shouldn't it be using i965 for this modern gpu not i915?
<matthewcroughan> the bottom line is that what is docced in https://nixos.wiki/wiki/Intel_Graphics#Iris should work, but it does not.
<{^_^}> [nixpkgs] @vcunat pushed to master « valgrind: try fixing on darwin »: https://git.io/JJ6rK
<{^_^}> [nixpkgs] @vcunat merged pull request #94716 → valgrind: try fixing on darwin → https://git.io/JJ6rY
<clever> matthewcroughan: any time kernel stuff is changing, you need to reboot for it to take effect
<matthewcroughan> So, are there additional steps that are needed? I bet there probably are, can someone help me figure it out? Anyone got an intel gpu?
<matthewcroughan> clever how do I know whether this was a kernel level change? I doubt it.
<matthewcroughan> Does this actually include loading/unloading modules?
<clever> 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
<clever> thats what i'm using on my laptop
<clever> X11 just works, without any special config at all
<matthewcroughan> Yes, but I want to use chromium on wayland
<matthewcroughan> sway works before I do this steps
<matthewcroughan> but guess what needs gallium? Chromium!
<clever> matthewcroughan: https://imgur.com/a/QNy3uql
_0bitcount has joined #nixos
<matthewcroughan> blame firefox for having crappy wayland support :P
<matthewcroughan> I need chromium for screensharing
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<evanjs> I just use RDP... unless you mean for collaborative screensharing :P
<evanjs> so glad there's a NixOS option for xrdp tho omg
<matthewcroughan> evanjs what are you talking about?
<matthewcroughan> X11 is not related to this
<matthewcroughan> this is Wayland
<matthewcroughan> But then again, no, gallium segfaults X11 anyway, you haven't read my issue :(
<{^_^}> [nixpkgs] @mweinelt opened pull request #94745 → element-web, element-desktop: 1.7.2 -> 1.7.3 → https://git.io/JJ6oe
mariatsji has quit [Remote host closed the connection]
<evanjs> mmmyup
user_0x58 has joined #nixos
<evanjs> that's what I get for going to bed at 3 XD
<moet> how can i tell which of my dependencies in `nix-build --dry-run` are pulling in which other dependencies?
<evanjs> I did read wayland earlier, even
<evanjs> Delayed processing is not an uncommon thing for me lol
<clever> moet: nix-store -q --tree
<evanjs> on that note.... wishing waymonad was a thing (and in nixpkgs) :P
<evanjs> (a stable, usable thing :P)
<moet> clever: is that going to show the tree based on my current default.nix?
<clever> moet: point it at a .drv file
<moet> clever: woaaohhhh that's awesome
<clever> moet: you can also run it on any output, or a result symlink
<clever> moet: and there is also `nix why-depends`
<bqv> evanjs: ditto... i've settled for velox though
<bqv> it's like dwm but for wayland
<bqv> i've been using it a few months now, it's cosy
orivej has quit [Ping timeout: 240 seconds]
<bqv> and being split into a library and app, leaves things open for a haskell-based implementation like xmonad too
rgrau has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
noudle has joined #nixos
<{^_^}> [nix] @bburdette opened pull request #3897 → error messages for issue 2238 → https://git.io/JJ6oi
bogdb has joined #nixos
jumper149 has quit [Quit: WeeChat 2.9]
<bogdb> hi, trying to make a derivation for a github package that lacks a "make install" target, is there a way to skip the install step?
bogdb_ has quit [Quit: Leaving]
<moet> clever: thanks.. i'm trying to prevent building a bunch of tests, but can't tell what haskell package is pulling them in
<moet> so it's taking forover hah
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @ajs124 opened pull request #94746 → [20.03] Firefox 79 → https://git.io/JJ6Kt
<bogdb> ah yes dontInstall = true;
<moet> clever: ok, the tree was very large and i coludn't tell which packages were actually depending on the thing i was trying to prune ...
ivegotasthma has quit [Ping timeout: 244 seconds]
<clever> moet: use / to search, then scroll up and follow the line
jumper149 has joined #nixos
alp has quit [Ping timeout: 256 seconds]
* clever heads off to bed
jumper149 has quit [Client Quit]
fresheyeball has quit [Quit: WeeChat 2.7.1]
cosimone has joined #nixos
karantan has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
bahamas has quit [Ping timeout: 240 seconds]
higemaru has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
higemaru has joined #nixos
mariatsji has joined #nixos
smatting_ has quit [Ping timeout: 244 seconds]
sigmundv has quit [Ping timeout: 246 seconds]
<alexarice[m]> Should `overrideAttrs` be able to change mesonFlags because it I tried and it doesn't seem to rebuild
<{^_^}> [nixpkgs] @ptrhlm opened pull request #94747 → kanji-stroke-order-font: 4.002 -> 4.003 → https://git.io/JJ6iY
<alexarice[m]> ignore my question it turns out I didn't save my nix file
<slabity> How can I evaluate a single output of a Nix flake? Like if I have one that simply provides `ouputs = { self, ... }: { simpleOutput = 5 + 5; }`, I'd like to just get the value of `simpleOutput`
<{^_^}> [nixpkgs] @lucperkins opened pull request #94748 → osmcli: init at 0.1.0 → https://git.io/JJ6iZ
craftyguy has left #nixos ["WeeChat 2.9"]
rgrau has joined #nixos
<bqv> nix eval '.#simpleOutput'
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spudly has quit [Ping timeout: 265 seconds]
spudly has joined #nixos
spudly has joined #nixos
spudly has quit [Changing host]
graf_blutwurst has quit [Ping timeout: 272 seconds]
cosimone has quit [Remote host closed the connection]
karantan has joined #nixos
<slabity> bqv++ Exactly what I was looking for. Thanks
<{^_^}> bqv's karma got increased to 14
Darkmatter66 has joined #nixos
cosimone has joined #nixos
Darkmatter66_ has quit [Ping timeout: 240 seconds]
jasongrossman has joined #nixos
<jared-w> bqv: how are you liking velox vs sway? (I think sway is the most stable tiling wm on wayland last time I checked?)
proofofkeags has joined #nixos
sangoma has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
orivej has quit [Remote host closed the connection]
orivej has joined #nixos
<bqv> jared-w: i refuse to ever use sway for ideological reasons anyway, but velox is way more hackable, mainly because of it's insanely small and sensible codebase. i much prefer it even without my personal grudges in mind. that said, some things are missing or slightly buggy. the most notable i think is that clipboards seem broken (only briefly looked into why with msf, but seems it wouldn't be too hard
<bqv> to fix?)
<afreakk> i tried permanenty mounting a hdd using this answer, https://unix.stackexchange.com/a/218050 but nixos-generate-config gives me `Failed to execute: btrfs subvol show /mnt/bigdisk` :/ any idea whats wrong?
<srhb> afreakk: does the btrfs command exist?
<afreakk> no
<srhb> I think it might be impurely required
<srhb> Try making sure you have it on PATH, then try again.
justanotheruser has joined #nixos
<afreakk> im pretty sure the hdd is not btrfs, or i thought it was ext4 :p
<srhb> afreakk: Ironically, that command is ran to check that it isn't a btrfs subvolume :)
<srhb> is run*? how to even case...
<afreakk> hm, not sure what package has the btrfs command
<srhb> ,locate bin/btrfs
<{^_^}> Found in packages: btrfs-progs
<srhb> ^ afreakk
<afreakk> aha, now it worked :p
davidv7_ has quit [Quit: Konversation terminated!]
<srhb> That's a bit of an unfortunate side effecty dependency, probably because the installer has a bunch of file system related packages and the generator is seldom used outside of it
wolfshappen has joined #nixos
<{^_^}> [nixpkgs] @Ekleog merged pull request #93846 → epkowa: update hashes → https://git.io/JJRLA
<{^_^}> [nixpkgs] @Ekleog pushed commit from @symphorien to master « epkowa: update hashes (#93846) »: https://git.io/JJ6P7
cjpbirkbeck has joined #nixos
<afreakk> yeah, maybe a bit overkill to use it to mount a hdd, but its nice not having to write fstab stuff myself
<srhb> afreakk: Sure.. Though producing the filesystems attrset from hardware-config.nix by hand isn't that bad, I think.. :)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #94660 → nixos/iso-image: make squashfs compression easily configurable → https://git.io/JJKti
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJ6PA
<afreakk> yeah :p it looked pretty short, the snippet it generated :)
<Ke> yeah, I think generate-config is kind of silly, but it's a nice way to get started
<srhb> I am sure I would have been lost without it on my first install, at least.
serrvan has quit [Ping timeout: 256 seconds]
<afreakk> if you had a tutorial like archlinux install, you could maybe have lived without it
<{^_^}> [nixpkgs] @Ekleog pushed commit from @symphorien to release-20.03 « epkowa: update hashes (#93846) »: https://git.io/JJ6Xf
<srhb> Possibly. I do think our install process has some beauty because of it that I'd rather not be without, though. :)
<afreakk> yeah, the install process is veery quick :p the only thing that took some time was the partitioning
<srhb> Indeed.
<Ke> imo nixos should just default to bloaty generic initrd, and then you just need to configure the mounts, which is not considerably different from writing fstab
__monty__ has joined #nixos
<srhb> Now if only we had declarative partitioning.... :)
<Ke> I include the installler drivers and add some of my own on top
<afreakk> yeah :D
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
cosimone has quit [Remote host closed the connection]
<slabity> How would declarative partitioning work...
<srhb> slabity: Carefully. :)
<bqv> presumably it'd be lossy, by requirement
fresheyeball has joined #nixos
<slabity> "lossy" partitioning?
<slabity> I'm not sure I like the sound of that...
<fresheyeball> does nix have a switch statement?
<bqv> c.f. user management in nixos
<fresheyeball> or do I need to if else to hell
<fresheyeball> ?
<{^_^}> [nixpkgs] @worldofpeace pushed to release-20.03 « Revert "pantheon.elementary-files: 4.4.3 -> 4.4.4" »: https://git.io/JJ6XB
<{^_^}> [nixpkgs] @worldofpeace closed pull request #94711 → build elementary-files with vala 0.48 → https://git.io/JJ6nl
<{^_^}> [nixpkgs] @KoviRobi reopened pull request #94234 → Spacenav nixpkgs → https://git.io/JJgdI
<{^_^}> [nixpkgs] @worldofpeace pushed 92 commits to staging-20.03: https://git.io/JJ6X0
mallox has joined #nixos
<slabity> fresheyeball: Not sure about a switch statement, but if you just need to select an expression from a bunch of different ones, you could use a set or list
jD91mZM2 has joined #nixos
<fresheyeball> slabity: oh good call
drakonis has joined #nixos
jasongrossman has quit [Ping timeout: 240 seconds]
domogled has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #94749 → [20.03] vala: 0.46.5 -> 0.46.12 → https://git.io/JJ6Xr
sangoma has quit [Ping timeout: 256 seconds]
<moet> when building a haskell project with complex dependencies, how can i automatically doJailbreak dontCheck dontHaddock for all dependencies?
<srhb> moet: overriding makeDerivation is probably simplest.
mallox has quit [Quit: WeeChat 2.9]
<Orbstheorem> Wow, there are 2k+ pull requests on Nixpkgs D:
<slabity> Those are rookie numbers
<slabity> Let's get that to 3k+
<srhb> moet: https://nixos.org/nixpkgs/manual/#miscellaneous-topics like so -- but with jailbreak = true.
<moet> srhb: you mean pkgs.stdenv.mkDerivation?
<moet> srhb: oops, sorry, will check the link
<Orbstheorem> Let's get that to at most 100 :(
<srhb> moet: The haskell specific one :)
<srhb> moet: hm, we should really update that example to use overlays instead of packageOverrides...
<srhb> moet: You could also just map a jailbreak over your list of deps, fwiw.
orivej has quit [Read error: Connection reset by peer]
<srhb> But if you need to recurse, overriding mkDerivation is easier.
orivej has joined #nixos
HeN has quit [Quit: Connection closed for inactivity]
Izorkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<slabity> Orbstheorem: Question is... How many of those pull requests are no longer valid or duplicates?
<jasom> slabity: declarative partitioning *could* work; if the effective partition table differs, you repartition. The fact that most filesystems either don't support resizing, or have significant limitations on resizing (and even when both shrinking and growing are supported it's "backup before doing this please")
Izorkin has joined #nixos
* Orbstheorem wishes he'd had more time :(
<{^_^}> [nixpkgs] @Infinisil merged pull request #93179 → nodePackages.get-graphql-schema: init at 2.1.2 → https://git.io/JJsFU
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JJ6Xd
<{^_^}> [nixpkgs] @worldofpeace merged pull request #94709 → [20.03] signal-desktop: 1.34.4 -> 1.34.5 → https://git.io/JJ6tw
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JJ6XN
<{^_^}> [nixpkgs] @worldofpeace merged pull request #94691 → mate.marco: 1.24.0 -> 1.24.1 → https://git.io/JJKXD
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJ6XA
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e5b91d92a01 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
obadz has quit [Ping timeout: 256 seconds]
obadz has joined #nixos
<typetetris> How can I find, which `libvirt_lxc` file to use as emulator for libvirt-lxc containers in nixos?
<moet> srhb: i don't know anything about overlays...
<moet> srhb: this example is good for me, at where i'm currently at.. thank you for yoru help
<srhb> moet: Alright :)
orivej has quit [Remote host closed the connection]
<sphalerite> typetetris: I think that's the wrong approach, you need to open a hypervisor connection to the lxc driver or something
kreyren has quit [Ping timeout: 240 seconds]
<sphalerite> typetetris: so rather than selecting it when creating a VM, you select it when choosing a libvirt connection
<jared-w> nixos does have declarative partitioning. It clobbers over everything and reformats stuff if it doesn't fit what's declared. Use with caution :)
orivej has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #94750 → python3Packages.pytorch: fix Darwin build by disabling GCD → https://git.io/JJ61m
<jared-w> I honestly don't think anyone uses it...
thc202 has quit [Ping timeout: 244 seconds]
<slabity> jared-w: I'm not sure what you are referring to... Is it documented somewhere?
<srhb> It is useful for some very simple use cases, but not nearly enough to do full systems, really.
<slabity> That looks like it only formats if it doesn't have a filesystem already. I don't think it would reformat anything
<typetetris> sphalerite: Its for this "emulator" tag one has to place in the xml describing the domain.
<slabity> Actually I don't think `autoFormat` will do any partitioning. Just formats a filesystem onto an already created partition
codygman has quit [Ping timeout: 240 seconds]
codygman has joined #nixos
<srhb> slabity: Oh yeah, you're right :)
<slabity> I want something that would absolutely destroy my partitioning table if done wrong
<srhb> I think vpsfree has something like that for zpool provisioning
cosimone has joined #nixos
lunik1 has quit [Ping timeout: 256 seconds]
<slabity> Still sounds too safe
lunik18 has joined #nixos
<slabity> How can I destroy my UEFI partition with this?
<srhb> You can always patch out the wipe check.
<srhb> well just feed it the entire disk I guess
<srhb> iirc zpool create will then create its own gpt
<srhb> Which likely won't match yours, with a small efisys at the very end of the device.
<srhb> I think that'll destroy it sufficiently.
wolke has joined #nixos
<slabity> That's interesting...
<{^_^}> [nix] @meditans opened pull request #3899 → Make narHash in ValidPathInfo not optional → https://git.io/JJ61r
sangoma has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
griff_ has quit [Quit: griff_]
orivej has joined #nixos
Neo-- has joined #nixos
domogled1 has joined #nixos
domogled has quit [Read error: Connection reset by peer]
domogled1 is now known as domogled
bbennett372 has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nix] @edolstra pushed to debugger « Add a flag to start the REPL on evaluation errors »: https://git.io/JJ6MG
sangoma has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @Ma27 pushed to master « kitty: remove myself from the maintainer list »: https://git.io/JJ6MW
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
<bqv> wow, hydra builds linux in under 10 minutes
mariatsji has quit [Remote host closed the connection]
bvdw has joined #nixos
metasyntactic has quit [Remote host closed the connection]
mariatsji has joined #nixos
<{^_^}> [nix] @edolstra opened pull request #3901 → Add a flag to start the REPL on evaluation errors → https://git.io/JJ6Ds
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
bvdw has joined #nixos
nature has joined #nixos
alp has joined #nixos
orivej_ has quit [Ping timeout: 246 seconds]
<nature> Hi, I've set hardware.acpilight.enable = true; But I actually don't have any command to run to change the brightness ?
<nature> Like I should still install xbacklight separately ?
mariatsji has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<slabity> nature: Yes. You will need to put xbacklight into your system packages
<slabity> Or however you want to install the tool. The `acpilight` config just provides the interface for xbacklight to work
<nature> Oh ok, so without acpilight xbacklight doesn't work ?
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<slabity> Actually I think I might be wrong
<slabity> acpilight package should provide the xbacklight binary
<slabity> ,locate xbacklight
<{^_^}> Found in packages: acpilight, xlibs.xbacklight
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #94745 → element-web, element-desktop: 1.7.2 -> 1.7.3 → https://git.io/JJ6oe
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/JJ6Da
zeta_0 has left #nixos [#nixos]
zupo has joined #nixos
<nature> slabity: I don't have it...
<nature> That's strange
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<slabity> Except the acpilight's xbacklight binary is not the same as the regular xlibs.xbacklight binary
<nature> I did not specifiy acpilight in my systemPackages
waleee-cl has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<{^_^}> [nixpkgs] @xeji merged pull request #94689 → gnunet{,-gtk}: bump to 0.13.1 → https://git.io/JJK6r
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/JJ6Dr
<nature> But I assumed nixos is supposed to install it once I set the hardware.acpilight.enable, shouldn't it ?
<slabity> Enabling `hardware.acpilight.enable` seems to provide `services.udev.packages = with pkgs; [acpilight]'` and nothing else...
<slabity> nature: I agree that it probably should provide it... But for some reason it doesn't
orivej has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JJ6DP
orivej_ has joined #nixos
<nature> slabity: any idea on how to troubleshoot this ?
<slabity> nature: Well for now, I'd recommend just adding acpilight to your systemPackages
<slabity> Then you will have access to the xbacklight binary that comes from acpilight
<slabity> Keep the `hardware.acpilight.enable` in your config as well. That will provide udev the configs it needs
maier has joined #nixos
<nature> okay, thanks slabity
<slabity> Long term, it might be good to create an issue on Github stating that it doesn't install the package in systemPackages
<{^_^}> [nixpkgs] @herrwiese opened pull request #94752 → zsh-nix-shell: (unstable-)2019-12-20 -> 0.1.0 → https://git.io/JJ6DF
maier has quit [Ping timeout: 256 seconds]
<energizer> there was a github project a while back for using nix on high-performance computing clusters, does that ring a bell for anybody?
<energizer> i vaguely remember it being associated with Berkeley
lsix has quit [Quit: WeeChat 2.9]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bqv> yes
<bqv> uh
proofofkeags has quit [Remote host closed the connection]
orivej_ has quit [Remote host closed the connection]
proofofkeags has joined #nixos
griff_ has joined #nixos
alp has quit [Ping timeout: 256 seconds]
<bqv> nah, can't remember the name
orivej has joined #nixos
ckauhaus has quit [Quit: WeeChat 2.7.1]
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<slabity> Singularity?
moet has quit [Quit: leaving]
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Ma27 merged pull request #94705 → neovim: 0.4.3 -> 0.4.4 → https://git.io/JJ6k4
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJ6yW
proofofkeags has quit [Ping timeout: 246 seconds]
<energizer> dont think so
<{^_^}> [nixpkgs] @LouisDK1 opened pull request #94753 → libreoffice: Templates for LibreOffice Impress → https://git.io/JJ6yR
kraeXen has joined #nixos
<slabity> The only other one I can think of is Bluebrain
<afreakk> ive got two nixos pcs, on one of them, when i write a command i dont have, it shows me the package i can get it from, but on the other pc i dont have that functionality it seems. how do i enable it?
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JJ6yX
<slabity> afreakk: Look at `programs.command-not-found` options
<energizer> nix-user-chroot apparently requires linux 3.9 which is newer than i have, so i (unprivileged user) can't create a chroot. i am wondering if there's a way for admin to create a chroot in /home/energizer/nix that would let me use cache.nixos.org without writing into the real root /nix
<afreakk> thanks, should be enabled then, must be.. something with my shell then
orivej has quit [Ping timeout: 246 seconds]
fresheyeball has quit [Ping timeout: 264 seconds]
<slabity> afreakk: Check if the database is there: `/nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite`
orivej has joined #nixos
<afreakk> yeah, its there, from 1970
fresheyeball has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7016c5f7c2b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<afreakk> aha, it does work, it just didnt work for the stuff i was looking for :p
knupfer has joined #nixos
zeta_0 has joined #nixos
AmandaC has quit [Quit: Toodles]
erasmas has quit [Quit: leaving]
zeta_0 has left #nixos [#nixos]
FRidh has quit [Quit: Konversation terminated!]
kraeXen has quit [Remote host closed the connection]
kraeXen has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
nature has quit [Ping timeout: 272 seconds]
jybs_ has joined #nixos
patagonicus2 has joined #nixos
kreyren has joined #nixos
davidv7 has joined #nixos
wallacer3_ has joined #nixos
lewo` has joined #nixos
Neo-- has quit [Remote host closed the connection]
AmandaC has joined #nixos
jybs has quit [Ping timeout: 240 seconds]
patagonicus has quit [Quit: Ping timeout (120 seconds)]
patagonicus2 is now known as patagonicus
wallacer3 has quit [Quit: No Ping reply in 180 seconds.]
lewo has quit [Ping timeout: 240 seconds]
Darkmatter66 has quit [Ping timeout: 256 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e5fe7c40ec1 (from 34 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
orivej has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #94754 → python3Packages.aiohttp-jinja2: ignore DeprecationWarnings → https://git.io/JJ6Sa
Darkmatter66 has joined #nixos
<mrosenbe_> so, I just attempted to get xcode into nix via the instructions that the nix package provided, namely nix-store --add-fixed --recursive sha256 Xcode.app
<mrosenbe_> but when I try to re-run the nix-shell that complained about it being missing, it complained about it again
<{^_^}> [nixpkgs] @xeji merged pull request #94687 → mellowplayer: 3.6.4 -> 3.6.5 → https://git.io/JJKKz
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/JJ6Sj
<bqv> what
orivej has quit [Remote host closed the connection]
<mrosenbe_> Is it possible that the hash of Xcode.app changed from when its hash was embedded in nixpkgs?
<bqv> im so confused but i don't think that's how things work
orivej has joined #nixos
<mrosenbe_> bqv: ^
<bqv> oh
<bqv> wow it is
sputny has quit [Remote host closed the connection]
quinn has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #93790 → hiawatha: 10.9 -> 10.11 → https://git.io/JJ4S7
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « hiawatha: 10.9 -> 10.11 »: https://git.io/JJ69t
<bqv> i mean, it is osx, so i think the contents of the .app are mutable yes
<bqv> get a fresh one
lawr3nce has joined #nixos
<mrosenbe_> I just did. I got it ~5 minutes before I ran the nix-store command to import it into the nix tree.
<bqv> hmm
<bqv> edit the hash, if you're sure it's right
<bqv> it's all you can do
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #94708 → radare2: 4.4.0 -> 4.5.0; radare2-cutter: 1.10.3 -> 1.11.0 → https://git.io/JJ6I2
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JJ69w
matthewcroughan has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @Ma27 merged pull request #94456 → argbash: 2.8.1 -> 2.9.0 → https://git.io/JJVs0
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJ69r
shibboleth has joined #nixos
<mrosenbe_> I think first I'd like to verify that the hash being different is actually the cause of this.
gustavderdrache has quit [Quit: Leaving.]
<mrosenbe_> The line for the version of xcode I tried to install is xcode_10_3 = requireXcode "10.3" "1i628vfn6zad81fsz3zpc6z15chhskvyp8qnajp2wnpzvrwl6ngb";
orivej has quit [Ping timeout: 240 seconds]
<mrosenbe_> Does this mean that I should expect its path to be /nix/store/1i628vfn6zad81fsz3zpc6z15chhskvyp8qnajp2wnpzvrwl6ngb-Xcode.app ?
orivej has joined #nixos
davidv7 has quit [Read error: Connection reset by peer]
barryfm has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #94462 → kopia: init at 0.5.2 → https://git.io/JJVcM
<{^_^}> [nixpkgs] @jonringer pushed commit from @bbigras to master « kopia: init at 0.5.2 »: https://git.io/JJ69h
<{^_^}> [nixpkgs] @jonringer merged pull request #91432 → nixos/smartd: add option for notifiction email sender → https://git.io/Jfhka
<{^_^}> [nixpkgs] @jonringer pushed commit from @tmplt to master « nixos/smartd: add option for notifiction email sender »: https://git.io/JJ6He
proofofkeags has joined #nixos
<bqv> mrosenbe_: no
barryfm has quit [Client Quit]
orivej has quit [Remote host closed the connection]
orivej has joined #nixos
proofofkeags has quit [Ping timeout: 256 seconds]
xkapastel has joined #nixos
<mrosenbe_> ok, so how do I figure out what that value is for the xcode that I imported?
<typetetris> Okay, this is really strange and I don't know where to go with this, it seems that the path of a file backing a filesystem in an libvirt-lxc container can't be longer than 63 characters in nixos 20.03 also tryed with libvirt_5_9_0.
user_0x58 has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 256 seconds]
user_0x58 has joined #nixos
orivej has joined #nixos
realisation has joined #nixos
<realisation> hi everyone
<pikajude> Is there a decent way to try to enforce build determinism across two different builders?
<pikajude> like, build some derivation on both, and compare the outputs
<pikajude> Or do I have to do something really convoluted for it
<jared-w> bqv: sounds interesting. I'll keep it on my radar as well for when I finally nerd snipe myself enough to switch back off of gnome
<realisation> I'm using nix-pkgs and I am having a problem whenever I try to use nix-shell. it's telling me that nixpkgs is not found in the nix search path
<realisation> nix-env is working well - I just used it to install irssi and come here
<infinisil> pikajude: You could just nix-build it on one host, then transfer it to the other with `nix-copy-closure` or so, then build it on the other host with `nix-build --check`
__monty__ has quit [Quit: leaving]
<realisation> that's when I run nix-shell with sudo. when I don't run it with sudo, it lists the derivations to be built but inevitably fails upon being unable to download what looks like a sha256 derivation from tarballs.nixos.org
<realisation> I am running this on mac
_0bitcount has quit [Quit: Leaving]
<mrosenbe_> you should probably not be running nix-shell with sudo.
maier has joined #nixos
xd1le has quit [Read error: Connection reset by peer]
knupfer has quit [Ping timeout: 256 seconds]
<Yaniel> you most definitely should not
<Yaniel> and also not nix-env
<bqv> nix-env with sudo has it's uses
xd1le has joined #nixos
<bqv> nix-shell very much doesn't though, true
maier has quit [Ping timeout: 240 seconds]
proofofkeags has joined #nixos
shibboleth has quit [Quit: shibboleth]
czrrrr has joined #nixos
czrrrr has quit [Excess Flood]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJ6QN
noudle has quit []
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
proofofkeags has quit [Ping timeout: 256 seconds]
ddellacosta has joined #nixos
realisation has quit [Ping timeout: 260 seconds]
realisation has joined #nixos
<lightandlight> Can a builder set new attributes on a derivation? Suppose my builder requires a `version` input (of type string), which is passed via an attribute when calling `derivation`. If the string is non-empty, then the builder will use that value throughout. If the string is empty, the builder will compute a suitable default, using a pure function on some of the inputs. If this happens, I want the `version` attribute on
<lightandlight> the derivation to contain the generated value rather than the empty string. Is that reasonable?
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<lightandlight> When I get to my computer I'll see if modifying the variable in the builder works
<{^_^}> [nixpkgs] @asbachb opened pull request #94756 → gitea: Added option `sandbox` to be able to disable systemd sanboxing → https://git.io/JJ676
vk3wtf has quit [Quit: WeeChat 2.7.1]
vk3wtf has joined #nixos
simba1 has quit [Ping timeout: 240 seconds]
<infinisil> lightandlight: The derivation attributes are converted to environment variables for the builder process
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
kraeXen has quit [Ping timeout: 240 seconds]
<infinisil> And since processes can change their environment, and the processes it spawns inherit that, it should be possible to just change them throughough
<infinisil> Throughout
endformationage has joined #nixos
Thra11_ has quit [Ping timeout: 256 seconds]
realisation has quit [Ping timeout: 260 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<lightandlight> Will the environment variables determine the final attributes values, though? In my mind it could go either way.
polezaivsani has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
asymptotically has quit [Quit: Leaving]
<bqv> the environemnt variables ARE the final attribute values
zeta_0 has joined #nixos
zeta_0 has left #nixos [#nixos]
domogled has quit [Ping timeout: 240 seconds]
orivej has quit [Remote host closed the connection]
alexherbo2 has quit [Ping timeout: 260 seconds]
dermetfan has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
alexherbo24 has quit [Ping timeout: 246 seconds]
proofofkeags has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0c0fe6d85b9 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<infinisil> lightandlight: I mean changing them during the build won't affect what a derivation evaluates to on the Nix level
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #93676 → sacc: init at 1.01 → https://git.io/JJlwO
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JJ65p
<infinisil> Doing a `nix-build` first evaluates Nix, and only once that's done the builds are started
<lightandlight> As I've discovered. Which means that the builder can't compute default values for inputs; they need to be computed using nix
<infinisil> I guess yeah, if you want those values to also be available on the eval level
kraeXen has joined #nixos
<lightandlight> I guess I an also post-process the derivation afterwards and update the attribute in question
<lightandlight> i.e. `(mkDerivation { ... }).overrideAttrs(...)`
griff_ has quit [Quit: griff_]
Thra11_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #94757 → nixos/smartd: fix description for docbook → https://git.io/JJ6dZ
coderobe has quit [Quit: Ping timeout (120 seconds)]
realisation has joined #nixos
trulsa has joined #nixos
coderobe has joined #nixos
<{^_^}> [nixpkgs] @toonn opened pull request #94758 → wire-desktop: linux 3.18.2925 -> 3.19.2928, mac 3.18.3728 -> 3.19.3799 → https://git.io/JJ6dr
boxscape has joined #nixos
realisation has quit [Ping timeout: 240 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]
Rusty1 has joined #nixos
cole-h has quit [Quit: Goodbye]
<{^_^}> [nixpkgs] @toonn opened pull request #94759 → [20.03] wire-desktop: linux 3.18.2925 -> 3.19.2928, mac 3.18.3728 -> 3.19.3799 → https://git.io/JJ6dd
mbrgm_ has joined #nixos
never_released has quit [Remote host closed the connection]
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm_ is now known as mbrgm
Snektron has left #nixos ["User left"]
cosimone has quit [Quit: Quit.]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @toonn opened pull request #94760 → [19.09] wire-desktop: linux 3.18.2925 -> 3.19.2928, mac 3.18.3728 -> 3.19.3799 → https://git.io/JJ6Fs
tdeo has quit [Read error: Connection reset by peer]
tdeo has joined #nixos
<energizer> i'm gonna build a system from scratch. how much ram per core do i need?
griff_ has joined #nixos
never_released has joined #nixos
realisation has joined #nixos
<energizer> or maybe i'm not. src/libstore/download.cc: In member function ‘void nix::CurlDownloader::DownloadItem::finish(CURLcode)’: src/libstore/download.cc:334:30: error: ‘CURLE_NOT_BUILT_IN’ was not declared in this scope
iyzsong has quit [Read error: Connection reset by peer]
bqv has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @zowoq reopened pull request #88488 → actions: build manuals → https://git.io/Jfgoj
justanotheruser has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<energizer> how do i install nix from source?
iyzsong has joined #nixos
<energizer> it says ./configure but there is no ./configure in https://github.com/NixOS/nix
D_ has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos
gustavderdrache has joined #nixos
D_ has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
tilcreator has quit [Ping timeout: 260 seconds]
orivej_ has quit [Ping timeout: 256 seconds]
tilcreator has joined #nixos
philr has joined #nixos
bqv has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
kraeXen has quit [Ping timeout: 256 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]