andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || 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
<zeta_0> ok, i just finished cloning the nixpkgs repo
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #85524 → fira: 4.106 -> 4.202 → https://git.io/JfULF
shafox has quit [Remote host closed the connection]
<zeta_0> woah, there's a lot of documentation for nixpkgs
m0rphism has quit [Ping timeout: 256 seconds]
_rvl has joined #nixos
<drakonis> qy[m]1: i'm interested in it to some degree honestly
<drakonis> there's issues with how its run tho
hmpffff has quit [Quit: nchrrrr…]
drakonis_ has quit [Read error: Connection reset by peer]
<henry_> Hi again. I visited around a week or two ago.
drakonis1 has joined #nixos
drakonis_ has joined #nixos
<henry_> The good news: I've successfully compiled Nix.
<henry_> The bad news: `nix-channel --update` fails in an obscure manner.
<henry_> I think it's related to there not being a `/nix/store/.../etc/profile.d` directory, and it isn't clear what I need to do to have one be generated.
<henry_> Any help would be greatly appreciated.
_rvl has quit [Quit: ZNC 1.7.5 - https://znc.in]
drakonis1 has quit [Ping timeout: 272 seconds]
<zeta_0> ok, so i have nixpkgs-review installed, and i cloned nixpkgs, what are some simple tasks that i can do?
<zeta_0> henry_: what installation instructions are you following to install and setup nix?
<henry_> zeta_0: The manual: https://nixos.org/nix/manual
<zeta_0> henry_: are you trying to install just the nix package manager or the entire nixos through a flash drive?
_rvl has joined #nixos
<henry_> I've compiled from source for armv7l (rpi4) and I believe all the nix executables are fully functional.
<henry_> `/nix/...` subdirectories are being automatically generated as a consequence of certain commands.
<zeta_0> henry_: i tried to install nixos on my raspberry pi a couple months ago and failed, so you are going to have to ask someone else on this channel
philr_ has joined #nixos
<henry_> And it's just the package manager, not the whole OS.
<henry_> What was your experience?
<zeta_0> niso: thanks, the package updates section looks the simplest, so i'll start there
_rvl has quit [Client Quit]
broccoli has quit [Ping timeout: 256 seconds]
drakonis1 has joined #nixos
slack1256 has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
<zeta_0> henry_: that error is saying that your missing the bash terminal
<cole-h> (shell, not terminal)
drakonis_ has joined #nixos
<zeta_0> henry_: if you're just installing the nix pkg manager by itself, i'd recommend following these instructions instead: https://nixos.org/nixos/nix-pills/install-on-your-running-system.html
<henry_> Yes, but I'm not.
<henry_> There is absolutely nothing wrong with /bin/bash.
drakonis1 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @eadwu opened pull request #85525 → i3lock-color: 2.12.c.1 -> 2.12.c.2 → https://git.io/JfUtU
jmeredith has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #85526 → buildah, conmon: misc fixes → https://git.io/JfUtT
<niso> henry_: maybe a permission issue?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfUtk
<cole-h> henry_: Looks similar to this issue: https://github.com/NixOS/nix/issues/2673
<{^_^}> nix#2673 (by trofi, 1 year ago, open): 'nix-channel --update' stopped working on nix-2.2.1: error: while setting up the build environment: getting attributes of path '': No such file or directory
drakonis1 has joined #nixos
<cole-h> henry_: Can you paste your `/etc/nix/nix.conf`?
_rvl has joined #nixos
<henry_> Thanks, {^_^} . I saw that, but it didn't help.
drakonis2 has joined #nixos
<henry_> niso: I don't think so, ugo each have +x on /bin/bash.
drakonis_ has quit [Read error: Connection reset by peer]
<henry_> True, cole-h.
<eadwu[m]> Can someone revert 8bafac89cd35d4f0d2d1446260d71e38a4bd6dfd
<henry_> zeta_0: Unfortunately, that script downloads and installs Nix binaries, which aren't available for ARM. Hence the manual compilation.
<henry_> Oh, whoops. {^_^} is a bot, lol.
drakonis1 has quit [Ping timeout: 246 seconds]
<energizer> ,-iA
<{^_^}> see ,-A
<freeman42x[m]> what is best way to run a shell command on NixOS start? `nvidia-settings --load-config-only`
<energizer> ,-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
kleisli_ has quit [Remote host closed the connection]
<henry_> Or not a bot?
<cole-h> {^_^} is a bot
drakonis_ has joined #nixos
<cole-h> ,botsnack
<{^_^}> Oh thanks, have a cookie yourself
<henry_> Duped twice.
<adisbladis> hr[m]: Which PR?
<niso> freeman42x[m]: you want to use a systemd.service
<{^_^}> [nixpkgs] @worldofpeace pushed to master « firefox-wrapper: don't throw on enableGnomeExtensions »: https://git.io/JfUtZ
<zeta_0> niso: ok, i'm ready to do a package update, where do i go from here?
drakonis2 has quit [Ping timeout: 265 seconds]
<niso> freeman42x[m]: something like this: http://paste.debian.net/1141233/
<hr[m]> adisbladis: #85248
<{^_^}> https://github.com/NixOS/nixpkgs/pull/85248 (by HugoReeves, 4 days ago, open): joplin-desktop: 1.0.179 -> 1.0.200
<cole-h> eadwu[m]: Try asking in -dev, maybe?
<niso> zeta_0: what do you mean?
<freeman42x[m]> niso: do I need to chaneg this part? `wantedBy = [ "multi-user.target" ];`
<worldofpeace> eadwu: why?
<niso> freeman42x[m]: depends on when you want to execute the script. multi-user.target executes before X
<worldofpeace> hmm, that person happens to have write access. that would be the second PR I noticed that was merged like this
<freeman42x[m]> niso: I need to run this command on start: `nvidia-settings --load-config-only`. After KDE starts should get it to work for sure, not sure about how much earlier it could be run
<{^_^}> [nixpkgs] @worldofpeace pushed to revert-84363-update-twolame « Revert "[WIP] {help wanted} twolame: 2017-09-27 -> 0.4.0" »: https://git.io/JfUtW
<{^_^}> [nixpkgs] @worldofpeace opened pull request #85527 → Revert "[WIP] {help wanted} twolame: 2017-09-27 -> 0.4.0" → https://git.io/JfUtl
<freeman42x[m]> niso: there is no `systemd` section in my configuration.nix
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85527 → Revert "[WIP] {help wanted} twolame: 2017-09-27 -> 0.4.0" → https://git.io/JfUtl
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfUt8
<{^_^}> [nixpkgs] @worldofpeace pushed 0 commits to revert-84363-update-twolame: https://git.io/JfUt4
<zeta_0> niso: i want to start contributing to nixpkgs, starting off by doing simple tasks, but i'm not to sure where to go from here, i guess i could take a look at the issues sections of nixpkgs
<webstrand> I'm having trouble getting nixos installed; I need to upgrade to grub-2.04 (which is in unstable) how can I do this?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85524 → fira: 4.106 -> 4.202 → https://git.io/JfULF
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfUtB
<henry_> cole-h: Interestingly, I have neither a `/etc/nix/` nor a `/usr/local/etc/nix/`. Here's a `tree` of my `/usr/local/etc`: https://privatebin.net/?67f3870c3b45e891#3QJusohwVWw1t4FqgYQwBFonePrMpcH9HHqoRNdheaS8
<worldofpeace> cole-h: eadwu done
<cole-h> ✨ worldofpeace
<{^_^}> worldofpeace's karma got increased to 118
<henry_> I don't know why this has happened.
<niso> freeman42x[m]: then you'll have to search the correct hook
<cole-h> henry_: Hm. How did you install Nix?
<niso> freeman42x[m]: well, in this case you'll add systemd.services to your configuration.nix - it's documented
<freeman42x[m]> niso: `correct hook` I do not understand
<cole-h> ✨ worldofpeace For opening a revert PR and not pushing directly to master ❤
<{^_^}> worldofpeace's karma got increased to 119
ddellacosta has quit [Quit: WeeChat 2.2]
<henry_> cole-h: With all dependencies installed by package manager or compiled from source, `env LDFLAGS=-latomic ./configure --enable-gc && make && sudo make install`.
<worldofpeace> cole-h: lol, I you watch carefully I just pushed https://github.com/NixOS/nixpkgs/commit/443e544721cda7ff20aec064192147eeed376e22, but I've tested that patch in my config
<worldofpeace> though it's nice that github makes reverts soo easy
<cole-h> 👀
<{^_^}> [nixpkgs] @adisbladis merged pull request #85248 → joplin-desktop: 1.0.179 -> 1.0.200 → https://git.io/Jfex8
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to master: https://git.io/JfUtu
pbogdan has quit [Ping timeout: 264 seconds]
<adisbladis> hr[m]: ^
<niso> freeman42x[m]: try "graphical.target"
ddellacosta has joined #nixos
<cole-h> henry_: You probably just forgot to write it, but you did use `./bootstrap.sh` before `configure` and `make`, right?
<niso> zeta_0: if you are planning on doing reviews you want to look through the open PRs in nixpkgs. pick something like e.g. a version update and review it with nixpkgs-reviews (as in run the tool, check if the expected functionality still works etc)
<tazjin> does anyone know how the gstreamer derivations work?
<tazjin> I want gstreamer + plugins-base
<{^_^}> [nixpkgs] @worldofpeace pushed to revert-84370-update-calibre « Revert "calibre: 4.12.0 -> 4.13.0" »: https://git.io/JfUt2
<niso> zeta_0: i might be the wrong person to give you advice on that front. all i could do was point you into the right direction
<tazjin> I've found the same packages with dashes, underscores and camel cases, at different levels of nesting into some attribute set
<{^_^}> [nixpkgs] @worldofpeace opened pull request #85528 → Revert "calibre: 4.12.0 -> 4.13.0" → https://git.io/JfUta
<tazjin> and none of them seem to have any effect
justanotheruser has quit [Ping timeout: 265 seconds]
<cole-h> henry_: "When building from the Git repository, these should be preceded by the command: $ ./bootstrap.sh"
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85528 → Revert "calibre: 4.12.0 -> 4.13.0" → https://git.io/JfUta
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfUtV
<{^_^}> [nixpkgs] @worldofpeace pushed 0 commits to revert-84370-update-calibre: https://git.io/JfUtw
<henry_> cole-h: I downloaded a release, I didn't clone a repo.
<henry_> So should I run the script?
<cole-h> Ohhhh, got it, sorry x)
<cole-h> No, you're good. I read "compiled from source" and thought you were talking about Nix, not the dependencies :)
<zeta_0> niso: thanks for the info, i'll take a look at the pull requests section of nixpkgs
<cole-h> henry_: Are you running multi-user or single-user m ode?
<henry_> I did compile Nix...from a tarball.
<henry_> Are we talking past each other?
<henry_> Single-user mode.
<cole-h> No, I'm just consistenly being unclear haha. When I say "from source", I mean literally from inside a git repository
drakonis1 has joined #nixos
<cole-h> And you have followed the step in chapter 7 regarding env vars, yes?
<henry_> Oh, lol.
<henry_> Thanks for the help btw.
drakonis2 has joined #nixos
<cole-h> Don't thank me yet :P
hoplaahei has quit [Remote host closed the connection]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has quit [Read error: Connection reset by peer]
drakonis2 has quit [Read error: Connection reset by peer]
<henry_> ;)
<freeman42x[m]> @niso: I get following error on rebuild: https://gist.github.com/razvan-flavius-panda/2a003c73783e167b5aff56a873dd5494
drakonis2 has joined #nixos
<henry_> Yes, I've tried the nix.sh script in various ways. I've also tried manually setting variables such as NIX_SSL_CERT_FILE.
<cole-h> Can you see if `mkdir -p /etc/nix && touch /etc/nix/nix.conf` helps at all?
<cole-h> Talking out my butt here, but only thing I can think of
drakonis2 has quit [Read error: Connection reset by peer]
<henry_> Sure, let's try it.
wildtrees has quit [Quit: Leaving]
<henry_> No apparent difference. :(
<niso> freeman42x[m]: might want to check 'journalctl -xe'
<cole-h> henry_: That's all I got. My last suggestion is: could you try doing the multi-user steps?
<cole-h> (Sorry for my lack of results :P)
_rvl has quit [Quit: ZNC 1.7.5 - https://znc.in]
drakonis2 has joined #nixos
<henry_> It's alright. It's probably a novel problem.
<henry_> Single-user/multi-user appear to be subsections of "Installing a Binary Distribution".
drakonis2 has quit [Read error: Connection reset by peer]
drakonis2 has joined #nixos
<henry_> Notably, `systemctl status nix-daemon` doesn't show the existence of a systemd daemon.
sarcasticadmin has quit [Ping timeout: 260 seconds]
<henry_> Hang on.
<zeta_0> any pull requests that any of you would like me to review, i'm looking threw the pr section of nixpkgs right now
<freeman42x[m]> niso: not seeing anything wrong in `journalctl -xe` but I could be missingstuff. Can I view output with a GUI editor?
<henry_> Yes.
<cole-h> That's a subsection of chapter 6, security :P
sarcasticadmin has joined #nixos
<hexa-> how can I satisfy a dlopen in a python package? getting OSError: libpulse.so.0: cannot open shared object file: No such file or directory
iyzsong has joined #nixos
<hexa-> the library is in the libpulseaudio package
<worldofpeace> hexa-: dlopen doesn't work without patching it to be absolute to the lib
<hexa-> good to know, thanks!
_rvl has joined #nixos
<worldofpeace> hexa-: see weasyprint/library-paths.patch (in nixpkgs) as a good example how it can be fixed
<hexa-> thank you! :)
<henry_> I've started the daemon, set the `NIX_REMOTE` environment variable, and have tried running `nix-channel --update` from the `nix` user. The stdout of the daemon shows `accepted connection from pid ..., user nix`, but the `nix-channel --update` command fails just the same.
<webstrand> Is it even possible to use an unstable grub with a stable system?
<henry_> =/
<henry_> webstrand: Forgive me, but why would you want to do such a thing?
<webstrand> henry_: grub 2.02 locks my system up hard, grub 2.04 doesn't
numkem has quit [Ping timeout: 250 seconds]
hmpffff has joined #nixos
drakonis_ has joined #nixos
smatting has joined #nixos
<webstrand> I've managed to switch to the unstable channel, so I know switching grub fixes the issue. I just don't want to use unstable
<webstrand> for everything
<henry_> Yeah, lol. I've been there.
<henry_> Debian?
<webstrand> I've been using Gentoo
<henry_> Good God, man.
cr4y1 has quit [Ping timeout: 240 seconds]
drakonis2 has quit [Ping timeout: 250 seconds]
konobi has joined #nixos
<henry_> The old joke is, Linux is free if your time is worth nothing.
smatting_ has quit [Ping timeout: 240 seconds]
<webstrand> heh, I really like gentoo's ebuild system. I'm hoping that nixpkgs turn out to be better
proofofkeags has joined #nixos
drakonis1 has joined #nixos
justanotheruser has joined #nixos
drakonis_ has quit [Ping timeout: 272 seconds]
zeta_0 has left #nixos ["rcirc on GNU Emacs 26.3"]
mac10688 has quit [Ping timeout: 260 seconds]
<henry_> Do you just really like esoteric systems? I might have one for you.
<webstrand> not nixos, I hope?
<henry_> Nope.
<henry_> NixOS is tame, comparatively.
<cole-h> ,unstable webstrand
<cole-h> You might try that
proofofkeags has quit [Ping timeout: 250 seconds]
hmpffff has quit [Quit: nchrrrr…]
thc202 has quit [Ping timeout: 272 seconds]
<henry_> cole-h: Hey, can you run `env | grep -i nix` and provide your output?
smatting has quit [Ping timeout: 264 seconds]
<henry_> Thanks.
<henry_> I'm missing `NIX_PATH=nixpkgs=...` on both working and non-working machines.
<henry_> Besides that it's the same.
<henry_> I don't know what to do really, except try again later.
<niso> freeman42x[m]: i have no idea sorry
<niso> freeman42x[m]: you could probably pipe it to one/
<cole-h> You don't need NIX_PATH.
morgrimm has joined #nixos
<cole-h> I use that because I hack on my local checkout. Otherwise it goes through your channels
<webstrand> cole-h: There must be some step that's missing, to override the boot.loader.grub binary?
<webstrand> It's still installing grub 2.02 when I do `nixos-rebuild switch`
<eadwu[m]> How are duplicate tmpfiles rules handled?
morgrimm has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @offlinehacker merged pull request #85514 → docker: add git to extraPath → https://git.io/JfUfa
<{^_^}> [nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/JfUqh
<eadwu[m]> My /tmp just got restricted with a nixos-rebuild test/switch from what I'm assuming to be due to conflicting rules from nix-daemon.nix, tmp.nix, and the systemd default.
sarcasticadmin has quit [Ping timeout: 264 seconds]
<hr[m]> adisbladis: Thanks
<{^_^}> [nixpkgs] @ceedubs opened pull request #85529 → tmux-fingers: init at 1.0.1 → https://git.io/JfUmL
morgrimm has joined #nixos
lunik1 has quit [Quit: :x]
<webstrand> https://github.com/NixOS/nixos/blob/master/modules/system/boot/loader/grub/grub.nix#L252 looks to pull in the old grub package from global `pkgs`?
evertedsphere has joined #nixos
<freeman42x[m]> niso: aight, will try to fix that issue later. niso++
<{^_^}> niso's karma got increased to 8
morgrimm has quit [Ping timeout: 256 seconds]
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @ceedubs closed pull request #85529 → tmux-fingers: init at 1.0.1 → https://git.io/JfUmL
h0m1 has quit [Ping timeout: 246 seconds]
lunik1 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e233a9d4dd1 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
h0m1 has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
henry_ has left #nixos [#nixos]
morgrimm has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @rasendubi closed pull request #83028 → vollkorn: init at 4.105 → https://git.io/JfUmr
morgrimm has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
trubi has quit [Remote host closed the connection]
dckc has quit [Ping timeout: 246 seconds]
drakonis1 has quit [Ping timeout: 250 seconds]
justanotheruser has quit [Ping timeout: 246 seconds]
ajs124 has quit [Quit: killed]
das_j has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
mrpi has quit [Quit: killed]
<{^_^}> [nixpkgs] @ceedubs reopened pull request #85529 → tmux-fingers: init at 1.0.1 → https://git.io/JfUmL
mrpi has joined #nixos
Scriptkiddi has joined #nixos
das_j has joined #nixos
ajs124 has joined #nixos
dckc has joined #nixos
<energizer> how do i get a list of filenames in ./dir/ ?
<clever> energizer: builtins.readDir ./.
<energizer> thanks
<{^_^}> [nixpkgs] @marsam opened pull request #85530 → zeek: 3.1.1 -> 3.1.2 → https://git.io/JfUYe
hugbubby has joined #nixos
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #85532 → lean: 3.8.0 -> 3.9.0 → https://git.io/JfUYt
<hugbubby> is nixos ok for desktop use?
<hr[m]> yes
<hr[m]> I'm using it now
<hugbubby> Is it stable? That's the only reason I want to switch, is to get to a distro that doesn't break
<eadwu[m]> That's every distribution as long as you play it safe
<hr[m]> You just need to be comfortable tinkering but the ability to rollback changes is helpful. Something like fedora is probably more 'stable' if you don't make any changes
<hugbubby> Yeah well I'm running gentoo right now and because I shut down during an update keepassxc and qbittorrent are segfaulting
<hugbubby> I wouldn't really call it stability
<atemu12[m]> hugbubby: If an update breaks anything you can boot your whole system configuration in the exact state it was before from the bootloader
<notgne2> I think an underrated feature for desktop using is there is no "oh shit well i fucked all that up" - like trying to switch DEs on traditional package managers and losing half the packages
<atemu12[m]> hugbubby: Though updates breaking something in the stable channels is very rare anyways, my system usually breaks because of me
<notgne2> a rebuild is the same as a re-install, so there's no "mess"/"bitrot" of the OS
<clever> notgne2: enless you discover a 2 year old override thats forcing the gradle version, and has been sitting unused in config.nix for ages
<clever> but all of that rot is confined to the nix files, rather then scattered over the whole machine
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<energizer> i want a list of the regular-file (non-directory) paths in ./ recursively. is there a "walk" function, or do i need to write a recursive function using builtins.readDir?
aw has joined #nixos
<clever> energizer: you would need to recursively call readDir on each dir you see
<energizer> ok
<clever> energizer: what is your end-goal
<clever> ,xy energizer
<{^_^}> energizer: xyproblem is when you want to do X, and you think Y is how, so you ask about Y instead of X. See <http://www.perlmonks.org/index.pl?node_id=542341> or <http://mywiki.wooledge.org/XyProblem>
<energizer> clever: yes i know
<energizer> clever: i want to install my dotfiles
spacefrogg has joined #nixos
<notgne2> clever: I've had similar experiences with my apparently 38392 lines of nix config
<notgne2> ok that's kindof a lie, lots of that is generated, I only have 5032 written
<clever> energizer: that sounds like its better done in a normal program you run at activate time, not at eval time
<notgne2> 6529 counting all my server deployments
<energizer> clever: home-manager will handle cleanup if i give it the right list
justanotheruser has joined #nixos
<qy[m]1> i seriously regret migrating from traefik to haproxy, you know
<qy[m]1> i'm gonna migrate back
felixfoertsch23 has joined #nixos
sarcasticadmin has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
felixfoertsch has quit [Ping timeout: 250 seconds]
felixfoertsch23 is now known as felixfoertsch
andreas303 has quit [Ping timeout: 240 seconds]
iyzsong has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #85512 → wasmtime-0.12.0: fix cargoSha256 → https://git.io/JfUfs
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JfUY2
iyzsong has joined #nixos
andreas303 has joined #nixos
justanotheruser has quit [Ping timeout: 246 seconds]
justanotheruser has joined #nixos
jbox has joined #nixos
sarcasticadmin has quit [Ping timeout: 265 seconds]
MYMYRSRS has joined #nixos
andreas303 has quit [Remote host closed the connection]
_viz_ has joined #nixos
andreas303 has joined #nixos
<{^_^}> [nixpkgs] @ivan opened pull request #85533 → [20.03] pythonPackages.{namedlist, ludios_wpull}: mark broken only on Python 3.8 → https://git.io/JfUOn
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
lorimer has quit [Ping timeout: 256 seconds]
sarcasticadmin has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
morgrimm has joined #nixos
sarcasticadmin has quit [Ping timeout: 256 seconds]
sarcasticadmin has joined #nixos
xO1 has joined #nixos
Izorkin has joined #nixos
chagra_ has quit [Ping timeout: 256 seconds]
morgrimm has quit [Ping timeout: 256 seconds]
sarcasticadmin has quit [Ping timeout: 256 seconds]
morgrimm has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
sarcasticadmin has joined #nixos
andymandias has quit [Quit: ZNC 1.7.4 - https://znc.in]
morgrimm has quit [Ping timeout: 256 seconds]
andymandias has joined #nixos
sarcasticadmin has quit [Ping timeout: 256 seconds]
jlv has joined #nixos
slack1256 has quit [Remote host closed the connection]
sarcasticadmin has joined #nixos
signaryk has joined #nixos
<jlv> Is there an easy way to get the type of a module option? I have a function to apply a `mkOverride` to the leaves of a configuration set, but ran into a bug were applying `mkOverride` in an option with type `attrs` breaks the configuration. I can work around it. If I can determine if the option corresponding to a configuration attribute has `attrs`
<jlv> type, I can skip it.
<clever> [root@amd-nixos:~]# nix repl '<nixos/nixos>'
<clever> nix-repl> options.services.mysql.enable.type
<clever> { _type = "option-type"; check = «primop»; description = "boolean"; functor = { ... }; getSubModules = null; getSubOptions = «lambda @ /root/.nix-defexpr/channels/nixos/lib/types.nix:70:23»; merge = «lambda @ /root/.nix-defexpr/channels/nixos/lib/options.nix:108:22»; name = "bool"; substSubModules = «lambda @ /root/.nix-defexpr/channels/nixos/lib/types.nix:75:25»; typeMerge = «lambda @ /root/.nix-defexpr/channels/nixos/lib/types.nix:23:25»; }
<clever> jlv: like so?
sarcasticadmin has quit [Ping timeout: 265 seconds]
<jlv> clever: that should do it. Is there an existing function to get a value from a list of names, or something like that? I feel like that is common enough that I shouldn't have to write it.
<jlv> I'll have to build up the path, and then get that path starting from `options`.
<clever> > lib.attrByPath [ "a" "b" ] "default" { a.b = 3; }
<{^_^}> 3
<clever> jlv: like so?
<jlv> clever: that would do it :) And it's right at the top of attrsets.nix XD
morgrimm has joined #nixos
<jlv> Looks like this might be easier than I thought :) Only downside is, it won't be easy to use this function from anywhere but the start of a configuration set. You would have to pass the path up to that point to the function. That should be fine for now. Hopefully this bug will be fixed https://github.com/NixOS/nixpkgs/issues/85508 and I can remove
<jlv> the workaround.
<{^_^}> #85508 (by JustinLovinger, 9 hours ago, open): Cannot override options with type of `attrs`
<clever> jlv: i think submodules have their own config and options trees
<jlv> clever: I don't think there are any submodules in this situation. Just an option with `type = types.attrs;`.
<clever> ah
morgrimm has quit [Ping timeout: 250 seconds]
<jlv> clever: Turns out, the NixOS module system fails to evaluate `mkOverride` in a `type = types.attrs;` option, so you end up with a lot of errors like "invalid type: map, expected f32", "cannot coerce a set to a string", and "value is a set while a list was expected".
<clever> jlv: i believe mkOverride only works at the root of the types.attrs node
<jlv> clever: It works on the root, but on any of the values in `types.attrs`. It works in `type = types.attrsOf ...`, and every other situation I've come across, but on `type = types.attrs` it starts to break things.
ddellacosta has quit [Ping timeout: 258 seconds]
sarcasticadmin has joined #nixos
sarcasticadmin has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bc0e5f8c4cc (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
alexherbo2 has joined #nixos
koleesch_ has joined #nixos
morgrimm has joined #nixos
kolby_ has quit [Remote host closed the connection]
koleesch_ has quit [Remote host closed the connection]
morgrimm has quit [Ping timeout: 260 seconds]
linarcx has joined #nixos
<{^_^}> [nixpkgs] @ehmry merged pull request #85058 → [19.09] Yggdrasil backport → https://git.io/JvjLr
<{^_^}> [nixpkgs] @ehmry pushed 2 commits to release-19.09: https://git.io/JfUsm
linarcx has quit [Quit: WeeChat 2.8]
codygman has quit [Ping timeout: 256 seconds]
drakonis has quit [Quit: WeeChat 2.8]
b has quit [Ping timeout: 256 seconds]
_viz_ has quit [Ping timeout: 256 seconds]
inkbottle has quit [Quit: Konversation terminated!]
palo1 has joined #nixos
zebrag has joined #nixos
palo has quit [Ping timeout: 250 seconds]
palo1 is now known as palo
koleesch has joined #nixos
_viz_ has joined #nixos
jmeredith has quit [*.net *.split]
tokudan has quit [*.net *.split]
Criena has quit [*.net *.split]
develCuy has quit [*.net *.split]
RexHackbro[m] has quit [*.net *.split]
eadwu[m] has quit [*.net *.split]
blackriversoftwa has quit [*.net *.split]
christiaanb has quit [*.net *.split]
James[m]7 has quit [*.net *.split]
Ultrasauce has quit [*.net *.split]
glowpelt has quit [*.net *.split]
tuxisgr8[m] has quit [*.net *.split]
tpmadz[m] has quit [*.net *.split]
shu9[m] has quit [*.net *.split]
theduke[m] has quit [*.net *.split]
quiet_laika[m] has quit [*.net *.split]
phirsch has quit [*.net *.split]
notapache[m] has quit [*.net *.split]
matthewbauer has quit [*.net *.split]
makaveli[m] has quit [*.net *.split]
Leira[m] has quit [*.net *.split]
jwaksbaum[m] has quit [*.net *.split]
jordandoyle has quit [*.net *.split]
gudea[m] has quit [*.net *.split]
atemu12[m] has quit [*.net *.split]
Elorm[m] has quit [*.net *.split]
bendlas has quit [*.net *.split]
fasd has quit [*.net *.split]
evanjs[m] has quit [*.net *.split]
f0i[m] has quit [*.net *.split]
nolan_d has quit [*.net *.split]
xavierm02 has quit [*.net *.split]
rycee has quit [*.net *.split]
arcnmx has quit [*.net *.split]
Valodim[m] has quit [*.net *.split]
michaelpj has quit [*.net *.split]
rgb[m] has quit [*.net *.split]
dittofan[m] has quit [*.net *.split]
rendeko[m] has quit [*.net *.split]
rnhmjoj has quit [*.net *.split]
Guest215 has quit [*.net *.split]
cornu has quit [*.net *.split]
freeman42x[m] has quit [*.net *.split]
jonge[m] has quit [*.net *.split]
bachp has quit [*.net *.split]
nocent has quit [*.net *.split]
contrun[m] has quit [*.net *.split]
unclechu has quit [*.net *.split]
Grauwolf[m] has quit [*.net *.split]
Amit[m] has quit [*.net *.split]
davidak[m] has quit [*.net *.split]
awygle has quit [*.net *.split]
uwap has quit [*.net *.split]
ShaRose has quit [*.net *.split]
LeshaInc has quit [*.net *.split]
cocreature has quit [*.net *.split]
typetetris has quit [*.net *.split]
torque has quit [*.net *.split]
stevenroose has quit [*.net *.split]
lightbulbjim has quit [*.net *.split]
abbe has quit [*.net *.split]
claudiii has quit [*.net *.split]
christiaanb has joined #nixos
blackriversoftwa has joined #nixos
Ultrasauce has joined #nixos
James[m]7 has joined #nixos
jmeredith has joined #nixos
phirsch has joined #nixos
tuxisgr8[m] has joined #nixos
develCuy has joined #nixos
tokudan has joined #nixos
Grauwolf[m] has joined #nixos
jordandoyle has joined #nixos
arcnmx has joined #nixos
cocreature has joined #nixos
eadwu[m] has joined #nixos
f0i[m] has joined #nixos
gudea[m] has joined #nixos
lightbulbjim has joined #nixos
abbe has joined #nixos
nocent has joined #nixos
rycee has joined #nixos
makaveli[m] has joined #nixos
RexHackbro[m] has joined #nixos
xavierm02 has joined #nixos
rgb[m] has joined #nixos
awygle has joined #nixos
notapache[m] has joined #nixos
ShaRose has joined #nixos
Leira[m] has joined #nixos
evanjs[m] has joined #nixos
dittofan[m] has joined #nixos
rendeko[m] has joined #nixos
tpmadz[m] has joined #nixos
Valodim[m] has joined #nixos
glowpelt has joined #nixos
shu9[m] has joined #nixos
michaelpj has joined #nixos
atemu12[m] has joined #nixos
matthewbauer has joined #nixos
uwap has joined #nixos
LeshaInc has joined #nixos
bachp has joined #nixos
cornu has joined #nixos
claudiii has joined #nixos
theduke[m] has joined #nixos
contrun[m] has joined #nixos
freeman42x[m] has joined #nixos
nolan_d has joined #nixos
fasd has joined #nixos
Elorm[m] has joined #nixos
Amit[m] has joined #nixos
Criena has joined #nixos
davidak[m] has joined #nixos
bendlas has joined #nixos
rnhmjoj has joined #nixos
jonge[m] has joined #nixos
Guest215 has joined #nixos
quiet_laika[m] has joined #nixos
typetetris has joined #nixos
jwaksbaum[m] has joined #nixos
torque has joined #nixos
stevenroose has joined #nixos
orivej has joined #nixos
unclechu has joined #nixos
asheshambasta has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #85535 → buildGoPackage: use $out instead of $bin → https://git.io/JfUsi
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/a17e021b948 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
betamike has quit [Quit: WeeChat 2.8]
maddo has joined #nixos
rando25892 has joined #nixos
drakonis has joined #nixos
drakonis1 has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
dingenskirchen has quit [Read error: Connection reset by peer]
dingenskirchen1 has joined #nixos
dingenskirchen1 is now known as dingenskirchen
drakonis has quit [Ping timeout: 272 seconds]
najibpuchong has quit [Remote host closed the connection]
najibpuchong has joined #nixos
jlv has quit [Remote host closed the connection]
katyucha has quit [Quit: Lost terminal]
zebrag has quit [Quit: Konversation terminated!]
drakonis_ has quit [Ping timeout: 256 seconds]
_viz_ has quit [Ping timeout: 260 seconds]
zebrag has joined #nixos
<{^_^}> [nixpkgs] @asheshambasta opened pull request #85536 → Additional docs for doJailBreak → https://git.io/JfUGq
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
Heirlung has quit [Ping timeout: 264 seconds]
cole-h has quit [Quit: Goodbye]
_viz_ has joined #nixos
Heirlung has joined #nixos
drakonis_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a2d9f584333 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
dermetfan has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9237a09d8ed (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
dermetfan has quit [Client Quit]
dermetfan has joined #nixos
hio has joined #nixos
cyberdront has joined #nixos
morgrimm has joined #nixos
arstneio has joined #nixos
smatting has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #85471 → spotifyd: add withMpris and withKeyring optionals → https://git.io/JfJoU
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfUZm
<{^_^}> [nixpkgs] @marsam merged pull request #85473 → bazelisk: 1.3.0 -> 1.4.0 → https://git.io/JfJoz
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfUZY
morgrimm has quit [Ping timeout: 264 seconds]
vika_nezrimaya has joined #nixos
<magnetophon> I'm working on a pkg that builds fine from nix-shell, but with nix-env it gives: "resources/meson.build:30:0: ERROR: Could not execute command "/usr/bin/env sh /tmp/nix-build-zrythm-0.8.252.drv-0/source/build/resources/gen_gtk_resources_xml_wrap.sh /tmp/nix-build-zrythm-0.8.252.drv-0/source/resources /tmp/nix-build-zrythm-0.8.252.drv-0/source/build/resources/zrythm.gresources.xml"." Any ideas?
codygman has joined #nixos
smatting has quit [Ping timeout: 260 seconds]
<vika_nezrimaya> So, with flakes being pure, we can't rely on builtins.currentSystem anymore to provide nixpkgs for systems that are not officially supported, such as armv7l-linux. Will this mean that unsupported architectures will have to create flakes that look like this? { description = "Nixpkgs port for armv7l-linux"; edition = 201909; inputs.nixpkgs.uri = "github:NixOS/nixpkgs"; outputs = { self, nixpkgs }: { inherit (nixpkgs) lib nixosModules;
<vika_nezrimaya> legacyPackages.armv7l-linux = import nixpkgs { system = "armv7l-linux"; }; }; }
<vika_nezrimaya> or fork Nixpkgs to add "armv7l-linux" to list of supported architectures and then keep up with the fork?
<{^_^}> [nixpkgs] @peterhoeg closed pull request #81946 → crystal: 0.32.1 -> 0.33.0 → https://git.io/JvwSx
arstneio has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9237a09d8ed (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
snicket has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @asheshambasta closed pull request #85536 → Additional docs for doJailBreak → https://git.io/JfUGq
zupo has joined #nixos
<{^_^}> [nixpkgs] @asheshambasta opened pull request #85537 → Additional docs for doJailbreak → https://git.io/JfUZH
<{^_^}> [nixpkgs] @gebner merged pull request #85532 → lean: 3.8.0 -> 3.9.0 → https://git.io/JfUYt
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JfUZd
shafox has joined #nixos
mallox has joined #nixos
chagra_ has joined #nixos
<{^_^}> [nixpkgs] @raboof reopened pull request #74993 → command-not-found: suggest nix-shell as well → https://git.io/JeDuE
mallox has quit [Ping timeout: 256 seconds]
hugbubby has quit [Ping timeout: 240 seconds]
snicket has quit [Ping timeout: 240 seconds]
mallox has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #85538 → openjk: use gcc9 → https://git.io/JfUn2
ixxie has quit [Ping timeout: 250 seconds]
snicket has joined #nixos
<{^_^}> [nixpkgs] @stigok closed pull request #85285 → lib/types: give usage hint in types.string deprecation message → https://git.io/JfvBz
nschoe has joined #nixos
asheshambasta has quit [Remote host closed the connection]
nschoe has quit [Client Quit]
ixxie has joined #nixos
nschoe has joined #nixos
magnetophon has quit [Remote host closed the connection]
jakobrs has joined #nixos
nschoe has quit [Client Quit]
<jakobrs> How can I tell what the current generation is from a bash script?
<infinisil> jakobrs: Look into /nix/var/nix/profiles
<jakobrs> I know I can do that, but I'd like a way that works from a bash script
<jakobrs> of course I could try to parse the profile symlink, but
<jakobrs> that feels like it would easily fail
nschoe has joined #nixos
<infinisil> jakobrs: What exactly do you need from the generation?
<jakobrs> I need the generation number
<jakobrs> I'm writing a proof-of-concept redesign of nixos-rebuild
nschoe has quit [Client Quit]
<infinisil> I don't think there's a better way than to parse either the file listing or nix-env --list-generations output
maddo has quit [Read error: Connection reset by peer]
maddo has joined #nixos
proofofkeags has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
proofofkeags has quit [Ping timeout: 256 seconds]
<jakobrs> In case anyone's interested: https://github.com/jakobrs/nixos-alter
<jakobrs> The idea is that, instead of having special commands for each possible behaviour that nixos-rebuild can have,
<jakobrs> (like switch, build, boot, test, etc),
turion has joined #nixos
<jakobrs> You have flags that determine whether to create a link, set as boot default, or activate the combination
rardiol has quit [Ping timeout: 250 seconds]
<jakobrs> and then you can combine those, like "nixos-alter --activate --boot"
<qy[m]1> I like that idea.
<jakobrs> It's just bothered me for a while how "rigid" nixos-rebuild feels
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #85539 → treewide: replace bazaar with breezy → https://git.io/JfUcP
chloekek has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
hlolli has joined #nixos
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #85540 → uniutils: init @ 2.27 → https://git.io/JfUcy
<hlolli> Is there any attribute/override trick to get libX11 statically compiled (lib/libX11.a). Before I start writing overrideAttrs ... `configureFlags = [ "--enable-static" "--disable-shared" ];` on bunch of xorg packaged, it would be nice to know if this is already solved in a cleaner way.
vidbina_ has joined #nixos
atlas- has joined #nixos
atlas- is now known as Guest50312
<hlolli> or alternatively, maybe there's a good case for adding libX11 static attribute like zlib.static, maybe there's a reason that hasn't been done before, if not, I'd be happy to open a PR.
<michaelpj> <qy[m]1 "I like that idea."> jakobrs: for bonus points make it use the new `nix` commands so you get the nice progress monitor for building your system!
<{^_^}> [nixpkgs] @cdepillabout merged pull request #85537 → Additional docs for doJailbreak → https://git.io/JfUZH
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JfUcd
<jakobrs> I might try something like that
<michaelpj> I would definitely appreciate a nicer `nixos-rebuild` that didn't have to try so hard to be backwards compatible etc
<jakobrs> correction: I _should_ try something like thhat
nschoe has joined #nixos
nschoe has quit [Client Quit]
o1lo01ol1o has joined #nixos
<michaelpj> jakobrs: I tried to put it into `nixos-rebuild` itself once: https://github.com/NixOS/nixpkgs/pull/45919
<{^_^}> #45919 (by michaelpj, 1 year ago, closed): nixos-rebuild: use `nix build` and `nix copy`
plutes has quit [Ping timeout: 250 seconds]
nschoe has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jakobrs> Does nix-command allow you to
<jakobrs> well
<jakobrs> nix-build --no-out-link didn't seem to have a replacement there last time I tried
_viz_ has quit [Remote host closed the connection]
<jakobrs> --no-link doesn't print the result path, so while it does build the new configuration, it doesn't let you know where it is
<srk> jakobrs: nice! I'm writing a home-manager module atm to be able to construct custom commands like your PoC does
asheshambasta has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<nschoe> Hi everyone, I'm still fighting with x11 (and in particular with xserver.inputClassSections) to *disable* naturalScrolling for my USB mouse.
<nschoe> (But I have it enabled for trackpad through xserver.libinput
magnetophon has joined #nixos
<nschoe> Has anyone managed this?
<srk> jakobrs: trying to translate attrset like nixos = rec { mybuild = "nixos-rebuild --switch"; b = mybuild; } to home.file."bin/nixos-mybuild" .. so that it would allow you to call nixos mybuild
<nschoe> I've looked at the xorg.conf man page to make sure I had it okay. I noticed that in the generated xorg.conf file, the contents of the additional InputClass sections appeared *before* the contents of libinput configuration. I wonder if there is some over-writing or something :/
<nschoe> I'm kinda desperate there ^^
<magnetophon> When I run ``dconf update`` I get ``error: Error opening directory “/etc/dconf/db”: No such file or directory``. I indeed don't have an /etc/dconf, even though I have ``dconf.enable = true;``. I even rebooted after the rebuild. Any ideas?
<hlolli> @nschoe any reason you don't use synaptics to configure your mouse?
<nschoe> hlolli: it says it's becoming deprecated and libinput should be used instead.
<hlolli> @magnetophon in some edge cases you'll find stuff in /etc/ (like kernel-modules if I remember correctly), otherwise this is all located inside of /nix/store I guess.
<hlolli> @nschoe just curious, who's saying that, I haven't seen any warning lately when updating my channels
<nschoe> hlolli: using libinput works perfectly: the trackpad on my laptop behaves as I configure it and everything's fine (tap, tap drag lock, two fingers, horitxontal scrolling, natural scrolling, etc.)
<nschoe> The only issue is that when I plug in my mouse, it _also_ uses natural scrolling which is weird with the wheel. So I'd like to reverse it, _just for the mouse_.
<magnetophon> hlolli: iiuc the file it's missing should be writable, looks like it wants a database there, so it wouldn't make sense to have it in the store, would it?
<hlolli> interesting :)
<hlolli> do you have nvidia? I know nvidia sometimes screwes up keyboard and mouse if badly configured. But I don't know why you can't make such a simple adjustment.
<magnetophon> hlolli: in any case, I didn't change any dconf settings other than enabling it, so either it looks in the wrong dir by default or nixos fails to create the dir at nixos-rebuild. I think. Does that make sense or am I barking up the wrong tree?
<hlolli> @magnetophon, no not during runtime I guess
<magnetophon> hlolli: you lost me there, sorry. could you explain what you mean?
<hlolli> I mean you are correct, a db file wont make sense in the nix store :) but I'm reading bit better you comment previously so Im not saying something wrong
<nschoe> hlolli: nope I don't have a dedicated GPU. the laptop has Intel integrated graphics chipset.
<nschoe> hlolli: what's weird, too. Is that I tried to completely disable libinput (I lost my trackpad then) and no matter what I put as configuration in inputClassSections, I could not do anything to change the mouse's configuration.
<nschoe> I'm even wodnering if xorg sees this section / parses it correctly.
proofofkeags has joined #nixos
smatting has joined #nixos
<hlolli> I think that /etc/dconf/db is just wrong, there's no reference this this file existing in debug or dconf, sounds like a bug in dconf, but I hope someone else here can chip into this problem
<hlolli> *dbus (not debug)
zupo has joined #nixos
<hlolli> what's the reason you want to update dconf? Isn't nix taking care of all that for you already?
morgrimm has joined #nixos
unacceptable has joined #nixos
proofofkeags has quit [Ping timeout: 260 seconds]
__monty__ has joined #nixos
<asheshambasta> am I right in assuming that: overlays is a list of functions that are composed from left to right?
<hlolli> I think you always have that ace in your pocket to rebind the keys with xmodmap @nschoe https://wiki.archlinux.org/index.php/Xmodmap#Swapping_mouse_buttons
<asheshambasta> more like; is super in an overlay the output of the previous overlay, and self the output of the current overlay?
aswanson has quit [Ping timeout: 252 seconds]
<asheshambasta> or is super the value obtained after applying all overlays?
<jakobrs> What license is nixos/modules/installer/tools/nixos-rebuild.sh?
drakonis_ has quit [Ping timeout: 265 seconds]
morgrimm has quit [Ping timeout: 256 seconds]
koleesch has quit [Remote host closed the connection]
<hlolli> I'd assume the license stated in COPYING is valid for all the files in nixpkgs except otherwise specified. But if I'm wrong, I'd be curious to know. But that's what I feel is a common legal understanding of a repository, if you vendor 3rd party library you need to include the license files and specify what library you're vendoring/bundling, then there's thu GPL approach of adding the license to every single file. Not sure that has
<hlolli> ever been helpful in court.
<nschoe> hlolli: thanks. Actually I alreayd have anothe ace card: using xinput --set-props works. But this looks like the thing xorg conf should be able to handle...
<nschoe> I hate not understanding,
<nschoe> .
chagra_ has quit [Ping timeout: 264 seconds]
<hlolli> You have my empathy :D
<jakobrs> I think I should probably just mention that it's based on nixpkgs (possibly which files) in the README, and that those files are MIT licensed
thc202 has joined #nixos
<hlolli> These issues become less annoying the more you spend time on them (just being captain obvious)
<nschoe> Yeah...
broccoli has joined #nixos
m0rphism has joined #nixos
<nschoe> hlolli: I just looked at xorg.0.log when when I plug the mouse, I see a first line "Logitech G300s Optical Gaming Mouse: Applying InputClass "Libinput Configuration for Mouse"" which is the name of my section in 'xserver.inputClassSections' and then "Logitech G300s Optical Gaming Mouse: Applying InputClass "libinputConfiguration"" which is the name of the libinput configuration.
<nschoe> So I think I'm not too far off when I think there is some overriding being done....
<hlolli> you should be able to see it trough `journalctl -xe` without cat/less-ing a logfile? I'd first rule out a hardware/driver issue :)
<asheshambasta> any tips on debugging infinite recursion issues with overlays? Turns out, all overlays I've written so far have inf. recursion.
<hlolli> an then, if you have some weird windows laptop, you may need to add some boot parameters, specifically acpi_* params, which is different for any hardware, but those can be do some black magic, that would be a linux-wide issue so you can probably google if there are similar problems happening from other users in linux realm.
<nschoe> hlolli: well I see it all right in journalct -xf when I plu and unplug it.
<jakobrs> Why do I need sudo when using nix-env --list-generations with the system profile?
pbogdan has joined #nixos
<nschoe> There's this weird thing where the mouse is actually recognized both as a keyboard and as a mouse. But other than that.
proofofkeags has joined #nixos
<hlolli> could be related to how you created your profile. @jakobrs, afaik nix will take care of correct chmod/chown based on your privileges.
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<jakobrs> But I'd think that --list-generations shouldn't need any privileges.
rando25892 is now known as mixfix41
<hlolli> like, if you set up a single user nix environment, but created a user trough the terminal vs decleratively in nix-coniguration, I could imagine this situation could happen, but I never tested it.
<jakobrs> Unless it's specifically to ensure that no new generations are created while generating the list
<jakobrs> What I'm talking about can be observed using:
<jakobrs> nix-env --list-generations --profile /nix/var/nix/profiles/system
mixfix41 has quit [Changing host]
mixfix41 has joined #nixos
<hlolli> my profile is usually in ~/.nix-profile
<jakobrs> I'm talking about the system profile
<jakobrs> The one used by nixos-rebuild
<hlolli> but yeh, this is the same info that one sees anyway on boot :) maybe there's some security reason behind this
proofofkeags has quit [Ping timeout: 256 seconds]
chagra_ has joined #nixos
<hlolli> it could be reading file of all the package installed, and you wouldn't want that to be public, then again you can't build system either without sudo, so it goes bit hand in hand. But seeing your user environment should ofc not be blocked.
<hyper_ch> samueldr: howdy
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #85458 → mitmproxy: 4.0.4 -> 5.1.1 → https://git.io/JfJzA
<{^_^}> [nixpkgs] @rnhmjoj pushed 3 commits to master: https://git.io/JfUCb
<hyper_ch> samueldr: I tried to do uefi install first and then bios/grub install.... uefi works find but it just refuses to bootin legacy mode... despite grub/bios install haven't given any complaints
<hyper_ch> I then tried to altr the bios_grub partition with parted and set flag legacy_boot - didn't no help either
<{^_^}> [nixpkgs] @ProgVal opened pull request #85542 → rust: bootstrap from source → https://git.io/JfUCN
devkabiir[m] has joined #nixos
nschoe has joined #nixos
Darkmatter66 has joined #nixos
jakobrs has quit [Quit: WeeChat 2.8]
Darkmatter66_ has quit [Ping timeout: 240 seconds]
<Izorkin> How to need to merge PR #85225
orivej has quit [Ping timeout: 264 seconds]
<{^_^}> https://github.com/NixOS/nixpkgs/pull/85225 (by Izorkin, 4 days ago, open): nixos/unit: update service configuration and update unit to 1.17
magnetophon has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @DamienCassou opened pull request #85543 → ledger-autosync: 1.0.1 -> 1.0.2 → https://git.io/JfUCh
magnetophon has joined #nixos
<nschoe> hlolli: so I gave up and made a shell alias for setting the props to false with xinput :/
<hlolli> noo, what props are you setting to false, sorry I'm bit ADDish today.
<{^_^}> [nixpkgs] @LnL7 opened pull request #85545 → meta: expose availability flags in derivation metadata → https://git.io/JfUWk
<hlolli> could you do something like this @nschoe https://pastebin.com/vwCquhvL ?
<nschoe> hlolli: I guess I could yeah.
<nschoe> brb testing one last thing
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
smatting has quit [Ping timeout: 240 seconds]
smatting has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vidbina_ has quit [Ping timeout: 256 seconds]
cjay- is now known as cjay
opticnerve has joined #nixos
drakonis_ has joined #nixos
zupo has joined #nixos
nschoe has joined #nixos
<nschoe> I'm back. It still failed ^^
<hlolli> https://nixos.org/nixos/manual/#custom-xkb-layouts yes it was a bad example I gave you
<hlolli> I think it's missing X11, I did this so long ago
<hlolli> there's to say it should be located in /etc/X11/Xmodmap
<nschoe> ok.
<nschoe> I have my shell alias which allows me to fix my mouse in a one command.
<hlolli> ah ok, that sounds at this point equally wise than the official xdb layout customization, since you'd need to tell xorg to load it.
<nschoe> I'm just thinking udev might also help me. I'll quickly try a rule ^^
asknix has joined #nixos
<asknix> What would be your preferred way to remount some partitions RO *after* bootup? Writing a script and calling it in a systemd unit seems a bit hackish to me
<hlolli> in my i3 configuration I have a bunch of xorg commands running, it seems that xorg modules don't behave very declaratively, there's to say, it doesn't respect the config you give it until you give it a push.
<nschoe> hlolli: probably ^^
magnetophon has quit [Ping timeout: 265 seconds]
civodul has joined #nixos
koleesch has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arjen-jonathan has joined #nixos
__monty_1 has joined #nixos
__monty_2 has joined #nixos
__monty_2 has quit [Client Quit]
__monty_1 has quit [Client Quit]
morgrimm has joined #nixos
o1lo01ol1o has joined #nixos
alexherbo24 has joined #nixos
aborsu[m] has joined #nixos
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo24 is now known as alexherbo2
magnetophon has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
zupo has joined #nixos
jjakob has quit [Ping timeout: 256 seconds]
morgrimm has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @AshyIsMe opened pull request #85547 → j: 807 -> 901 → https://git.io/JfUW5
orivej has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
mounty has quit [Ping timeout: 256 seconds]
mallox has joined #nixos
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
alexherbo2 has joined #nixos
drakonis has joined #nixos
nschoe has quit [Ping timeout: 272 seconds]
drakonis_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @turion opened pull request #85548 → Add myself (turion) to the maintainers list for several packages → https://git.io/JfUWj
mallox has quit [Ping timeout: 258 seconds]
najibpuchong has left #nixos ["Leaving"]
cr4y1 has joined #nixos
o1lo01ol1o has joined #nixos
mallox has joined #nixos
mallox has quit [Client Quit]
mallox has joined #nixos
asknix has left #nixos [#nixos]
drakonis has quit [Ping timeout: 256 seconds]
mounty has joined #nixos
mallox has quit [Ping timeout: 250 seconds]
drakonis has joined #nixos
mallox has joined #nixos
seku has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 167 commits to haskell-updates: https://git.io/JfUl8
<asheshambasta> https://gist.github.com/asheshambasta/ac47853b8b0ac4af0f7a2c8bcf3b20cb -- this has an inf. recursion, what are the best ways to figure out where that is?
trfl has joined #nixos
alexherbo24 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo24 is now known as alexherbo2
<makefu> oldPkgs = import pkg-src {}; -> (import pkg-src) {};
<{^_^}> [nixpkgs] @alyssais opened pull request #85549 → modemmanager: enableParallelBuilding → https://git.io/JfUla
drakonis_ has joined #nixos
<makefu> just a quick guess though, it is often some import stuff
<makefu> it will hopefully be fixed soon for a couple of cases with nix#3502
<{^_^}> https://github.com/NixOS/nix/pull/3502 (by domenkozar, 3 days ago, merged): pass Pos to forceValue to improve infinite recursion error
<asheshambasta> makefu: that's not it.
<makefu> :(
zupo has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/257aff80107 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
hmpffff has joined #nixos
drakonis has quit [Ping timeout: 246 seconds]
iceypoi has joined #nixos
dermetfan has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @flyfloh opened pull request #85550 → forked-daapd: init at 27.1 → https://git.io/JfUlw
<asheshambasta> yeah debugging these infinite recursions with overlays especially is definitely really painful
<{^_^}> [nixpkgs] @alyssais opened pull request #85551 → libqmi: enableParallelBuilding → https://git.io/JfUlr
<makefu> another thing i sometimes do is to comment out the one half of the code and see if the error persists, continue with the other half and so on
ta3dot1416 has joined #nixos
zupo has quit [Client Quit]
icey_ has quit [Ping timeout: 260 seconds]
<ixxie> has anybody has an experience with their microphone randomly muting itself in NixOS?
noudle has joined #nixos
<infinisil> makefu: Note that that PR by domen only improves inf rec errors where there currently is no location info (where it says "at undefined position")
fendor has joined #nixos
<turion> How do I imperatively install one single package from a branch of nixpkgs? I went to that branch and did:
<turion> nix-env -I ./default.nix -i -E "nixpkgs: nixpkgs.agda.withPackages (p: with p; [standard-library])"
<turion> That seems to be wrong. When I do nix repl default.nix, I can do agda.withPackages (p: with p; [standard-library]) though
<asheshambasta> makefu: I found the issue, however.
<{^_^}> [nixpkgs] @Elyhaka closed pull request #85451 → teams: fixing pulseaudio access → https://git.io/JfJW2
<{^_^}> [nixpkgs] @Elyhaka reopened pull request #85451 → teams: fixing pulseaudio access → https://git.io/JfJW2
<asheshambasta> another thing I'm noticing is that overrides and overlays don't work together, with the latter taking precedence over overrides.
<asheshambasta> or that could be my specific case.
<b42> turion: maybe try -f instead of -I ?
<b42> or -I nixpkgs=.
broccoli has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @magnetophon opened pull request #85553 → WIP: zrythm: init at 0.8.252 → https://git.io/JfU8J
pbogdan has quit [Ping timeout: 250 seconds]
<infinisil> asheshambasta: I already mentioned yesterday, "override" is ambiguous, you probably mean config.packageOverrides
<infinisil> Other kind of overrides are `.override` and `.overrideAttrs`, both of which can be used independent of whether overlays or config.packageOverrides is used
pbogdan has joined #nixos
<{^_^}> [nixpkgs] @magnetophon opened pull request #85554 → lsp-plugins: 1.1.15 -> 1.1.19 → https://git.io/JfU8Y
leotaku has quit [Ping timeout: 256 seconds]
drakonis has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
<asheshambasta> infinisil: well, I had a release nix expr. that I'd now like to rewrite in terms of overlays instead of overrides as earlier.
hmpffff has joined #nixos
<infinisil> Again, don't say overrides when you mean packageOverrides, it's confusing
<infinisil> (and if you really mean .override/.overrideAttrs, you can't replace those with overlays)
<ixxie> Is anybody familiar with the situation of the jitsi packages?
<asheshambasta> in the beginning, since we spoke yesterday, I've managed to write the servant overlays now: the subsituteInPlace worked but the package didn't compile, which I've now fixed.
drakonis_ has quit [Ping timeout: 265 seconds]
WilliButz has quit [Quit: bye]
WilliButz has joined #nixos
<asheshambasta> mainly, my confusion is, can I use `pkgs = import pkg-src { inherit config overlays; }` or will that be unpredictable?
koleesch_ has joined #nixos
<infinisil> config and overlays are mainly separate things. The fact that config.packageOverrides exists is a legacy thing
koleesch has quit [Read error: Connection reset by peer]
drakonis has quit [Ping timeout: 265 seconds]
<infinisil> I'd just not use packageOverrides, but config can be used to configure other things if needed
<{^_^}> [nixpkgs] @B4dM4n opened pull request #85556 → virtualbox: 6.1.4 -> 6.1.6 → https://git.io/JfU84
o1lo01ol1o has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @kmcopper opened pull request #85557 → [20.03] openvswitch 2.12.0 -> 2.13.0 → https://git.io/JfU8R
zeenk has joined #nixos
<asheshambasta> infinisil: in that case, can config and overlays be used together? It seems to me that overlays take precedence.
cyberdront has quit [Remote host closed the connection]
<infinisil> asheshambasta: Again, config and overlays are separate things that have different functions, they can be used together without problems. Even config.packageOverrides works together with overlays, but just ignore that as it's legacy
<LambdaDuck> Is the command-not-found utility available when using nix on non-nixos systems?
evertedsphere has quit [Ping timeout: 256 seconds]
morgrimm has joined #nixos
noudle has quit []
reallymemorable has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
notgne2 has quit [Ping timeout: 265 seconds]
jjakob has joined #nixos
<LambdaDuck> I found this which probably solves my problem: https://github.com/bennofs/nix-index
turion has quit [Ping timeout: 246 seconds]
opticnerve has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @prusnak opened pull request #85558 → keepassxc: 2.5.2 -> 2.5.4 → https://git.io/JfU43
<{^_^}> [nixpkgs] @aanderse merged pull request #85538 → openjk: use gcc9 → https://git.io/JfUn2
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JfU4c
<freeman42x[m]> someone installed nix on Debian and the `.nix-channels` defaulted to `https://nixos.org/channels/nixpkgs-unstable nixpkgs` is that normal? seems very weird to me
medvid has quit [Ping timeout: 256 seconds]
mallox has quit [Ping timeout: 258 seconds]
mallox has joined #nixos
zupo has joined #nixos
o1lo01ol1o has joined #nixos
<infinisil> Yeah I think that's normal, unfortunately
<infinisil> I recently brought it up in #nixos-dev too
<immae> Hello there, is there some (read-only) option in nixos that returns /run/current-system/sw or should I hardcode it when I need it?
mallox has quit [Client Quit]
<freeman42x[m]> created issue with the broken system notifications I am having on NixOS 20.03 Beta: https://github.com/NixOS/nixpkgs/issues/85559
<{^_^}> #85559 (by razvan-flavius-panda, 1 minute ago, open): System sound and pop-up notifications broken on 20.03 Beta
mallox has joined #nixos
<asheshambasta> I guess I'll need more time to figure out how overlays work.
medvid has joined #nixos
<infinisil> freeman42x[m]: Here's the discussion on #nixos-dev: https://logs.nix.samueldr.com/nixos-dev/2020-04-15
lunik1 has quit [Quit: :x]
<freeman42x[m]> infinisil: `Yeah I think that's normal, unfortunately` oh, that is terrible
mounty has quit [Ping timeout: 258 seconds]
koleesch_ has quit [Ping timeout: 256 seconds]
lunik1 has joined #nixos
koleesch_ has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #85560 → terraform: fix /bin/stty reference → https://git.io/JfU47
<asheshambasta> infinisil: this line is still quite wonky (https://gist.github.com/asheshambasta/1ef9af2b59b09f84ad47ffd6b061291f#file-release-nix-L91), and I'm trying to practice with overlays. Seems to me that swapping the positions of overlay and servantOverlays causes errors to change.
<asheshambasta> anyway, sorry to be bothering you with this.
<infinisil> asheshambasta: One thing you definitely need to change (and I illustrated this in the gist from yesterday) is that you shouldn't be declaring an oldPkgs, but instead use the overlays arguments for this
<infinisil> asheshambasta: Another thing, for https://gist.github.com/asheshambasta/1ef9af2b59b09f84ad47ffd6b061291f#file-release-nix-L81-L82, use `overrides = composeExtensions genOverlay otherOverlay` instead
koleesch__ has joined #nixos
khal_ has quit [Read error: Connection reset by peer]
koleesch_ has quit [Ping timeout: 256 seconds]
<asheshambasta> ah yes
<{^_^}> [nixpkgs] @primeos pushed to master « Revert "nixos: Introduce nix.buildLocation option" »: https://git.io/JfUBW
koleesch__ has quit [Read error: Connection reset by peer]
koleesch__ has joined #nixos
askatasun[m] has joined #nixos
<ixxie> anybody has a working screensharing solution on NixOS?
ixxie has quit [Quit: Lost terminal]
<arianvp[m]> Yes, use Xorg
<arianvp[m]> Screen sharing is broken on Wayland
ixxie has joined #nixos
leotaku has joined #nixos
<kraem> think ixxie missed the answer because he quit and rejoined arianvp[m] :p
turion has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
<{^_^}> [nixpkgs] @Flakebi opened pull request #85561 → salt: 2019.2.0 -> 3000.1 → https://git.io/JfURc
<typetetris> Regarding haskell and nix:I awlays used packageOverrides with haskellPackages. Is this still the recommended way or should one switch to using that 'extend' thing I have seen in some posts?
turion has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
koleesch__ has quit [Ping timeout: 272 seconds]
zeenk has quit [Quit: Konversation terminated!]
<the_pumpkin_man[> Hello, I am trying to install mpd and mpc on NixOS. So I enabled mpd service and installed mpc_cli. But when I try to `mpc play`, I got this error `ERROR: Failed to enable output "default detected output" (jack); Failed to connect to JACK server, status=17` What should I do ?
<{^_^}> [nixpkgs] @kmcopper opened pull request #85562 → [WIP] Improvements to libvirt → https://git.io/JfURV
<hexa-> the_pumpkin_man[: if you haven't setup jack, but let's say pulseaudio, you need to create an output for that
proofofkeags has joined #nixos
<srk> typetetris: you can also compose overlays https://paste.rs/fN0.nix
morgrimm has joined #nixos
andreas303 has quit [Remote host closed the connection]
<typetetris> srk, thanks! This looks like it should be put in the documentation ...
andreas303 has joined #nixos
<srk> typetetris: on it, kind of, I'm not quite sure about this approach but it looks good so far
morgrimm has quit [Ping timeout: 264 seconds]
<{^_^}> Gabriel439/haskell-nix#53 (by roberth, 1 year ago, open): Prefer composable approach
<the_pumpkin_man[> hexa-: I dont really understand that error because I am using my speakers and not jack. Sound is actually working with pulseaudio I think, I enabled it in the config. So how do I create an output for that ?
ta3dot1416 has left #nixos ["Leaving"]
<the_pumpkin_man[> I saw on the Arch Wiki an audio_output option for mpd, but I dont know how to get the device's name
<the_pumpkin_man[> Always when I try to enter some name, I got the "Connection refused" error
<srk> the_pumpkin_man[: I think the problem might be that pulseaudio under your user and mpd service uses another user
<srk> *pulse runs under
dermetfan has joined #nixos
<the_pumpkin_man[> Welll I saw this workaround https://wiki.archlinux.org/index.php/Music_Player_Daemon/Tips_and_tricks#Local_(with_separate_mpd_user) but it didnt changed anything
morgrimm has joined #nixos
<srk> so you use separate (default) mpd user?
<the_pumpkin_man[> Yes
<srk> yes network playback is one option
<the_pumpkin_man[> I don't know which user runs Pulseaudio, I jut enabled it
<srk> ps axuf | grep pulseaudio
<srk> typically you
<the_pumpkin_man[> Yes right
<{^_^}> [nixpkgs] @Ma27 merged pull request #85334 → systemd: 243.7 -> 245 → https://git.io/Jfvdr
<{^_^}> [nixpkgs] @Ma27 pushed 14 commits to staging: https://git.io/JfU0G
<ixxie> kraem / arianvp[m] - what was the answer?
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<the_pumpkin_man[> Well I stil got `MPD error: Connection refused`
<ixxie> nvm found the logs :D
eof has quit [Quit: eof]
<ixxie> I was refering to a cross-platform screen sharing solution
eof has joined #nixos
zupo has joined #nixos
<ixxie> I tried Jitsi today but was rather horrified by the fact that all sessions are completely open
<freeman42x[m]> I am very confused about this error: https://gist.github.com/altern/9ffabd26c5d4c28533e9c928f9f7190b
<freeman42x[m]> why is a tar command being run?
<freeman42x[m]> and how could we fix this build? is this a package all-cabal-hashes-component-hedgehog? it sounds like there is something called all-cabal-hashes-component and hedgehog is the actual package in it or something
<srk> the_pumpkin_man[: do you have the tcp support enabled in pulse?
<the_pumpkin_man[> srk: in configuration.nix : `pulseaudio.extraConfig = "load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1";` I think so
<srk> looks good
<the_pumpkin_man[> (Got this from https://github.com/NixOS/nixpkgs/issues/37131)
<{^_^}> #37131 (by Chiiruno, 2 years ago, closed): mpd: doesn't send audio to localhost on tcp
captn3m0 has quit [Read error: Connection reset by peer]
captn3m0 has joined #nixos
eof has quit [Ping timeout: 265 seconds]
<srk> freeman42x[m]: is that stack? maybe post default.nix / shell.nix as well
eof has joined #nixos
<freeman42x[m]> srk: this is the codebase: https://github.com/razvan-flavius-panda/exitcode
<freeman42x[m]> srk: if I run `nix-shell` on my machine it builds fine (NixOS) but it fails on someone else's machine which is Ubuntu
<srk> freeman42x[m]: because it isn't pinning nixpkgs
<srk> ,pinning
<srk> freeman42x[m]: can't expect it to be reproducible if you don't do that
<srk> builds fine for me with nixpkgs 77a062fe47940f1d1cdfb136934bb42d20094c51
mallox has quit [Ping timeout: 240 seconds]
<freeman42x[m]> srk: I think it built for me since I was on 20.03 Beta and he was in 19.09, trying now to see if that was itt
<adamse> i want to make my own haskell package set, with a slightly customised ghc derivation and some cabal overrides applied to all packages. How can I do that? (I'm especially wondering about the second part)
<srk> hah
fenedor has joined #nixos
jarlg has joined #nixos
<srk> adamse: it contains both, custom package set in form of myHaskellPackages which uses compiler variable and env.nix overlay altering mkDerivation to disable profiling for all packages
fendor has quit [Ping timeout: 256 seconds]
notgne2 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to master « bbswitch: fix build with Linux kernel version >= 5.6.0 »: https://git.io/JfUEt
lux2 has joined #nixos
<lux2> hi
<adamse> srk: thanks, that seems useful as a reference!
fenedor is now known as fendor
<adamse> srk: compiler.nix removes the override that the ${compiler} comes with?
<lux2> I seems to have a problem with my dns setup. Applications seems to be unable to resolve "www.philosophie.hu-berlin.de" while nslookup *can* resolve it.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<freeman42x[m]> any way to specify in configuration.nix that I want to install an older version of a package? (cabal-install)
<lux2> ping: www.philosophie.hu-berlin.de.: Name or service not known
<lux2> any ideas?
<lux2> the problem is persistent since >48h and persistent over reboots
<srk> adamse: it should compose if you have an overlay applied to it *previously*
<srk> order matters
<infinisil> lux2: What's in /etc/resolv.conf?
<srk> ,unstable
<lux2> # Generated by resolvconf
<lux2> domain localdomain
<lux2> nameserver 1.1.1.1
<lux2> nameserver 8.8.8.8
<lux2> options edns0
<srk> ,unstable freeman42x[m]
<srk> freeman42x[m]: similar to that with ,pinning
<srk> freeman42x[m]: you can just grab an older (commit) version of nixpkgs and use that
<lux2> I use 1.1.1.1 & 8.8.8.8 because my provider dns is problematic. Both is set on my router to I get it by DHCP.
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « treewide: fix structured-attrs related failures »: https://git.io/JfUEc
<typetetris> When I try to get a nix-shell for a package I want to work on, I use `haskellPackages.shellFor` and pass haskell-ide-engine from https://github.com/Infinisil/all-hies and cabal-install in `buildInputs`. I get this `can't load .so ...` error when starting `hie`. What do I need to do to get a working hie in nix 20.03?
nschoe has joined #nixos
<AmandaC> lux2: Sadly, some ISPs MITM any DNS packets. Comcast does, at least
<infinisil> typetetris: See https://github.com/Infinisil/all-hies/issues/32#issuecomment-598691682 and other comments
<lux2> :/ well AFAIK mine doesnt. Also I have the problem *only* with hu-berlin.de subdomains
<infinisil> lux2: Actually that domains also errors for me
<lux2> interesting
<lux2> but why does nslookup work then?
<lux2> ~ > nslookup www.philosophie.hu-berlin.de.
<lux2> Server: 1.1.1.1
<infinisil> Maybe nslookup just has it cached
<lux2> Address: 1.1.1.1#53
<lux2> Non-authoritative answer:
<lux2> www.philosophie.hu-berlin.de canonical name = webmania.cms.hu-berlin.de.
<AmandaC> dig finds that for me
reallymemorable has quit [Quit: reallymemorable]
<infinisil> Yeah same for me
zupo has joined #nixos
lorimer has joined #nixos
<lux2> but, if dig & nslookup works, why doesnt ping?
<{^_^}> [nixpkgs] @mweinelt opened pull request #85565 → pythonPackages.pulsectl: init at 20.4.3 → https://git.io/JfUEg
<AmandaC> ping works here as well
<AmandaC> did you get blackholed somehow?
<lux2> blackholed?
<infinisil> `ping www.philosophie.hu-berlin.de` -> "ping: www.philosophie.hu-berlin.de: Name or service not known" for me
<AmandaC> ah
<AmandaC> PING webmania.cms.hu-berlin.de (141.20.5.188) 56(84) bytes of data.
<infinisil> AmandaC: You're also using the command `ping www.philosophie.hu-berlin.de`?
<lux2> ping: www.philosophie.hu-berlin.de.: Name or service not known
<lux2> ~ > ping webmania.cms.hu-berlin.de.
<lux2> PING webmania.cms.hu-berlin.de (141.20.5.188) 56(84) bytes of data.
<infinisil> Same for me ^
<lux2> the problem seems to be the first CNAME. I just dont understand why
<AmandaC> infinisil: yup
<AmandaC> At least I think I did, stepped away from the computer just now to do some chores
<infinisil> I strongly suspect that this websites dns setup is non-standard
<typetetris> infinisil, so it should work, if I give all-hies my nixpkgs set in the pkgs parameter? Of course I will loose the caching ..
<typetetris> infinisil, thanks for the hint
<lux2> yeah. something is wrong. I would just prefer to know before I contact them...
bhipple has joined #nixos
<typetetris> infinisil, strange I already did that.
<infinisil> typetetris: Nah, check your glibc versions
proofofkeags has quit [Ping timeout: 240 seconds]
<asheshambasta> in a list of overlays, should the changes made in the "super" of the current overlay be available? For example, I have overlays = [ o1 o2 ]; and o1 marks a package as not-broken. o2's super parameter will contain this package marked as not-broken, right?
<infinisil> lux2: Oh, see `dig A www.philosophie.hu-berlin.de`. That should make them send an A record
<infinisil> But they don't
<infinisil> Only a CNAME one
<infinisil> Compare that to any other domain which does send an A record
<lux2> well, but shouldnt that work?
<lux2> To send a CNAME?
<infinisil> lux2: If you can find a website you can reach even though its domain only returns a CNAME record
<lux2> I try to understand it. I just realized my own domains return A records even if I just configured a CNAME
zebrag has joined #nixos
<infinisil> I guess it makes sense, `dig A` specificalyl requests an A record. If it isn't returned, that sounds like the servers problem
jakobrs has joined #nixos
<{^_^}> [nixpkgs] @hedning merged pull request #85378 → webkitgtk: 2.28.0 → 2.28.1 → https://git.io/Jff0A
<{^_^}> [nixpkgs] @hedning pushed commit from @jtojnar to master « webkitgtk: 2.28.0 → 2.28.1 (#85378) »: https://git.io/JfUEQ
<jakobrs> What does the current generation of /nix/var/nix/profiles/system actually matter?
<jakobrs> It's not
<jakobrs> - the current configuration
<jakobrs> - the booted configuration
<jakobrs> - or the boot default
<jakobrs> So I cannot figure out what it actually does.
<infinisil> Needed for rollbacks at least
<jakobrs> But what does the _current_ generation actually matter?
<jakobrs> If I do nix-env --rollback /nix/var/nix/profiles/system
<jakobrs> does anything actually happen?
<infinisil> It should point the current generation to the one before the previous one
<lux2> but shouldnt `1.1.1.1` resolve the A record then?
<infinisil> Repeating that should move it back further
<AmandaC> BAck at the computer: Yup, I ran `ping www.philosophie.hu-berlin.de`
<infinisil> lux2: Not getting that question
<jakobrs> It does point the current generation to the one before
<jakobrs> but that doesn't actually affect your system in any way (it's not activated)
<lux2> well, I ask my dns server. So 1.1.1.1. And shouldnt that server then follow the CNAME?
<jakobrs> just realised that it's probably the only configuration that's spared by `nix-collect-garbage -d`
eof has quit [Quit: eof]
<{^_^}> [nix] @raboof opened pull request #3517 → Add '--save' option to nix-shell → https://git.io/JfUuf
eof has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
mallox has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
numkem has joined #nixos
zupo has joined #nixos
<lux2> infinisil: interesting is that it seems to be a cloudflare only problem. 8.8.8.8 answers correctly with an A Record. 1.1.1.1 doesnt.
<lux2> thanks for your help. I'll send an to the IT departement of that website
mallox has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @kirelagin opened pull request #85566 → gmailieer -> lieer: 1.0 -> 1.1 → https://git.io/JfUu4
mallox has joined #nixos
cosimone has joined #nixos
jakobrs has quit [Quit: WeeChat 2.8]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
bhipple has quit [Ping timeout: 265 seconds]
bhipple has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #85567 → nixos/nginx: use sandboxing mode → https://git.io/JfUuQ
o1lo01ol1o has quit [Ping timeout: 264 seconds]
domogled has quit [Remote host closed the connection]
stevenxl has quit [Quit: Connection closed for inactivity]
evertedsphere has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #85499 → dnnl: 1.2.2 -> 1.4 → https://git.io/JfJAQ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfUup
drakonis_ has joined #nixos
Cale has quit [Remote host closed the connection]
<webstrand> How does a nixos module's `pkgs` parameter get built? I want to override a package used by the modules/system/boot/loader/grub/grub.nix module
<{^_^}> [nixpkgs] @peterhoeg closed pull request #74919 → crystal.buildCrystalPackage: add checkPhase → https://git.io/JeMjm
drakonis has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @peterhoeg closed pull request #80390 → crystal: 0.32.1 -> 0.33.0 → https://git.io/Jv4sO
Cale has joined #nixos
<srk> ,overlay webstrand
waleee-cl has joined #nixos
<{^_^}> webstrand: Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
o1lo01ol1o has joined #nixos
sarcasticadmin has joined #nixos
mananamenos has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<numkem> I've decided to start learning haskell and I can't figure out if the packages just missmatch or I did something. Trying to use stack from stable ends up with an error saying it can't find the attribute ghc883, stable has ghc 8.6.5
<numkem> installing unstable (from nixos-unstable) gives the same error even if now the packages should "fit"
<numkem> *unstable stack
<srk> pkgs.haskellPackages is (at least for me) pkgs.haskell.packages.ghc883, you could use pkgs.haskell.packages.ghc865
<srk> I would try without stack if the package is not relying heavily on it
<numkem> srk: I'm using doom emacs distro and I'd like to get lsp support going. Plus I'm learning using exercism and it relies on stack to run tests
rardiol has joined #nixos
mallox has quit [Ping timeout: 250 seconds]
cosimone has quit [Ping timeout: 252 seconds]
cosimone_ has joined #nixos
morgrimm has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
mallox has joined #nixos
cosimone_ is now known as cosimone
<{^_^}> [nixpkgs] @bqv closed pull request #85465 → next-gtk-webkit: init at 1.5.0 → https://git.io/JfJ26
morgrimm has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @zimbatm pushed commit from @marsam to master « terraform: fix /bin/stty reference (#85560) »: https://git.io/JfUzQ
<{^_^}> [nixpkgs] @zimbatm merged pull request #85560 → terraform: fix /bin/stty reference → https://git.io/JfU47
drakonis has joined #nixos
<genevino> so for whatever reasons, nix-channel --list doesn't reveal any output on my system, i keep asking myself how i ended up with this
ddellacosta has joined #nixos
<genevino> still, can i just manually add the "normal" channel via nix-channel --add https://channels.nixos.org/<something> ?
drakonis_ has quit [Ping timeout: 272 seconds]
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #85569 → uboot: 2020.01 -> 2020.04 → https://git.io/JfUgf
<LnL> depending on the setup the default channel might be owned by root
<genevino> or, put differently: i was able to add and use the nixpkgs-unstable channel - i tried to understand what the "normal" channel would be named instead, but https://status.nixos.org/ looks like there is no link for non-unstable that won't change, is there some pointer to stable packages i can use?
<genevino> LnL: i was root when i tried.
<LnL> as for the name depends if this is nixos or a nix install on a different distro/platform
<genevino> that's nixos.
o1lo01ol1o has quit [Remote host closed the connection]
<LnL> in that case firstly you want nixos-unstable not nixpkgs-unstable, the latter is not tested
o1lo01ol1o has joined #nixos
henry_ has joined #nixos
vika_nezrimaya has quit [Read error: Connection reset by peer]
<henry_> Back again.
<LnL> and the default would be something like nix-channel --add https://nixos.org/channels/nixos-19.09 nixos
<henry_> cole-h: I figured out the source of my problem, and I discovered a "hack" around it. I'm not 100% sure what the consequences of this hack are, so if anyone knows I would like them to tell me.
<henry_> What happens (specifically) when sandboxing is set to false? (in nix.conf, `sandbox = false`)
<genevino> LnL: perfect, thank you
<webstrand> I'm getting the error "The option `boot.grubDevice` in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/boot/loader/grub/grub.nix` us already declared in `/root/.nix-defexpr/channels/nixos-unstable/nixos/modules/system/boot/loader/grub/grub.nix`. Whenever I try to `nixos-rebuild switch`
<webstrand> I followed this https://github.com/NixOS/nixpkgs/issues/55366 issue, to replace grub2
<{^_^}> #55366 (by lilyball, 1 year ago, open): How to override package used by module?
<webstrand> I'm a bit confused, why is any state being stored per-user when I'm trying to rebuild the base-system configuration.nix?
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #85343 → rshijack: init at 0.3.0 → https://git.io/Jfvxb
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfUgo
sarcasticadmin has quit [Ping timeout: 240 seconds]
xfix has joined #nixos
pbogdan has quit [Quit: ZNC 1.7.5 - https://znc.in]
<henry_> Additionally, `man nix-env` shows a `--prebuilt-only` flag which forces the use of precompiled binaries, and I would like the inverse of this option: a way to force compilation from source.
<henry_> All help appreciated.
pbogdan has joined #nixos
<srk> you can disable caches
<srk> --option substituters "" might work
<LnL> --substitute false
<srk> even
<henry_> So a "substitute" is a binary.
<henry_> Great.
otulp has quit [Remote host closed the connection]
<henry_> Thanks.
ixxie has quit [Quit: Lost terminal]
gxt has quit [Quit: WeeChat 2.8]
<LnL> yeah, a substituter is used to "replace" a local build
zeta_0 has joined #nixos
knupfer has quit [Ping timeout: 265 seconds]
zeta_0 has quit [Client Quit]
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @adisbladis opened pull request #85570 → nixos-containers: Add support for custom nixpkgs argument → https://git.io/JfU2W
<adamse> srk: I think I managed to cobble something sensible together: https://gist.github.com/adamse/a05ad49cd5548695167457445b8db4be, thanks for the info :)
<srk> adamse: nice, yw!
numkem_ has joined #nixos
numkem_ has quit [Client Quit]
linarcx has joined #nixos
henry_ has quit [Quit: henry_]
numkem has quit [Ping timeout: 256 seconds]
abathur has joined #nixos
proofofkeags has joined #nixos
cole-h has joined #nixos
turion has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #84522 → linux_*_hardened: use linux-hardened patch set → https://git.io/JvAOz
<{^_^}> [nixpkgs] @yegortimoshenko pushed 31 commits to master: https://git.io/JfU29
philr_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #85571 → pythonPackages.secretstorage: drop old dependency → https://git.io/JfU2b
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/JfUaG
mla has joined #nixos
drakonis has quit [Quit: WeeChat 2.7]
drakonis1 is now known as drakonis
<{^_^}> [nixpkgs] @Mic92 merged pull request #85414 → skopeo: cleanup → https://git.io/JffSb
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JfUal
arjen-jonathan has quit [Ping timeout: 252 seconds]
<genevino> https://nixos.wiki/wiki/Nginx <- so when using something like this, how do i control the contents of /var/www/myhost.org and its contents? is this strictly out-of-scope for nix and a job for the config management tool instead?
<clever> genevino: what i do, is i point nginx to a derivation
<genevino> clever: and how does your derivation look then?
<clever> genevino: pkgs.runCommand "rootdir" {} "mkdir $out ; cp ${./index.html} $out/index.html" for ex
<genevino> interesting, where does $out come from?
<clever> genevino: all derivations have a $out
<clever> genevino: the path is based on a hash of the build directions
<genevino> clever: ok so i should read about derivations, you say?
<clever> genevino: here is another more complex example
<clever> the nginx rootDir is set to a derivation, that contains 2 images and an index.html
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85571 → pythonPackages.secretstorage: drop old dependency → https://git.io/JfU2b
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfUaM
<clever> ,nix-pills genevino
<clever> ,pills ?
<clever> genevino: that should explain the basics and how derivations work
asheshambasta has quit [Ping timeout: 246 seconds]
plutes has joined #nixos
asbachb has joined #nixos
plutes has quit [Remote host closed the connection]
<genevino> clever: thank you!
plutes has joined #nixos
jarlg has quit [Ping timeout: 264 seconds]
<asbachb> Can someone tell me if nscd is trying to mount something?
<asbachb> I'm back getting run NixOS inside an LXD container.
henry_ has joined #nixos
ixxie has joined #nixos
<{^_^}> [nixpkgs] @ajs124 opened pull request #85572 → libreoffice: fix and update → https://git.io/JfUaN
<ixxie> hmm
ixxie[m] has joined #nixos
chagra_ has quit [Ping timeout: 256 seconds]
<turion> b42: $ nix-env -I nixpkgs=. -i -E "nixpkgs.agda.withPackages (p: with p; [standard-library])"
<turion> error: undefined variable 'nixpkgs' at (string):1:1
<turion> error: attribute 'agda' missing, at (string):1:10
<turion> nix-env -I nixpkgs=. -i -E "nixpkgs: nixpkgs.agda.withPackages (p: with p; [standard-library])"
arjen-jonathan has joined #nixos
<turion> But I can do nix repl and then :i :)
<henry_> I keep having errors related to my shells for some reason.
<henry_> Does anyone know why this is?
chagra_ has joined #nixos
<clever> turion: `nix-env -E ...` will pass you a set, containign the path to each channel
<clever> turion: so you want something more like `nix-env -E 'channels: (import channels.nixpkgs {}).agda`
<clever> yes, its confusing, just use config.nix or nix-shell
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<turion> clever: Ah ok... so nix-env -E doesn't work with -I basically?
<clever> turion: you can still use -I
<clever> nix-env -I nixpkgs=whatever -E '_: import <nixpkgs> ...
<clever> but at that point, you can just skip the search path
<clever> nix-env -E '_: import ./. {}`
<clever> just import what you wanted to begin with, skip the searching for it!
<turion> hm fair enough
<turion> b42++ clever++
<{^_^}> b42's karma got increased to 6, clever's karma got increased to 396
<turion> henry_: This is weird, even in Nixos there is a /bin/sh... what does ls /bin say?
morgrimm has joined #nixos
<henry_> turion: All of my shells are in absolute perfect working order.
<clever> henry_: are you disabling the binary caches?
<henry_> I first encountered this problem (I think it's related to the same thing) when trying to run `nix-channel --update` for the first time.
<{^_^}> [nixpkgs] @snicket2100 opened pull request #85573 → whsniff: init → https://git.io/JfUVL
<henry_> Then I set `sandbox = false` in `nix.conf` and the update worked.
ericsagnes has quit [Ping timeout: 265 seconds]
<henry_> But now I'm getting these errors.
<henry_> clever: I've tried with and without, to no effect.
<clever> henry_: when the sandbox is on, nix adds an impure /bin/sh to the sandbox, due to system() in glibc
<clever> and the entire closure of that (including a glibc) get added to the sandbox
<clever> but if your building that glibc, it gets omitted, and the sh fails hard
<cole-h> If you wanted to drop a file to an arbitrary directory in `/var/lib/...`, how would you achieve that?
<clever> cole-h: depends on why it needs to be there and when
<cole-h> Ideally, it'd behave like `environment.etc.<....>`, so always there I guess?
<clever> cole-h: why does it need to be there?
<cole-h> Dunno. I was looking at how someone set up qemu hooks for libvirtd and they use `/var/lib/libvirt/hooks` (rather than `/etc/libvirt/hooks` as I have on Arch right now)
<cole-h> Though this post is from 2 years ago, so maybe the location has changed since then
<henry_> clever: Can you elaborate a little more? What are the practical effects of this?
<clever> cole-h: either patch libvirtd to look in a diff place, or use a prestart script on the libvirtd service
<clever> henry_: if your trying to build the glibc that /bin/sh depends on, things fail hard
<cole-h> Yeah, that's what I figured. Thanks. clever++
<{^_^}> clever's karma got increased to 397
<clever> henry_: the only real solution is to use a binary cache for that step, or use a different nixpkgs from the host
<clever> cole-h: and the existing service entry already copies things
<henry_> So I need glibc to use Nix's sh, and Nix's sh needs glibc to run?
arjen-jonathan has quit [Ping timeout: 252 seconds]
<clever> $ nix show-config | grep sh
<clever> sandbox-paths = /bin/sh=/nix/store/nfpnmpi5qc3dqjc50awf9c7nbr87yp18-busybox-1.31.1-x86_64-unknown-linux-musl/bin/busybox
<clever> henry_: there should be an entry something like this
<clever> and it looks like it might be static now, which should fix all of that?
<clever> henry_: oh, was nix built by nix, or something else?
<srk> cole-h: it's also possible to use systemd.tmpfiles to copy stuff around
<henry_> I compiled Nix from a release tarball.
<clever> henry_: that would be the problem then, you have to compile nix with nix, to make the default sandbox-paths work right
<henry_> I'm more or less at the frontier of my systems knowledge already, lol.
zupo has joined #nixos
<clever> henry_: just `nix-env -iA nixpkgs.nix` and that should fix it
reallymemorable has joined #nixos
<cole-h> srk++ Interesting, something to look into. Thanks.
<{^_^}> srk's karma got increased to 8
<srk> ,tmpfiles
<srk> aaa
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<henry_> clever: When I run it with `--option --substitute false` I encounter the very same error. I guess I'm going to have to recompile with libsodium? lol.
<henry_> *`--option --substitute false`
<clever> henry_: probably
<henry_> **`--option substitute false`
morgrimm has quit [Ping timeout: 264 seconds]
<henry_> clever: Thanks.
<henry_> I'll pop back in for the next chapter of this saga in a few minutes.
morgrimm has joined #nixos
cr4y1_ has joined #nixos
cr4y1 has quit [Ping timeout: 240 seconds]
ericsagnes has joined #nixos
linarcx has quit [Quit: WeeChat 2.8]
<drakonis> someone merge #84261 real quick
<{^_^}> https://github.com/NixOS/nixpkgs/pull/84261 (by catern, 2 weeks ago, open): cataclysm-dda: 0.D -> 0.E
armin_ has joined #nixos
<drakonis> and #84873
armin_ has quit [Client Quit]
<{^_^}> https://github.com/NixOS/nixpkgs/pull/84873 (by mnacamura, 1 week ago, open): cataclysmDDA: add modding interface
linarcx has joined #nixos
fabianhjr has joined #nixos
cosimone has quit [Quit: Terminated!]
oida has quit [Remote host closed the connection]
oida has joined #nixos
<fabianhjr> Hi, I am having an issue with NixOS and development libraries. I want to have in my env (nix-env) a gmp header and using `nix-locate` I was able to determine that the nixpkg.gmp.dev provides it but when running `nix-env -iA nixos.gmp.dev` I get `nixos.gmp` instead. :/ Is this normal? How could I get the header files into my `~/.nix-profile`?
<clever> ,libraries fabianhjr
<{^_^}> fabianhjr: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<fabianhjr> Oh ok, thanks I figured I was doing something weird Dx
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
linarcx has quit [Read error: Connection reset by peer]
linarcx has joined #nixos
Darkmatter66_ has joined #nixos
Darkmatter66 has quit [Ping timeout: 256 seconds]
linarcx has quit [Client Quit]
hlolli has quit [Ping timeout: 272 seconds]
cr4y1__ has joined #nixos
<asbachb> Is there a trick with zsh and completion? For command it works but not for command parameters. In bash it's working as expected.
linarcx has joined #nixos
cr4y1_ has quit [Ping timeout: 256 seconds]
linarcx has quit [Client Quit]
linarcx has joined #nixos
proofofkeags has quit [Remote host closed the connection]
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #85554 → lsp-plugins: 1.1.15 -> 1.1.19 → https://git.io/JfU8Y
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfUwy
<ajs124> asbachb: worksforme
<ajs124> I don't use ohMyZsh though
<ajs124> you might be missing programs.zsh.enableCompletion = true;
morgrimm has quit [Ping timeout: 265 seconds]
<asbachb> ajs124: Can you paste your ~/.zshrc ?
mounty has joined #nixos
<infinisil> ajs124: Looks like that's enabled by default
<infinisil> > nixos.options.programs.zsh.enableCompletion.default
<{^_^}> true
zupo has quit [Ping timeout: 264 seconds]
<asbachb> Mh perhaps it a problem with the lxc package.
cosimone has joined #nixos
<asbachb> `ls --` <tab> seems to work.
zupo has joined #nixos
<asbachb> But `lxc <tab>` is not.
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
noudle has joined #nixos
abathur has quit [Ping timeout: 260 seconds]
mounty has quit [Ping timeout: 256 seconds]
mounty has joined #nixos
abathur has joined #nixos
zeta_0 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mounty has quit [Ping timeout: 256 seconds]
proofofkeags has joined #nixos
proofofkeags has quit [Remote host closed the connection]
reallymemorable has quit [Quit: reallymemorable]
proofofkeags has joined #nixos
stevenxl has joined #nixos
codygman has quit [Ping timeout: 256 seconds]
codygman has joined #nixos
<stevenxl> Hi folks. I seem to have broken my ability to run `nix-build`.
<stevenxl> error: anonymous function at /nix/store/9an65l3g8v2hcknxjihidph94zx79snr-cabal2nix-hastory-cli/default.nix:1:1 called without required argument 'hastory-data-cli', at /nix/store/3c0k1lhzwlr9l5bzilpfdrmjsnyid6li-source/pkgs/development/haskell-modules/make-package-set.nix:87:27
<stevenxl> `nix-shell` works though
zeta_0 has left #nixos ["rcirc on GNU Emacs 26.3"]
emilsp has quit [Ping timeout: 258 seconds]
proofofkeags has quit [Ping timeout: 250 seconds]
hmpffff has quit [Quit: Bye…]
<infinisil> stevenxl: nix-build uses the default.nix in the current directory
<infinisil> That file is the problem, not nix-build itself :)
ixxie has quit [Quit: Lost terminal]
hlolli has joined #nixos
vidbina_ has joined #nixos
fabianhjr has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @arcz closed pull request #78052 → mitmproxy: 4.0.4 -> 5.0.1 → https://git.io/JvIfq
proofofkeags has joined #nixos
proofofkeags has quit [Remote host closed the connection]
* stevenxl infinisil: Thank you. According to the git log, the file `default.nix` has not been changed since Jan 13 2020, but `nix-build` was working as of yesterday.
<stevenxl> I am sure this is not a problem with nix itself, but with my setup.I just don't know what to do to fix this.
<infinisil> Your default.nix file probably references other files as well
<infinisil> Those can be the cause too
<{^_^}> [nixpkgs] @etu opened pull request #85575 → PHP maintainer team → https://git.io/JfUo3
linarcx has quit [Quit: WeeChat 2.8]
morgrimm has joined #nixos
reallymemorable has joined #nixos
<clever> stevenxl: it sounds like cabal2nix wants a package named hastory-data-cli
<clever> stevenxl: and if your not creating it with an override and another cabal2nix, it wont be found
<clever> stevenxl: is it in hackage? did you update the cabal file recently? change nixpkgs?
<stevenxl> clever: I created 3 new packages in a multi-package repo, one of which is hastory-data-cli.
<stevenxl> I guess I have to figure out how to tell nix where those packages exist?
<clever> stevenxl: can you pastebin the default.nix file?
<stevenxl> Yea.
<clever> stevenxl: and the pkgs.nix file?
<stevenxl> ok
linarcx has joined #nixos
Baughn has quit [Ping timeout: 256 seconds]
<stevenxl> Hm.. I don't seem to have a `pkgs.nix` in the repo.
<stevenxl> I do have this though:
<clever> stevenxl: line 2 is loading a pkgs.nix file
<stevenxl> ah I see. OK i located a `pkgs.nix` in my `nix` folder
<clever> stevenxl: and overlay.nix ?
hmpffff has joined #nixos
<clever> stevenxl: or just link to it on github, heh
<stevenxl> haha - yet let me git you the pr
<{^_^}> [nixpkgs] @emacsomancer opened pull request #85576 → gargoyle: 2018.10.06 -> 2019.01.01 → https://git.io/JfUow
<clever> stevenxl: you need to add hastory-data-cli to the list in overlay.nix
<clever> stevenxl: on line 19-24
<stevenxl> clever: thank you very much for the help. I am going to do that now. I'll likely have to add the other 2 packages as well.
<stevenxl> thank you!
<stevenxl> woot! that did it
<stevenxl> thank you!
<stevenxl> I apologize by the way for jumping on here and not doing the legwork myself of learning what's going on - I just want to focus on one thing at a time.
<clever> not a problem
hugbubby has joined #nixos
linarcx has quit [Quit: WeeChat 2.8]
morgrimm has quit [Ping timeout: 260 seconds]
<energizer> how do i make a path from a list of strings?
zupo_ has joined #nixos
<energizer> as in makePath ["a" "b"] -> ./a/b/
evertedsphere has quit [Ping timeout: 264 seconds]
johnw` has joined #nixos
morr has quit [Quit: WeeChat 2.3]
<energizer> also, is it possible to print values in the middle of an expression for debugging
<kraem> primeos: thank you for the vaapi patch for chromium! :)
morr has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #85577 → nixos/release-small: drop latestKernel.login → https://git.io/JfUKk
Baughn has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 is now known as knupfer
knupfer has quit [Client Quit]
hax404 has quit [Ping timeout: 246 seconds]
knupfer has joined #nixos
<clever> energizer: builtins.trace
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
<{^_^}> [nixpkgs] @lunaticare opened pull request #85578 → keepassxc: 2.5.2 -> 2.5.4 → https://git.io/JfUKs
knupfer has joined #nixos
hax404 has joined #nixos
Forkk has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Forkk has joined #nixos
hmpffff_ has joined #nixos
hmpffff has quit [Ping timeout: 256 seconds]
morr has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #85577 → nixos/release-small: drop latestKernel.login → https://git.io/JfUKk
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/JfUKK
morr has joined #nixos
proofofkeags has joined #nixos
ixxie has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Intensity has quit [Read error: Connection reset by peer]
<energizer> /tmp + "/" + "b" -> /tmpb that's not what i want
<energizer> oh i see
<energizer> parens
<b42> > lib.concatStringsSep "/" ["usr" "local" "bin"]
<{^_^}> "usr/local/bin"
Intensity has joined #nixos
proofofkeags has quit [Ping timeout: 240 seconds]
<energizer> nice
koleesch__ has joined #nixos
asbachb has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @siriobalmelli opened pull request #85579 → Fix/howdoi → https://git.io/JfUKA
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @lunaticare closed pull request #85578 → keepassxc: 2.5.2 -> 2.5.4 → https://git.io/JfUKs
<pbogdan> pbogdna = {
<{^_^}> [nixpkgs] @aanderse merged pull request #84823 → redmine: 4.1.0 -> 4.1.1 → https://git.io/Jvpnp
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JfUKj
<primeos> kraem: Thanks, you're welcome :) Let's hope it'll work out well
zupo has joined #nixos
<ornxka> anyone use rngd on nixos?
<ornxka> i see it in nixos/nixpkgs but it doesnt seem to let you specify any options
morgrimm has quit [Ping timeout: 240 seconds]
<energizer> when debugging with builtins.trace, i'm seeing a <CODE> and i would like to know what code it is. i don't suppose it's possible to expand that?
arjen-jonathan has quit [Ping timeout: 252 seconds]
evertedsphere has joined #nixos
linarcx has joined #nixos
<ma27[m]> energizer: `lib.traceSeq` should help
<ma27[m]> I'd generally recommend to take a look at `<nixpkgs/lib/debug.nix>`, it contains a few quite helpful tools for debugging :)
<energizer> thanks
shibboleth has joined #nixos
linarcx has quit [Read error: Connection reset by peer]
shafox has quit [Remote host closed the connection]
evertedsphere has quit [Ping timeout: 240 seconds]
is_null has quit [Ping timeout: 264 seconds]
fusion809 has joined #nixos
o1lo01ol1o has joined #nixos
shibboleth has quit [Remote host closed the connection]
shibboleth has joined #nixos
shibboleth has quit [Remote host closed the connection]
shibboleth has joined #nixos
<manveru> my favorite tool is: `pp = v: __trace (__toJSON v) v;`, which isn't in there though :|
turion has quit [Quit: Leaving.]
zupo has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @siriobalmelli opened pull request #85580 → Fix/mscgen → https://git.io/JfUiL
aswanson has joined #nixos
zupo has joined #nixos
pbogdan has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @calbrecht opened pull request #85581 → Fix rebuild of nixos system → https://git.io/JfUi3
pbogdan has joined #nixos
pbogdan has quit [Client Quit]
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73934 → nixosTests.cockroachdb: port to python → https://git.io/JeiGu
<{^_^}> [nixpkgs] @worldofpeace pushed 7 commits to master: https://git.io/JfUin
pbogdan has joined #nixos
morgrimm has quit [Ping timeout: 240 seconds]
<kalbasit> how to access the nixos options.html on the master branch? Looking for something similar to accessing the latest manual at https://hydra.nixos.org/job/nixpkgs/trunk/manual/latest/download/1/nixpkgs/manual.html
hmpffff_ has quit [Quit: nchrrrr…]
<manveru> kalbasit: usually `man configuration.nix`
<{^_^}> [nixpkgs] @Ma27 pushed to master « python3Packages.pytesseract: 0.3.3 -> 0.3.4 »: https://git.io/JfUiy
<manveru> kalbasit: if you want to build the html version, use this: https://github.com/NixOS/nixpkgs/blob/master/doc/contributing/contributing-to-documentation.xml
Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
abathur has quit [Quit: abathur]
fusion809 has quit [Quit: Leaving]
_rvl has quit [Quit: ZNC 1.7.5 - https://znc.in]
purpleman has joined #nixos
fusion809 has joined #nixos
Baughn has joined #nixos
jarlg has joined #nixos
dingotux has joined #nixos
dingotux has left #nixos ["Konversation terminated!"]
<kalbasit> manveru: I was hoping we have one rendered online :(
<kalbasit> manveru: BTW I meant this one instead of the manual: https://nixos.org/nixos/options.html#
mallox has quit [Ping timeout: 256 seconds]
Baughn has quit [Client Quit]
mallox has joined #nixos
<manveru> ah
<manveru> for that you'd have to build the homepage
purpleman has quit [Quit: purpleman]
<manveru> but i don't think there's one for nixpkgs master
seku has quit [Quit: Connection closed]
mallox has quit [Client Quit]
butterthebuddha has joined #nixos
codygman has quit [Ping timeout: 240 seconds]
Baughn has joined #nixos
mananamenos has quit [Remote host closed the connection]
<samueldr> since we started building the json data files with the channels, it would be trivial to hack it in the homepage repo with the existing code
Baughn has quit [Remote host closed the connection]
codygman has joined #nixos
<{^_^}> [nixpkgs] @smaret opened pull request #85582 → blas: fix build on darwin → https://git.io/JfUPC
cosimone has quit [Quit: Quit.]
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
Mrmaxmeier has quit [Quit: Ping timeout (120 seconds)]
Mrmaxmeier has joined #nixos
chloekek has quit [Ping timeout: 258 seconds]
<ornxka> how does distributed building interact with NIX_PATH?
_rvl has joined #nixos
<ornxka> if the local and remote machines are using different channels/nixpkgs paths then which one gets built?
<LnL> not at all, NIX_PATH is only used during evaluation
<ornxka> ah, so with distributed builds, does the evaluation happen locally, or remotely?
<LnL> all locally
<ornxka> i see, thank you
morgrimm has joined #nixos
leah2 has quit [Ping timeout: 272 seconds]
<hlolli> I've been trying to compile libX11 statically since 9AM (14 hours), and I realized that you can get a working libX11 with just `nix-build <nigpkgs> pkgsMusl.xorg.X11`. Simultaneous joy and sadness.
<ornxka> ah, i can relate to that from the bottom of my heart
<ornxka> ive probably spent about ten hours getting this stupid laptop working and in the end the change to configuration.nix was about one line adding some kernel moduels to initrd
asbachb has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
Baughn has joined #nixos
<hlolli> lol, and those times where I save 1 file and compile another over and over, not understanding that nothing's having an effect :D, part of this game
slack1256 has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
reallymemorable has quit [Quit: reallymemorable]
<ornxka> i could fill a book with stuff like that
<ornxka> someone i know recently spent hours wondering why his web site was not working, it turned out that his browser was caching the page and so his changes were not even being loaded
markus1189 has quit [Ping timeout: 265 seconds]
markus1189 has joined #nixos
<hlolli> last firday I asked my colleauge to merge and deploy, he deployed again and again, never merged :D, yes endless source of stories
<ornxka> haha
knupfer has quit [Ping timeout: 252 seconds]
<ornxka> i used to get upset at things like that but at some point i adopted a jungle mentality
<ornxka> now i do not get angry at the tiger for eating me but instead think "what a clever tiger it must be, to catch me like that"
<hlolli> it's zen or you're out kinda, university in patience
leah2 has joined #nixos
<ornxka> pretty much
koleesch__ has quit [Ping timeout: 272 seconds]
cosimone has joined #nixos
stevenxl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @flokli merged pull request #83301 → Tuptime: Init Package, Module and Test → https://git.io/JvyjP
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/JfUXf
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @ggreif opened pull request #85583 → wasmtime: 0.12.0 -> 0.15.0 → https://git.io/JfUXI
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos
finnwww[m] has joined #nixos
<finnwww[m]> why would i choose nix os over gnu guix
<evelyn> more packages and not guile
henry_ has quit [Quit: henry_]
<evelyn> guile.. is.. not nice
<MichaelRaskin> Giule is Scheme and Scheme is very nice. But having firmware for WiFi adapters is also nice.
<finnwww[m]> also
<evelyn> the more packages bit is the non-opiniated thing
<finnwww[m]> also can nix run zoom cause i need that for work
<hlolli> amen, guile is pita. Anytime I need to touch it, my fingers burn. Im a lisper into my bones still.
<evelyn> i grew up with lisp but guile does not float my boat
<worldofpeace> finnwww we have zoom
<finnwww[m]> nice
<finnwww[m]> in the default packages?
<worldofpeace> there's a package seach on the website that are in nixos
<MichaelRaskin> The secret Zoom does not want you to know: if you click «nah, doesn't work» three times in Chromium on Linux, it allows you to join from browser. Audio and Video included
<evelyn> that one weird trick
<finnwww[m]> ooh
<finnwww[m]> i love the web so i prefer web apps
<MichaelRaskin> The package search might only search the free packages,
<rooke> If you do end up installing it, sso on linux is borked with the config zoom ships
<cole-h> MichaelRaskin: There's also https://github.com/arkadiyt/zoom-redirector
<cole-h> "When joining a Zoom meeting, the "join from your browser" link is intentionally hidden. This browser extension solves this problem by transparently redirecting any meeting links to use Zoom's browser based web client."
<finnwww[m]> good to know
<MichaelRaskin> Launching Chromium is a larger overhead for me than clicking a few times…
<finnwww[m]> 😂
<finnwww[m]> true
<est31> <MichaelRaskin> The secret Zoom does not want you to know: if you click «nah, doesn't work» three times in Chromium on Linux, it allows you to join from browser. Audio and Video included
<est31> wtf
<MichaelRaskin> Dark patterns
<AmandaC> Gotta have secret opt-outs for their obsessive data gathering
<MichaelRaskin> They hope you install their garbage
<est31> MichaelRaskin: heard you cant remove parts of it
<Yaniel> here is a "nah does not work"?
<Yaniel> there*
<MichaelRaskin> Extension is useless for me as my browser instances are single use and this i not worth learning how to preinstall stuff for Chromium
<finnwww[m]> is there a "learn x in y minutes" page for the nix programming language
<finnwww[m]> those are pretty helpful
<cole-h> ,pills
<worldofpeace> ummm, I'm never too sure about those pills
henry_ has joined #nixos
<worldofpeace> maybe three of them helped me when I started
<gchristensen> worldofpeace: -> -dev?
<MichaelRaskin> You have to make peace with the fact that y will be 4-digit
is_null has joined #nixos
<cole-h> ^
<rooke> 4-digit for the nix programming language?
<finnwww[m]> <MichaelRaskin "You have to make peace with the "> MichaelRaskin: i just like it cause it gives a high level overview of the language, ya know?
<hlolli> this was sent to the Emacs Berlin mailing list recently about Zoom https://pastebin.com/7C2ZSD2u
<MichaelRaskin> I mean, Nix manual is well-written, and has an intro to language.
<asbachb> Any chance to override https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/systemd.nix via configuration.nix?
<{^_^}> [nixpkgs] @flokli merged pull request #85503 → ACME test cleanups → https://git.io/JfJjv
<hlolli> I'm a irc hater, you can call me millenial, would love to see a more powerful alternative, just not zoom :D
<{^_^}> [nixpkgs] @flokli pushed 7 commits to master: https://git.io/JfUXd
<MichaelRaskin> hlolli: use Matrix bridge to Freenode
<hlolli> ok will check it out, is it on nixpks?
<MichaelRaskin> Instead of IRC
<hlolli> can you send gifs :D (joke)
cosimone has quit [Quit: Quit.]
<MichaelRaskin> You can, IRC users will get a link to gif
<hlolli> fair point
<Ashy> wonder if this is generational
<MichaelRaskin> Synchronous voice is not loggable, and large IRC channels like this leave logs that are sometimes useful (to search, not to read)
<Ashy> mailing lists have always felt way too antiquated to me but all the fancy web "fangled contraptions" are way too shiny
<Ashy> irc is just right
<MichaelRaskin> IRC is for short-form quick-response
<MichaelRaskin> Mailing lists are for long-form exchanges (and these are also needed)
<hlolli> my biggest problem with irc is that I never log in except if I need to ask some question ,hence why Im here since this morning, otherwise I miss out all the conversation, the logs bot collection isn't the most fun thing to go trough. They are also riddled with false positives in google search, that's a different issue.
<qyliss> I don't think it's a generational thing. I'm arguably a zoomer, and I'm IRC and mailing lists' biggest afn.
<qyliss> *fan
<MichaelRaskin> hlolli: let me tell you what, high-traffic channel logs are something you are not supposed to read in entirety
<MichaelRaskin> IT doesn't matter whether you get all history on next login or look at the logs online or whatever
<hlolli> true true, but with Slack I can set which channel should notify me, and I can see when there's actity, I can see what I've alreay scrolled trough, so skimming over large text takes relatively short time.
<Ashy> it's like keeping an eye on a news feed except instead of war/covid/clickbait it's #nixos or #vim or #favourite-project
<MichaelRaskin> I mean, #nixos and #stumpwm are very different things
<worldofpeace> qyliss: TLDR: qyliss is just basically the coolest and you should use mailing lists
o1lo01ol1o has quit [Remote host closed the connection]
<qyliss> I wouldn't go that far >.<
<danderson> the nice thing about IRC is that it makes it really hard to keep up with everything, so you stop trying. It's really liberating.
<danderson> vs. Slack that keeps forcing you to engage all the time
<hlolli> hehehe
<MichaelRaskin> Working mailing lists, and not this weird discourse thing that mangles a ton of small things
<est31> so I ran nixos-rebuild switch --upgrade
<MichaelRaskin> Dunno, I do make sure to keep up with low-traffic IRC places I care about
<MichaelRaskin> Like #IRP…
<est31> and for some reason it updated firefox
<est31> however the old version was already 75.0
<MichaelRaskin> Some dependency got updated
<qyliss> est31: presumably one of the dependencies was updated
<est31> and the new version is 75.0 too
<est31> oh ok
<qyliss> and therefore firefox was rebuilt against that updated dependency.
<cole-h> Alternatively, you just got the security updates that went out a few days ago
<MichaelRaskin> These change the x in 75.0.x
<est31> the package was called 75.0
<est31> but lemme restart firefox...
<est31> so nix os has no dynamic linking?
<MichaelRaskin> It has dynamic linking
<MichaelRaskin> But hardcoded RPATH
<worldofpeace> qyliss: ok, so maybe I went there for you 🐥️
<MichaelRaskin> Firefox will share glibc with Chromium
<MichaelRaskin> But if glibc changes, stuff is rebuilt against the new one
<cole-h> Ah, maybe it was flashplayer? Updated in 20.03 and 19.09 a couple days ago
<est31> MichaelRaskin: so you must upgrade firefox even if only one of its dynamically linked dependencies upgraded?
<MichaelRaskin> Yes
<est31> sad :/
<est31> I don't even have flashplayer...
<qyliss> That's the whole point of Nix!
<MichaelRaskin> Because you never know if it also changed something in the headers
<MichaelRaskin> est31: flashplayer does not trigger Firefox rebuild
<est31> I'm flash free since 2013
<cole-h> OK, guess I was wrong x)
<est31> pretty early back then you had to add &html5=1 to youtube urls to make it work
<cole-h> I'll stop suggesting things now. Moral of the story is: *something* changed
<gchristensen> est31: that was such a good day
<est31> :)
<est31> yeah and my way to school involved climing mt everest
<hlolli> you change just 1 library because there's just 1 change, then you change another library .so file because it's the only change, after few weeks you end up with Ubuntu and error messages never ment to be seen
<gchristensen> at that same time in my life I had a spare, cheap laptop for connecting to iDRAC in some crap Dell servers from rackspace
fendor has quit [Read error: Connection reset by peer]
<est31> I cant recall any problems I had that involved dynamic linking on ubuntu
<hlolli> wow, that's amazing
<MichaelRaskin> gchristensen: burying flashplayer too deep means discarding a layer of Internet animation/game culture, though! Of course, it's better to have it standalone and well-isolated
<hlolli> I can set a stopwatch, and just running sudo apt-get upgrade, it will complain that an .so file mismatches a version previously installed, and I need to downgrade bunch of stuff, breaking totally innocent package that wasn't being updated.
<gchristensen> MichaelRaskin: some day: swf2wasm
<est31> hlolli: have you been using ppas?
<est31> I've had bad experiences with them so stopped using them
<hlolli> I use some ppa's and still use with docker when I need to.
<hlolli> best to install nix on ubuntu
<est31> yeah that might be your problem
<est31> actually I have more issues with dynamic linking now on nix os than I had on ubuntu
<MichaelRaskin> gchristensen: frankly, if Flashplayer would be opensourced, I would say that whatever happens after Internet Archive starts crowdsourcing a cleanup of it would be better than WASM
<gchristensen> est31: maybe you've had issues with them, but at least they were stable :)
<est31> stable? what do you mean by that?
<MichaelRaskin> And reversed version would probably be too far from bug-for-bug compatibility
<est31> yeah I can downgrade
<est31> I've done it maybe once
<hlolli> est31: on paper that shouldn't be possible, if you compile everything in a pure manner, but it can happen true. But I think falling in love with nix doesn't happen over night.
<est31> and it was a different issue that wasn't caused by my nix config
<est31> yeah I'm currently on a trial period and the only thing I like about nix over kubuntu is that it has fewer shit bundled with it
<est31> and of course the declarative method to install packages... that's really cool
<est31> my ubuntu install is probably full of carcasses of stuff I've "manually installed" years ago and never touched since
maddo has quit [Quit: See ya]
<MichaelRaskin> est31: if you have never seen a problem that X needs libY 1.7 and Z needs libY 1.8, maybe you won't fully appreciate Nix
<hlolli> I was thinking today that I look forward to show my great grandchildren all my cool nix derivations I made as an adult. Then I wondered too, if I'd loose everything randomly on my docker images if I run apk install and the mirror keeps changing.
__monty__ has quit [Quit: leaving]
<est31> anyways, nix isn't as stable as I thought... old versions of stuff are being removed so what's the point... I can't say "keep this LaTex version for my project"
<est31> MichaelRaskin: of course I've seen conflicts but they are very rare on ubuntu
<evelyn> that's missing the point
<gchristensen> est31: you wouldn't say "keep this latex version" you'd say "keep this nixpkgs version"
<est31> but then your entire system would be affected
<MichaelRaskin> est31: no
<est31> I only want it for some packages
<MichaelRaskin> I have once helped maintain a system where different packages were from vastly different Nixpkgs checkouts
<gchristensen> est31: for that I use a shell.nix or default.nix, and a specifically pinned version of nixpkgs per-project
<est31> ok TIL you can pin stuff for nix custom shells
<est31> I wonder how long that works
<est31> as in, I've read that urls are being removed from the nix language
<cole-h> No
<est31> maybe the nix parser will reject them in the future?
<cole-h> *Unquoted* URLs are *deprecated*
<hlolli> only cache is removed, you can build nix 10 years back
<MichaelRaskin> Of course, you will be in for some upstream linkrot hunt
<gchristensen> est31: the Nix language is pretty committed to backwards compatibility, but at this point I'm getting the impressin you're trying to goad us a bit :)
<est31> what
<est31> I've installed nix a few weeks ago
risson has quit [Quit: pouet]
<est31> initially I was like wow but then ran into issue after issue
<est31> I can't even download a binary from the internet and run it
<Yaniel> that's practically a feature
<gchristensen> that is a good thing!
<MichaelRaskin> Actually you can, but this requires some deliberate actions
<MichaelRaskin> (there is buildFHSenv)
<est31> so you mean I'm not installed to play factorio :p
<gchristensen> you want your software to work 10y down the road? gotta know what you need, which is Nix's feature
<est31> allowed*
<hlolli> it's a fair point est31, I think it's just a communication issue. I also was "wtf" initially.
<est31> maybe I'll get kubuntu 20.04 once it gets out
<est31> not sure yet
<cole-h> We have factorio packaged
<Yaniel> est31: factorio has a package IIRC
<gchristensen> est31: sure, if it suits yo
<est31> I've went from "I'm using nix os for certain" to "nix os is on a trial period"
<est31> maybe I'll stay idk
<drakonis> factorio also runs real good on steam
<gchristensen> only you can decide it is worth it
<rooke> I've been having a good time using my normal distro with nix on top
<est31> admittedly, a lot of the issues are also thanks to amd graphics drivers vs intel graphics that I used to have on older computers
<MichaelRaskin> I mean, if your normal usage rarely hits the problems Nix is designed to solve…
<est31> yeah it's clearly really cool and the future and everything
<est31> and again, declarative configuration.nix is awesome
<est31> also nix has more developer stuff packaged than ubuntu
reallymemorable has quit [Quit: reallymemorable]
<hlolli> I'd say explore other distros, it's hard to feel a cure for a problem that maybe you dont have. But when you understand why this is so "strict", you'll feel the breeze.
<Yaniel> haven't had much trouble with amd drivers either (on nixos-unstable)
<MichaelRaskin> Then use Nix-on-Ubuntu?
<est31> but then I can't compile servo to test the computer's hardware
<est31> so I'm not sure if it's worth it
orivej has quit [Ping timeout: 256 seconds]
henry_ has quit [Quit: henry_]
<MichaelRaskin> You can have pretty much any of the combos. Nix-on-Ubuntu, NixOS with Ubuntu chroot for some cases…
<est31> (with "can't" I mean I tried to but servo didn't recognize the libraries I installed and probably nobody uses nix os to compile it so ultimately I gave up before trying various things for hours)
<gchristensen> yeah, on NixOS you never install libraries
<MichaelRaskin> ,libraries
<{^_^}> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<{^_^}> [nixpkgs] @emilazy opened pull request #85584 → [20.03] ACME test cleanups → https://git.io/JfUM3
<est31> MichaelRaskin: yeah I have a custom nix shell I use for development
<est31> also another advantage of nix os: it has tons of "new" stuff packaged like tokei while ubuntu doesn't have them
henry_ has joined #nixos
<MichaelRaskin> Note that Nix-on-Ubuntu will give you access to all this Nixpkgs-but-not-Ubuntu packages
<drakonis> ubuntu has all kinds of pain points mind you
<{^_^}> [nixpkgs] @flokli merged pull request #85584 → [20.03] ACME test cleanups → https://git.io/JfUM3
<{^_^}> [nixpkgs] @flokli pushed 7 commits to release-20.03: https://git.io/JfUMl
<MichaelRaskin> Apparently some people manage never to hit them, though
<rooke> Also if you want loads of packages theres always arch
<est31> no I prefer stable releases
<rooke> Although, it feels almost like the polar opposite of nix
broccoli has joined #nixos
pbogdan has quit [Quit: ZNC 1.7.5 - https://znc.in]
<cole-h> And then there's me, using Nix on Arch
reallymemorable has joined #nixos
<est31> :p
<MichaelRaskin> Heh
pbogdan has joined #nixos
<drakonis> ubuntu releases are snapshots of debian at a given point in time
<rooke> yeah that's what I'm doing cole
<rooke> Arch is too comfy :3
<drakonis> usually from the moment that the new release comes out
<drakonis> and then you usually have a year old version of debian plus canonical modifications
ixxie has quit [Ping timeout: 258 seconds]
CitadelCore has joined #nixos
<MichaelRaskin> est31: moving to NixOS forces you to relearn how to do everything at once. Nix-on-* gives you a part of benefit, and you can learn things at a comfortable pace. If you once notice you never actually use apt, you probably will have a workflow that is fully migratable to NixOS
ixxie has joined #nixos
<CitadelCore> Hi all, I have a quick question. Say I have a Nix option in a module which I perform some transformations on, and two other modules that want to reference the result of that transformation - how would they reference it?
<{^_^}> [nixpkgs] @Ma27 merged pull request #85548 → Add myself (turion) to the maintainers list for several packages → https://git.io/JfUWj
<kraem> version bumping linux in nixpkgs, can i just update the version number and sha (i've done so, built it, and it boots) and create a PR?
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfUM4
<est31> MichaelRaskin: one of my problems with nix is not a technical one but a size one. fewest projects have compile instructions for nix os while most projects have one for ubuntu...
<drakonis> do you build a lot of out of tree things?
<MichaelRaskin> est31: with some experience you can just translate the dependency names and then write a Nix package
<{^_^}> [nixpkgs] @alyssais merged pull request #85549 → modemmanager: enableParallelBuilding → https://git.io/JfUla
<MichaelRaskin> kraem: sounds good, I think some kernel bumps are just like that
<{^_^}> [nixpkgs] @alyssais pushed to master « modemmanager: enableParallelBuilding »: https://git.io/JfUMR
dermetfan has quit [Ping timeout: 265 seconds]
<est31> drakonis: I do a lot of open source development and often file PRs for something... when there's an error I google it and one of the first replies is which ubuntu package to install... so now I have to find the nix os analog and hope the env vars are set up correctly and everything
<ornxka> est31: i just have my own external nix packages repo
<ornxka> one where i can put in software ive written and another where i can edit nix files of stuff already in the tree
<est31> drakonis: so nix os adds another step in the process, slowing it down
<{^_^}> [nixpkgs] @alyssais merged pull request #85551 → libqmi: enableParallelBuilding → https://git.io/JfUlr
<{^_^}> [nixpkgs] @alyssais pushed to master « libqmi: enableParallelBuilding »: https://git.io/JfUMz
<ornxka> so modifying packages/adding new packages is easy
<{^_^}> [nixpkgs] @kraem opened pull request #85586 → linux: 5.6.4 -> 5.6.5 → https://git.io/JfUM2
<kraem> MichaelRaskin: cool. said and done :)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<drakonis> you can also run a container with your distribution of choice
negaduck has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<drakonis> it works
<MichaelRaskin> Yeah, x.y.4 → x.y.5 (not even .1 → .2) is expected not to need any changes
<ornxka> drakonis: i do that for games
<est31> Using linux is already a large limitation of the things you can do with your computer, I'm not sure if I want to keep a comparatively niche distro
<drakonis> its quite nice.
<drakonis> est31: is it?
<ornxka> ive got an arch linux one since binary stuff normally has hardcoded paths
<est31> saying this as exclusive linux user since 2013 at least
<drakonis> a limitation of the things i can do with my computer?
<drakonis> that's debatable
<ornxka> est31: idk man i cant say ive found myself limited at all by nixos, even with playing video games on it
<est31> yes, like installing software
<est31> a lot of it is windows only
<est31> a minority has a mac version
<est31> and only a tiny shard of the market has linux versions too
<MichaelRaskin> I have seen Windows software that _only_ runs under Wine by now.
<ornxka> in fact ive noticed since making/modifying packages is so easy, ive actually had an even easier time with it than i have with other distributions
<drakonis> wine is quite good
<est31> stuff like MS office or adobe software
is_null has quit [Ping timeout: 258 seconds]
<est31> yes, libreoffice is awesome, I love it
<est31> and use it
<est31> but then you get ms office document
<est31> I had that situation
<est31> libreoffice choked on it
<est31> and it broke
<est31> only when i opened it in ms office I found out what they meant
<est31> thankfully my university has computers with ms office on it
<ornxka> theres always uncertainty, even with things like windows
<qy[m]1> <est31 "Using linux is already a large l"> Seriously?
<ornxka> for every story like that there are countless ones of things breaking for mysterious reasons on windows
vidbina_ has quit [Ping timeout: 264 seconds]
zupo has joined #nixos
<qy[m]1> What is it people do that requires not using linux, I still don't get it
<qy[m]1> Even photoshop works in wine
<qy[m]1> <MichaelRaskin "I have seen Windows software tha"> Exactly
<qy[m]1> Its hilarious
<est31> another example is the dslr of my dad
<ornxka> driver problems, weird interactions between all the antivirus windows optimizer search engine adware whatever people get installed
<est31> he can open it in explorer
<est31> fine
<Yaniel> the best part is when different variants of the "same version" of ms office can't read each other's files
<qy[m]1> <est31 "thankfully my university has com"> The smart thing would be to fallback on to google docs
<ornxka> the grass is really not that much greener on the other side
<est31> while I had to install digikam because it wouldnt work otherwise
<cole-h> I mean, you do you, but it sounds like you're psyching yourself out
<est31> and digikam added lots of crap to the metadata, changing the files wtf
<est31> ptp from my phone doesn't work either
<est31> mtp thankfully does
<ornxka> i recently played ffxiv and i had a hard time getting it to work (in linux), so i talked to my (windows-using) friend about it
<est31> as does adb pull /push which I found to be most reliable of them all
<ornxka> apparently it barely runs any better over there
<est31> but you need to figure out the paths so adb shell is important
<ornxka> the forums are full of people with mysterious and obtuse error messages
<MichaelRaskin> Dunno. zsh comes with completion for adb
<est31> one positive story I can share though, it's about the network printer of my dad. his windows pc required driver installation that failed spectacularly
<est31> he had to ask me and I had to do lots of trial and error
<est31> I know that from the linux world usually... well in this case it didnt require anything on linux
inkbottle has joined #nixos
<est31> just clicking the search for printer button, clicking on it, that was it
zebrag has quit [Ping timeout: 265 seconds]
<est31> IPP is great :p
zupo has quit [Ping timeout: 256 seconds]
<MichaelRaskin> It's usually Postscript
<est31> that's part of it
<MichaelRaskin> And CUPS gets happy if it can talk PostScript to something, and PostScript drivers for Windows are like unbelievable kludges
<ornxka> i think fundamentally all software is broken and takes a lot more time to use to get work done than it necessarily needs to, not just because people often arent skilled on how to make decent software (best practices, failsafes, etc) or motivated enough (ie, with money, through selling prioprietary software), but because it is actually just impossible to write it in such a way that you have a guarantee of its correctness
<est31> but before apple pushed towards airprint, many printers required drivers and the situation on linux was dire
<est31> even though it's always the same
<est31> you give it document, printer is supposed to print
<bqv> I mean I'm not gonna force anyone to use linux but seeing people talk nonsense about it like its some crippled younger twin of windows is something I'll never get. I haven't even missed it, for decades
<est31> what's so complicated about that
<drakonis> est31: you honestly have no idea of the horror show that is printers
<drakonis> printers today are in general disposable
_rvl has quit [Quit: ZNC 1.7.5 - https://znc.in]
<bqv> est31: bet you support ditching the headphone jack too :p
<ornxka> the end result of that is that the entire ecosystem, in unix land and elsewhere, is just this quicksand swiss cheese mire of buggy broken stuff trying to communicate with other buggy broken stuff and nothing works and you spend hours a day having to debug it
<ornxka> not enough money exists in the world to pay for a solution to this
<drakonis> the cartridges are insanely expensive and have DRM chips
<MichaelRaskin> We actually have good software. But
<drakonis> its honestly terrible
<drakonis> printers are just
<drakonis> ugh
<est31> bqv: why do you think I would?
<MichaelRaskin> Good software happens only where it is defined by function it performs.
<bqv> est31: lucky guess
<est31> bqv: I bought a 5 years old phone this year partially because it had headphone jack as well as replaceable battery
<bqv> Huh
<est31> and I've already used that headphone jack
<MichaelRaskin> Unfortunately, we have a ton of stuff that is defined primarily by compatibility with software on the other end, and _all_ of the software in the ecosystem is garbage.
<est31> please don't hack me kthx
<drakonis> i miss the jack on my phone
<ornxka> MichaelRaskin: but then "good software" (as in, easy to use and dont have to think about it) ends up on CVE lists too
<drakonis> i bought one that has usb-c which is great, but no jack
<gchristensen> "ASS"
<kraem> MichaelRaskin: i'm exploring `nixos/tests` and ran `nix-build kernel-latest.nix` but i can't tell from the logs if it succeded or not. it says "must succeed: uname -s" but i can't see any uname output, or any output as to if it failed or not
_rvl has joined #nixos
<drakonis> i wish someone had invented a bluetooth adapter for regular headphones
<MichaelRaskin> kraem: I think it would complain if it failed.
<hlolli> a good software is when I tell my teammates that I'll stalk them for a week if they don't approve my PR :D
<ornxka> lol
<drakonis> plug the headphone into the bluetooth adapter and then sync with it
<est31> bqv: my theory is that since say 4-5 years ago, phones have basically plateaued and only gotten bigger and gotten features to make more money for the manufacturers like putting glass everywhere. my phone still has metal stuff at the borders so if it falls down the glass is not breaking
<MichaelRaskin> ornxka: no, good software is where thinking about it at least helps. A large step forward compared to all that garbage.
<ornxka> lol thats a good point
<ornxka> when things break i never think about the actual thing itself
<drakonis> est31: actually they havent plateau'd yet
<drakonis> this is still a few years away
<ornxka> its always "where is its configuration file" "why is it using that environment variable? where did it even come from?" "what file cant it find, better use strace" etc
<MichaelRaskin> ornxka: things on the list of CVEs _typically_ are defined by compatibility with other garbage, not doing something in place… so it's mishandling one more broken format here, not speaking one more protocol correctly there
<ornxka> its always the context its supposed to work in thats broken
<Yaniel> samsung already started folding the phones in two so they can still fit them into pockets
<drakonis> there's room for inventing wacky new phones
<drakonis> modular phones were a thing that google built years ago that might come back in the future
asbachb has quit [Remote host closed the connection]
<MichaelRaskin> There is room to doing updated versions of known-good old designs, even!
<MichaelRaskin> (waiting for my Cosmo to be finally produced)
<drakonis> foldable phones are fun but the tech is still new
<ornxka> "known-good" but then how will we make loads of money by selling the latest zaniest wackiest goofiest silliest new-post-post-post-modern designs
<chr1sm> more dumbphones is what we need
<MichaelRaskin> ornxka: actually, I think HMD has solved the problem
<drakonis> the year to year phone evolution is admittedly pretty garbage
<ornxka> in the year 2040 all phones will be in the shape of a woman's high heel and you will be unable to purchase, for any amount of love or money, ones that look any different
<drakonis> its a race to see whoever puts most camera lenses on a phone right now
<ornxka> HMD?
<drakonis> and whoever sticks the most ram and cpu cores
<drakonis> head monted display
<drakonis> mounted
<MichaelRaskin> HMD Global
<drakonis> oh
<MichaelRaskin> People actually producing phones under Nokia brand
xO1 has quit [Ping timeout: 258 seconds]
<drakonis> nokia after microsoft ditched them?
<drakonis> back to the finns then
<MichaelRaskin> It's complicated
<ornxka> HMD uses a marketing strategy advertising Nokia phones as "pure, secure and up to date"
<drakonis> oooh the phones look nice
<ornxka> whoa
<Yaniel> HMD is not Finnish though
<ornxka> those words give me the warm fuzzies
<ornxka> how did they know exactly what i wanted
<henry_> chr1sm: "more dumbphones is what we need" unironically this
<drakonis> their headquarters is finnish
<drakonis> lol dumbphones
<MichaelRaskin> HMD employs some people who worked at Nokia back then
<drakonis> no please
<est31> drakonis: so phones are still improving, like 5g or usb type c connectors, but those are minor things compared to evolution between say 2011 and 2014
<hlolli> gchristensen: ASS = Ask simple stupid ?
<hlolli> KISS ASS :D
<ornxka> maybe the trick is, pager + dumb phone + tablet
<hlolli> ok now I stop
<drakonis> the phones are reaching the intel phase where all change is incremental
ex-parrot has left #nixos [#nixos]
<MichaelRaskin> drakonis: yes, more dumphones please. Can we get back to the happy 2000's when I could have a keyboard-capable pocket-fitting device with slightly mutilated Linux distribution controlling a dumbphone over bluetooth?
<ornxka> use the pager to get pages, then you turn on and chat on dumb phone, and if you want to compute you use your tablet
<henry_> I don't even want apps.
<{^_^}> [nixpkgs] @Ekleog merged pull request #74841 → ferm: 2.4.1 -> 2.5 → https://git.io/JeMaX
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/JfUMS
<henry_> All of these apps are just vectors for spyware.
<gchristensen> hlolli: "all software sucks"
<drakonis> i'd like a modular phone where i can stick a physical keyboard
<est31> henry_: try f-droid
<drakonis> linux on that sucker
<hlolli> ahhhhhh!! ofc
<henry_> Remember when "spyware" was a big deal?
<drakonis> let me have a modular chassis where i can switch out parts
<ornxka> some day i will make the only good software
<henry_> How about "wiretaps"?
<MichaelRaskin> drakonis: how important is modular?
<drakonis> run a linux terminal on my phone
<henry_> Heady days, those.
<drakonis> MichaelRaskin: very
risson has joined #nixos
<ornxka> formally verified "hello world" os that is free from bugs to the silicon level
<drakonis> i'd gladly take a hit on size for that
<hlolli> my combination of the two stated acronyms make now even more sense next to one another
mixfix41 has quit [Ping timeout: 264 seconds]
<drakonis> a lego phone
<drakonis> i hate that this isnt a thing anymore
<chr1sm> how about overpriced distraction free phones? https://www.thelightphone.com/ $350
<henry_> MONOCHROME DISPLAYS
<henry_> Yes, please.
<drakonis> the kindle of phones
<drakonis> what's the odds it uses eink
<henry_> 100%
<henry_> Boom: "The Light Phone II uses a technology called "electronic paper," also commonly called E-Ink."
<drakonis> grand.
<MichaelRaskin> For the record, I have in my life ran OpenOffice on a eInk device
<henry_> "What are the features?"
<henry_> "Out of the box, the Light Phone II's core functionality includes calls, messages as well as an alarm and hotspot."
<drakonis> the one thing i dont like about modern phones is that the lack of a physical keyboard doesnt let me run a terminal
<drakonis> terminally shitty screen sizes make it terrible
<henry_> "The Light Phone II will never have social media, email, news, or ads."
<ornxka> input on phones is so incredibly slow
<ornxka> multi-second latency
<henry_> These people are on my wavelength.
<est31> drakonis: get an usb otg cable and connect keyboard to your phone :)
<ornxka> i am mystified as to how anybody actually uses a phone for more than basic dumb-phone stuff
<chr1sm> @drakonis you can solve that with a few dongles connected together though can't you haha
<MichaelRaskin> Multi-second? What are you doing with your poor phones?
<henry_> "What about image messages?"
<henry_> "The Light Phone II does not display images."
<henry_> Ha!
<ornxka> (okay normally its more like 250ms but thats still a yuge number)
<kraem> MichaelRaskin: ofborg failed because of hardened failed. tried running the `update.sh` in the kernel dir and it provided me with a lot of update-commits. since i don't use any of those kernels (and can't compile them all on my machine), can i push them to the PR and test if ofborg can build them?
<ornxka> and for some operations it really is multiple seconds
<MichaelRaskin> kraem: sounds like a reasonable plan
<drakonis> i wish the concept of money did not exist anymore
<henry_> It doesn't have to.
<drakonis> because there's a lot of really nice ideas that die because they run out of money
<henry_> It's all fake at this point.
<ornxka> i think technology would have a hard time existing in a barter economy
<{^_^}> [nixpkgs] @Ekleog merged pull request #85517 → lib/licenses: use https where possible → https://git.io/JfUTi
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/JfUMh
<gchristensen> it is real in the sense that you won't give me all of yours right now
<drakonis> this is nice but its indefinitely shelved
<MichaelRaskin> drakonis: I wish the concept of anti-monopoly laws existed again
<henry_> It's fake in the sense that we're rapidly reaching the point where the technology is making itself with marginal net labor input.
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<drakonis> MichaelRaskin: its complicated isnt it
<drakonis> the companies up top don't want the government interfering in their business
<drakonis> in their never ending goal to produce value for their shareholders
<drakonis> up up up goes the stocks
<drakonis> its the product of a bigger problem
smatting has quit [Ping timeout: 256 seconds]
<drakonis> we have colored e-ink screens
<henry_> Just look at the essentials (i.e., what people would purchase with money): food, water, energy, clothing, certain manufactured products. All of that is rapidly devolving back to the capacity of the individual to make for themselves.
<drakonis> but they're not available in consumer electronics because ???
<drakonis> a perfectly good evolution of screens that isnt available because ???
<henry_> lol
ixxie has quit [Ping timeout: 256 seconds]
<MichaelRaskin> drakonis: because monopolisation and single-line system
<drakonis> apparently the main company that sells eink screens has unveiled it this year
<drakonis> despite the tech existing for years now
ixxie has joined #nixos
<henry_> Anyway, I have a basic tech support question: how can I force Nix's `make install` to replace all of the files that already exist from a previous `make install`?
<drakonis> i honestly cant wait to actually have a kindle with colors, gotta read comics with it
<drakonis> make install?
<henry_> Yeah, I've compiled from a release tarball.
<MichaelRaskin> henry_: _why_ are you running a second make install of Nix when you already have some Nix???
<drakonis> hmm, i'm mildly confused here
<pikajude> how do I fix "error: invalid file name 'closure-init-0' in 'exportReferencesGraph'" without reinstalling nixos entirely?
<MichaelRaskin> (my workflow is basically build a Nix, use it to install Nixpkgs Nix, remove non-Nixpkgs Nix)
<henry_> MichaelRaskin: I want Nix on my Raspberry Pi 4 (armv7l), so I'm compiling it, because there's no precompiled binary installation for this platform.
<henry_> I've hunted down all of the dependencies and I have a working Nix.
<henry_> The problem is that I neglected to have libsodium installed the first time around, so I can't install "substitutes".
<henry_> It's a whole story.
<henry_> And I need the precompiled binaries because of some shell-related problems with sandboxing and such.
<henry_> I don't fully understand it, to be honest.
ixxie has quit [Ping timeout: 256 seconds]
<henry_> If you have logs for this channel though it's all there, maybe 3-5 hours ago?
<gchristensen> rpi4 is aarch64 actually but raspberry pi foundation limits it to 32 bit because they don't seem to know how to upgrade their ecosystem
<henry_> No argument there. I'm just telling you what shows up in `uname -a`.
<MichaelRaskin> How much prebuilt binaries are there for armv7l, though?
<gchristensen> it is a shame there isn't an easy way to download https://hydra.nixos.org/build/114985756 without Nix
<MichaelRaskin> Maybe not having substitutes do not really change your situation
<pikajude> i figured it out! i had to stop the daemon and run my own
<pikajude> the daemon is the one that actually runs all the builds :(
<henry_> My understanding is that I need substitute capability to understand the Nixpkgs Nix, and then I can subsequently force source compilation with `--option substitute false`.
<henry_> *understand->install
<MichaelRaskin> henry_: and make install does not work?
<henry_> It just says "nothing to be done".
<henry_> If I wipe the dir and recompile it will probably work, but I was just wondering if there was a way to force it.
<MichaelRaskin> Well, you need to rebuild and even reconfigure, I guess
<MichaelRaskin> make clean ; then configure agains
ixxie has joined #nixos
<henry_> Even that won't work: "make: *** [doc/manual/local.mk:24: doc/manual/manual.xmli] Error 1"
<henry_> I'll have to extract the tarball again.
<henry_> Oh well, lol.
morgrimm has joined #nixos
<henry_> Hopefully this is the twelfth and final time.
<henry_> See you in a few.
justanotheruser has quit [Ping timeout: 256 seconds]
philr_ has joined #nixos
morgrimm has quit [Ping timeout: 264 seconds]
broccoli has quit [Ping timeout: 250 seconds]
<ornxka> how to debug nix build with print every command executed during build?
<ornxka> like bash -x
<{^_^}> [nixpkgs] @Ma27 merged pull request #85558 → keepassxc: 2.5.2 -> 2.5.4 → https://git.io/JfU43
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfUD4
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm_ is now known as mbrgm
proofofkeags has joined #nixos
magnetophon has quit [Ping timeout: 256 seconds]
broccoli has joined #nixos
abathur has joined #nixos
<henry_> ornxka: `--verbose 5`?
proofofkeags has quit [Ping timeout: 260 seconds]
magnetophon has joined #nixos
justanotheruser has joined #nixos
<ornxka> ahh ill try that
jarlg has quit [Ping timeout: 258 seconds]
gxt has joined #nixos
<henry_> Maybe `--verbose 1` is the way to go, just check `man nix-build`.
Yaniel has quit [Ping timeout: 265 seconds]
broccoli has quit [Ping timeout: 256 seconds]
<ornxka> tyvm
<manveru> ornxka: also `--trace-function-calls`
Yaniel has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ec2710b0d75 (from 79 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @Ma27 merged pull request #85557 → [20.03] openvswitch 2.12.0 -> 2.13.0 → https://git.io/JfU8R
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JfUDi
<{^_^}> [nixpkgs] @romildo merged pull request #85318 → xfce: update most packages → https://git.io/JfvMa
<{^_^}> [nixpkgs] @romildo pushed 42 commits to master: https://git.io/JfUDX