worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || 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-inf
philr has joined #nixos
mbrgm_ has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #107778 → containerd: misc fixes → https://git.io/JLyzy
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JLS2r
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107823 → quicktemplate: unstable-2019-07-08 -> 1.6.3 → https://git.io/JLS37
erictapen has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLS2i
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JLS2X
erictapen has joined #nixos
<noonien6> hello folks!
noonien6 is now known as noonien
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107816 → pt2-clone: 1.26_fix -> 1.27 → https://git.io/JLSto
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLS2M
Thra11 has quit [Quit: WeeChat 3.0]
<noonien> what is the easiest way to get nixos running on a rpi3? from what i can tell on https://nixos.wiki/wiki/NixOS_on_ARM#NixOS_installation_.26_configuration i need either hdmi/keyboard, or a serial access. can i build a sd-card image with the user and wifi credentials i need?
ransom has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107814 → qrcp: 0.6.4 -> 0.7.0 → https://git.io/JLSLX
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLS29
<{^_^}> [nixpkgs] @prusnak merged pull request #107854 → gpxsee: 7.37 → 8.0 → https://git.io/JLSzI
<{^_^}> [nixpkgs] @prusnak pushed 2 commits to master: https://git.io/JLS2H
b42 has quit [Ping timeout: 268 seconds]
b42 has joined #nixos
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
<pushqrdx> they are located in almost every package under the Pantheon desktop expressions
<simpson> pushqrdx: `passthru` is a name which any derivation can use to re-export arbitrary Nix values. The idea is that these values are "passed through" from the derivation to its users.
<simpson> In this case, parameters to https://github.com/Mic92/nix-update/ are being stored so that the package is easier to update later.
fuiltilt has quit [Quit: WeeChat 2.9]
cole-h has quit [Quit: Goodbye]
KarlJoad has joined #nixos
cole-h has joined #nixos
<KarlJoad> Is there a way to use a ${variable} nix expansion for FontPath and ModulePath in the xserver.conf file?
<{^_^}> [nixpkgs] @flokli merged pull request #102106 → nixos/throttled: disable kernel msr warning → https://git.io/JTyJy
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JLSaG
<Gaelan> Is it possible to call a derivation using one nixpkgs for pkgsHost* and another for pkgsBuild*? I'm trying to avoid rebuilds
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JLSac
philr_ has joined #nixos
philr has quit [Ping timeout: 260 seconds]
evernite_ has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #107833 → Koreader: 2020.11 -> 2020.12 → https://git.io/JLSCb
<{^_^}> [nixpkgs] @teto pushed 2 commits to master: https://git.io/JLSaM
evernite has quit [Ping timeout: 240 seconds]
gues97839 has quit [Remote host closed the connection]
<pushqrdx> simpson sorry i didn't notice that you answered me :D, well i still don't get it
<pushqrdx> simpson what parameters, and where can i see when they are passed/used
<pushqrdx> for instance can this be used to change or override the revision/hash of a derivation?
<simpson> pushqrdx: You linked to the parameters and where they are passed. I don't know where they're used.
<simpson> Maybe the only user is nix-update, called at the top level by a user.
<pushqrdx> hmm, the lines i linked to are just an object that has a nix-update-script
<pushqrdx> i can't imagine what is the flow of parameters here
<pushqrdx> or even where are the parameters you're talking about
<{^_^}> [nixpkgs] @github-actions[bot] pushed 61 commits to staging-next: https://git.io/JLSVv
<{^_^}> [nixpkgs] @github-actions[bot] pushed 62 commits to staging: https://git.io/JLSVJ
<{^_^}> [nixos-hardware] @Ericson2314 pushed to dell-xps-9550-nvidia « Copy NVidia 9500 NVidia settings for 9550 »: https://git.io/JLSVU
<{^_^}> [nixpkgs] @jonringer merged pull request #104016 → upwork: 5.4.7.1 -> 5.4.9.6 → https://git.io/JkCX0
<{^_^}> [nixpkgs] @jonringer pushed commit from @WolfangAukang to master « upwork: 5.4.7.1 -> 5.4.9.6 »: https://git.io/JLSVq
<{^_^}> [nixos-hardware] @Ericson2314 opened pull request #220 → Copy NVidia 9500 NVidia settings for 9550 → https://git.io/JLSVm
mupf[m] has joined #nixos
Rusty1 has joined #nixos
amerigo has quit [Quit: Connection closed for inactivity]
erictapen has quit [Ping timeout: 256 seconds]
erictapen has joined #nixos
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JLSVK
<{^_^}> [nix-mode] @matthewbauer pushed to master « Use javascript-mode for nix-drv-mode »: https://git.io/JLSVy
evernite_ has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5adafbe99cf (from 81 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
meh` has quit [Ping timeout: 272 seconds]
HeN has joined #nixos
<energizer> Does anyone know, is it possible to use impermanence for user home without home-manager? The regular nixos module makes everything owned by root so my user can't write it.
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JLSwZ
<{^_^}> [nixpkgs] @mweinelt merged pull request #107835 → gitstatus: 1.4.3 -> 1.4.4 → https://git.io/JLSWD
<{^_^}> [nixpkgs] @mweinelt pushed 3 commits to master: https://git.io/JLSwn
<{^_^}> [nixpkgs] @lovesegfault merged pull request #107016 → thunderbird: fix missing icon issue → https://git.io/JLGXR
<{^_^}> [nixpkgs] @lovesegfault pushed 2 commits to master: https://git.io/JLSwc
growpotkin has joined #nixos
cole-h has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #107856 → variety: 0.7.2-96-g3afe3ab -> 0.8.5 → https://git.io/JLSwg
<{^_^}> [nixpkgs] @markuskowa merged pull request #107837 → vdrPlugins: Use callPackage → https://git.io/JLS8E
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JLSwo
<energizer> actually, even with the impermanence home-manager module /home/energizer is owned by root
<lovesegfault> energizer: I use it like that
<lovesegfault> you just have to create the folders yourself, in the state dir
<lovesegfault> and manually fix the perms
<energizer> lovesegfault: can you show the relevant section of your config?
<lovesegfault> Yessir
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JLSwH
<energizer> lovesegfault: you manually fix the perms every time you reboot?
<{^_^}> [nix-mode] @matthewbauer pushed to derived-nix-drv-mode « Make nix-drv-mode a derived-mode of javascript-mode »: https://git.io/JLSw5
<lovesegfault> No, if the folders already exist in your state dir the perms don't need fixing
<{^_^}> [nix-mode] @matthewbauer opened pull request #119 → Make nix-drv-mode a derived-mode of javascript-mode → https://git.io/JLSwd
<lovesegfault> it only creates them with root ownership if they don't already exist
<energizer> but they don't exist, they got wiped at boot
ob7 has joined #nixos
<lovesegfault> They will exist in your state dir
OCCASVS has quit [Quit: Connection closed for inactivity]
<ob7> anyone here know how to get cuda working in nixos?
<{^_^}> [nix-mode] @matthewbauer pushed to master « Replace javascript-mode with js-mode »: https://git.io/JLSrv
<ob7> im trying to get blender 2.9 to render using gpus... ive got amd cards working using the guide here: https://nixos.wiki/wiki/AMD_GPU
<energizer> sure, /persist/home/energizer/projects exists. but /home/energizer doesn't exist
<ob7> but im having trouble getting nvidia cards to register
<{^_^}> [nix-mode] @matthewbauer pushed 2 commits to derived-nix-drv-mode: https://git.io/JLSrk
<ob7> any help appreciated
<lovesegfault> energizer: Yes, so if /persist/home/foo exists with the right perms it will be bind-mounted to /home/foo and those will have identical perms b/c that's what a bindmount does
<lovesegfault> check the permissions in /persist/ is what I'm saying, make sure they're right
sphalerite has quit [Ping timeout: 258 seconds]
wnklmnn has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #107857 → gallery-dl: 1.16.0 -> 1.16.1 → https://git.io/JLSrs
<energizer> ob7: i dont know anything about this but have you seen https://github.com/grahamc/nixos-cuda-example
<pushqrdx> ,locate library libgnomekbdui
<{^_^}> Found in packages: R, ccl, red, xsd, ciao, lean, qucs, cjdns, mlton, z88dk, codimd, meteor, moodle, ansible, calibre, cmdstan, coq_8_5, coq_8_6, coq_8_7, coq_8_8, coq_8_9, kodiGBM, lazarus, selfoss, shaarli, texmacs, coq_8_10, coq_8_12, dokuwiki, librepcb, spacegun, wallabag, boost.dev, librecad2, megaglest, mltonHEAD, opentoonz, swiProlog, xbmcPlain, icingaweb2, kibana-oss, kodestudio, libmsgpack, ansible_2_8, calibre-py2, couchpotato, and 149 more
<energizer> lovesegfault: i checked the permissions of /persist/home/energizer, they are correct. on reboot /home/energizer is created and owned by root
<pushqrdx> meson is complaining about this: src/meson.build:51:0: ERROR: C shared or static library 'libgnomekbdui' not found
<pushqrdx> however i can't find that anywhere
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JLSrl
<ob7> energizer i found some helpful info at https://github.com/NixOS/nixpkgs/pull/106888, but im not sure how to implement it. I do everything from my configuration.nix file
<{^_^}> #106888 (by NomisIV, 2 weeks ago, open): blender: add option for OptiX
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107856 → variety: 0.7.2-96-g3afe3ab -> 0.8.5 → https://git.io/JLSwg
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLSr0
<energizer> ob7: there's also the wiki https://nixos.wiki/wiki/Nvidia . i dont personaly know anything about this
<pushqrdx> superbaloo yeah i already have that as input and the build sees it: Run-time dependency libgnomekbd found: YES 3.26.1
<pushqrdx> but immedietly throws the error above
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #107764 → glib: 2.66.3 -> 2.66.4 → https://git.io/JLyG1
<pushqrdx> apparently libgnomekbdui is a different thing, idk
<lovesegfault> energizer: that's... really odd
<lovesegfault> is your cfg public?
erictapen has quit [Ping timeout: 264 seconds]
<energizer> lovesegfault: im noticing that /home/energizer and /home/energizer/.config get created owned by root, but /home/energizer/.config/cachix gets owned by energizer
<energizer> config isn't public atm
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
<lovesegfault> Show me your fileSystem clause?
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #95396 → gnome-usage: 3.33.2 -> 3.32.0 → https://git.io/JJ7W2
supersandro2000 has joined #nixos
erictapen has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #94874 → telegram-cli: init at 2016-03-23 → https://git.io/JJXTy
ob7 has quit [Ping timeout: 245 seconds]
erictapen has quit [Client Quit]
<energizer> lovesegfault: here's the relevant section https://bpa.st/FGCQ
wnklmnn has joined #nixos
sigmundv__ has joined #nixos
ob7 has joined #nixos
<ob7> i tried using https://github.com/NixOS/nixpkgs/pull/106888/files/7eff6be40c09f173c547ab4088ccf78b3cb78817 but still no cuda support showing up in blender
<lovesegfault> energizer: your postDeviceCommands are the only difference between your setup and mine
<lovesegfault> if I had to guess I'd say the issue is there somewhere
AntonioYang[m] has joined #nixos
sigmundv_ has quit [Ping timeout: 265 seconds]
sss2 has quit [Quit: Leaving]
<lovesegfault> energizer: try making / be tmpfs like I do maybe
<lovesegfault> just to test
cantstanya has quit [Ping timeout: 240 seconds]
cantstanya has joined #nixos
ob749 has joined #nixos
<ob749> still no go with blender recognizing nvidia gpu
ob7 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #95119 → mwic: Fix Python wrapping → https://git.io/JJD6x
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLSot
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #95857 → eddy: init at 2020/04/16 → https://git.io/JJxY3
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #87636 → sdrangel: 4.11.12 -> 4.14.5 → https://git.io/JflFZ
rajivr has joined #nixos
ob7 has joined #nixos
<ob7> i have to keep reconnecting when i restart
ob749 has quit [Ping timeout: 245 seconds]
<ob7> does anyone know how to get blender to recognize nvidia gpus?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/405d762a1a0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<Gaelan> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<Gaelan> ,locate vcgencmd
<{^_^}> Couldn't find in any packages
<tpw_rules> ob7: i assume you see the gpu in nvidia-smi?
<tpw_rules> on nixos?
<lovesegfault> Gaelan: raspberrypi-tools
<Gaelan> "raspberrypi-tools has been removed in favor of identical 'libraspberrypi'"
<lovesegfault> Well, guess that's what it's called now :P
<Gaelan> but I just installed libraspberrypi…
h0m1 has quit [Ping timeout: 260 seconds]
<lovesegfault> Gaelan: /nix/store/hdhdwjrzh07d4swvq3mqf7xdwg09kdq4-libraspberrypi/bin/vcgencmd
<lovesegfault> it's there for me
h0m1 has joined #nixos
<Gaelan> are you on unstable updated today?
<Gaelan> I think there was a related PR that just landed
<lovesegfault> nope, but I can be, give me one moment
<Gaelan> aha, I got caught between the PR that broke it and https://github.com/NixOS/nixpkgs/pull/107807
<{^_^}> #107807 (by flokli, 10 hours ago, merged): libraspberrypi: fix output
<Gaelan> thanks for the help, lovesegfault ++
<Gaelan> lovesegfault++
<{^_^}> lovesegfault's karma got increased to 42
<Gaelan> there we go
<lovesegfault> NP, glad you figured it out :)
<Gaelan> joys of being on unstable, every update breaks something and fixes something
wnklmnn has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @cdepillabout opened pull request #107858 → haskellPackages.servant: stop building documentation → https://git.io/JLSKd
<boxofrox> anyone running nix on a non-NixOS linux having issues with locales? trying to google for relevant info isn't working.
<{^_^}> [nixpkgs] @marsam opened pull request #107859 → python3Packages.shapely: fix build on darwin → https://git.io/JLSKA
aswanson has quit [Quit: aswanson]
<aterius> I had issues that I resolved
<aterius> What is your specific issue
<abathur> common iirc
<aterius> For reference I add this to my zshenv/profile
<aterius> `export LOCALE_ARCHIVE=/usr/lib/locale/locale-archive`
<aterius> boxofrox: ^
<boxofrox> aterius: thx, will give that a try
ob7 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #88455 → infra-arcana: init at rev e50a5ff4 → https://git.io/Jfgnk
<aterius> Should work on debian and RH derivative
<boxofrox> aterius: that worked. many thanks.
<boxofrox> also worked on ArchLinux
<aterius> What was your exact error?
<aterius> I'm making a wiki page because I've had several people ask about this
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #90306 → bitcoin-classic: 1.3.8 -> 1.3.8uahf → https://git.io/JfQ6P
<boxofrox> aterius: one moment, I'll pull it back up
puffnfresh has quit [Ping timeout: 272 seconds]
<aterius> Do you think you would have found this, and found it helpful? https://nixos.wiki/wiki/Locales
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107857 → gallery-dl: 1.16.0 -> 1.16.1 → https://git.io/JLSrs
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLS6y
<boxofrox> aterius: http://sprunge.us/jLNp7N
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #89198 → onedrive: 2.3.13 ->! 2.4.2 → https://git.io/JfKKb
CMCDragonkai2 has joined #nixos
<fzakaria> aterius: `LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";`
<fzakaria> I do that even on Nix over Debian
<fzakaria> in my home-manager setup
<fzakaria> boxofrox: ^^
<fzakaria> relevant documentation --> https://nixos.org/manual/nixpkgs/stable/#locales
<KarlJoad> Is there a way to use a ${variable} nix expansion for FontPath and ModulePath in the xserver.conf file?
<boxofrox> aterius: that wiki page is a good start, and would have solved my issue. That page wasn't a result in my google search, so I was messing with `LOCAL_ARCHIVE="$(nix-build --no-out-link '<nixpkgs>' -A glibcLocales)/lib/locale/locale-archive" and the like, but my nix apps still complained of missing locales or unable to set locales.
<boxofrox> aterius: your recommendation to use the host system archive worked. wish i'd found that sooner :)
<energizer> lovesegfault: i got rid of my /home subvolume and now everything works. thanks.
<boxofrox> fzakaria: I think I tried something similar to that. I just recently started using home-manager, and it didn't work. I'm not sure what I messed up in the configuration, but home-manager isn't setting that env var in my [non-nix] zsh shell, and my nix apps still weren't happy with glibcLocales. *shrug*
<lovesegfault> energizer: Not sure I did much to help there, but I'm glad you figured it out :D
<fzakaria> here is where i set it
<fzakaria> I did it in `home.sessionVariables `
<{^_^}> [nixpkgs] @thatsmydoing opened pull request #107860 → redis: build with TLS support → https://git.io/JLSit
<aterius> fzakaria: That didn't work for me with mosh-shell, since it supports en_US but not en_US.utf-8 locales (memory is a bit rusty)
<boxofrox> fzakaria: thx
<fzakaria> interesting; fair enough.
Darkmatter66 has quit [Ping timeout: 256 seconds]
<aterius> boxofrox: did that also work for you?
<aterius> It would be good to also have that in the wiki
<boxofrox> aterius: also work? which one are we talking about?
<aterius> it should be equivalent to what you already tried tho
simukis__ has joined #nixos
<aterius> Is effectively HM managing `LOCAL_ARCHIVE="$(nix-build --no-out-link '<nixpkgs>' -A glibcLocales)/lib/locale/locale-archiv`
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #97199 → matterbridge: 1.18.0 -> 1.18.2 → https://git.io/JUs2R
simukis_ has quit [Ping timeout: 260 seconds]
<boxofrox> aterius: no. at the time I tried it last week or so (both with home-manager and manually exporting in the shell), using `nix-build --no-out-link '<nixpkgs>' -A glibcLocals..blah` did not work for me. I compared my nix binary with the nix glibc version (using ldd), and both were the latest used by nixpkgs-unstable.
<aterius> Got it, I didn't think so. I just wanted to be sure.
noneucat has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #97192 → librealsense: 2.38.0 -> 2.38.1 → https://git.io/JUszG
<fzakaria> (thank you to whomever got to adding me to NixOS org)
<supersandro2000> fzakaria: auto invite ;)
<qyliss> fzakaria: the bot that does that got fixed
<fzakaria> oh thank you bot.
<fzakaria> Anyone in NixOS GitHub org open to discussing commit bit for https://github.com/NixOS/mvn2nix-maven-plugin
<fzakaria> I'd like to make some improvements on it but it seems inactive.
sigmundv__ has quit [Ping timeout: 264 seconds]
<samueldr> fzakaria: ask the same again on #nixos-dev, where it's more likely eyes will see that
<aterius> Is nix org invites for if you're added in the maintainers list?
<samueldr> aterius: yes
hamhaunalla98[m] has joined #nixos
<aterius> Got it, thanks!
<veleiro> how do you provide a string from a file read?
<veleiro> i don't want to save a secret in my config, for instance
hamhaunalla98[m] has left #nixos ["User left"]
m0rphism has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #105269 → dub: 1.14.0 -> 1.23.0 → https://git.io/JkNeQ
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLSiK
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
<KarlJoad> veleiro: That can still be dangerous since the Nix store is world-readable.
aw has joined #nixos
spacefrogg has joined #nixos
<KarlJoad> I am having issues where X says it cannot open the nvidia module, but I can see the nvidia-x11-455.38 module in the xserver.conf file. Anyone have any clues?
acarrico has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #68115 → perlPackages.GlibObjectIntrospection: needs cairo to build test libs → https://git.io/fjhd9
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JLSiP
zebrag has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #97181 → klayout: 0.26.6 -> 0.26.7 → https://git.io/JUsBi
<{^_^}> [nixpkgs] @dbirks opened pull request #107861 → microplane: init at 0.0.25 → https://git.io/JLSiy
meh` has joined #nixos
zebrag has joined #nixos
mkaito has quit [Quit: WeeChat 3.0]
simukis_ has joined #nixos
<fzakaria> can i destructure a struct in Nix lang ?
simukis__ has quit [Ping timeout: 256 seconds]
<boxofrox> fzakaria: `with { inherit (struct) a b c }; # use a b or c`? Not sure it's idiomatic nix though.
<fzakaria> looks like you can destructure on function invocation but i was hoping for destructure during assignment
<fzakaria> a, b = some_set
<simpson> Patterns aren't allowed at let-expressions, so I think that it has to be in function heads.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #107862 → python37Packages.pyscreenshot: 2.2 -> 2.3 → https://git.io/JLSPe
<veleiro> KarlJoad not in my instance
grabb0id has joined #nixos
<veleiro> i'm using it with nixus which arguably has the best handling of secrets!
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107753 → cataclysm-dda: 0.E-2 -> 0.E-3 → https://git.io/JLyqc
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLSPv
<fzakaria> simpson: thanks.
<fzakaria> Another question what's the best builder to add a new directory to an already created derivation?
<fzakaria> linkFarm ?
<fzakaria> ah i think symlinkJoin
<KarlJoad> veleiro: Gotcha. Wasn't sure what you were doing.
edwtjo has quit [Ping timeout: 240 seconds]
gustavderdrache has quit [Quit: Leaving.]
<KarlJoad> So, I have narrowed down my nvidia/X11 problem down to the fact that X can't seem to find the nvidia_drv.so file, even though it has the ModulePath for it. Anyone seen anything similar?
CMCDragonkai2 has quit [Ping timeout: 240 seconds]
<fzakaria> here is what i came up with; seems like a lot to achieve something simple
<veleiro> how do you read a file into a nix config?
<qyliss> builtins.readFile
<veleiro> lol
<veleiro> qyliss++
<{^_^}> qyliss's karma got increased to 106
<veleiro> thanks
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #107863 → properties-cpp: move cmake, pkg-config to nativeBuildInputs, clean up → https://git.io/JLSPr
<veleiro> how can readFile be read as a string?
<veleiro> i'm still working with secrets
<qyliss> Are these secrets you're okay with being world-readable on disk?
<qyliss> If not, don't readFile them
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #97468 → keysmith: replace hardcoded qt prefixes → https://git.io/JUnF6
<veleiro> hmm
<veleiro> i'm just not sure if services.coturn.static-auth-secret is a danger in public
meh` has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5adafbe99cf (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
knullare has joined #nixos
orivej has quit [Quit: orivej]
Supersonic112 has joined #nixos
orivej has joined #nixos
concept2 has quit [Quit: Ping timeout (120 seconds)]
concept2 has joined #nixos
Darkmatter66 has joined #nixos
Supersonic has quit [Ping timeout: 256 seconds]
Supersonic112 is now known as Supersonic
<Raito_Bezarius> depends on your threat model veleiro
<{^_^}> [nixpkgs] @zowoq closed pull request #107607 → kubernetes: add passthru.tests → https://git.io/JLMTj
endformationage has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #97226 → papirus-icon-theme: 20200801 -> 20200901 → https://git.io/JUs9s
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLS1z
<bqv> veleiro: +1 on nixus
<bqv> I still need to make use of it more...
veleiro has quit [Ping timeout: 256 seconds]
Diagon has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @rmcgibbo opened pull request #107864 → python3Packages.pydicom: unbreak → https://git.io/JLSMo
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f503a363254 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Darkmatter66 has quit [Ping timeout: 260 seconds]
riksteri has joined #nixos
veleiro has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #97236 → qbec: 0.12.1 -> 0.12.2 → https://git.io/JUs57
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JLSDm
waleee-cl has quit [Quit: Connection closed for inactivity]
Rusty1 has quit [Quit: WeeChat 2.3]
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
<{^_^}> [nixpkgs] @tnias opened pull request #107865 → usbguard: fix ambiguous GPL license indicator → https://git.io/JLSDz
<{^_^}> [nixpkgs] @rmcgibbo opened pull request #107866 → python3Packages.paperspace: mark as broken → https://git.io/JLSyU
ddellacosta has quit [Ping timeout: 256 seconds]
tgamblin_ has joined #nixos
eacameron has quit [Quit: Connection closed for inactivity]
<Nickli> bah, how can i filter out the notices?
<qyliss> depends on your IRC client
<Nickli> weechat
<qyliss> then I suggest you look at weechat's documentation or ask in #weechat
<Nickli> tried setting it to filter [nixpkgs] and filter ctcp neither seemed to work
<{^_^}> [nixpkgs] @github-actions[bot] pushed 26 commits to staging-next: https://git.io/JLSyz
<{^_^}> [nixpkgs] @github-actions[bot] pushed 27 commits to staging: https://git.io/JLSyg
tgamblin_ has quit [Quit: Textual IRC Client: www.textualapp.com]
tgamblin_ has joined #nixos
<qyliss> I think you'll have much better luck in a WeeChat support channel
tgamblin_ has quit [Client Quit]
palo1 has joined #nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
tgamblin-llnl has joined #nixos
tgamblin-llnl has left #nixos [#nixos]
tgamblin-llnl has joined #nixos
tgamblin-llnl has quit [Client Quit]
tgamblin-llnl has joined #nixos
tgamblin-llnl has left #nixos ["Textual IRC Client: www.textualapp.com"]
tgamblin-llnl has joined #nixos
astylian has quit [Remote host closed the connection]
<Nickli> it was a regex issue should've been \[nixpkgs\]
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
tgamblin-llnl has quit [Quit: Textual IRC Client: www.textualapp.com]
tgamblin-llnl has joined #nixos
stoile has quit [Ping timeout: 260 seconds]
tgamblin-llnl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tgamblin-llnl has joined #nixos
oxalica has quit [Quit: oxalica]
oxalica has joined #nixos
noudle has joined #nixos
tgamblin-llnl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kozova1_ is now known as Kozova1
ransom has joined #nixos
arinov_ has joined #nixos
gxt has quit [Ping timeout: 240 seconds]
gxt has joined #nixos
ransom has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Atemu opened pull request #107867 → anki-bin: 2.1.36 -> 2.1.38 → https://git.io/JLSHB
orivej has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @vcunat closed pull request #107246 → [backport, staging-20.09] asciidoctor: add revealjs support → https://git.io/JLgQc
knullare has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @lovesegfault opened pull request #107868 → radeontop: 2018-06-03 -> 1.3 → https://git.io/JLSQv
<{^_^}> [nixpkgs] @peterhoeg merged pull request #107865 → usbguard: fix ambiguous GPL license indicator → https://git.io/JLSDz
<{^_^}> [nixpkgs] @peterhoeg pushed commit from @tnias to master « usbguard: fix ambiguous GPL license indicator »: https://git.io/JLSQn
ericsagnes has joined #nixos
kevinjmc has joined #nixos
ransom has joined #nixos
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/e065200fc90 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ea3638a3fb2 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
jonringer has quit [Ping timeout: 258 seconds]
stoile has joined #nixos
ransom has quit [Ping timeout: 256 seconds]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JLSQ6
kevinjmc has quit [Ping timeout: 256 seconds]
tejing has quit [Quit: WeeChat 2.9]
lgcl has joined #nixos
nixuser_ has joined #nixos
<{^_^}> [nixpkgs] @elohmeier opened pull request #107869 → python3Packages.jupyterlab: 2.2.9 -> 3.0.0 → https://git.io/JLS7U
Darkmatter66 has joined #nixos
attila_lendvai has joined #nixos
<l33[m]> <maralorn "Is that something that needs to "> there are lots fetch defined in https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/ , they are in nix which generates shell scripts dynamically. https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/fetchgithub/default.nix
kevinjmc has joined #nixos
ransom has joined #nixos
tgamblin-llnl has joined #nixos
ransom has quit [Ping timeout: 240 seconds]
<Mic92> We will do a maintainer party on rc3. You can join via public mumble: https://rc3.world/rc3/event/nixos-maintainer-party/
noudle has quit []
kevinjmc has quit [Ping timeout: 240 seconds]
attila_lendvai has quit [Ping timeout: 268 seconds]
<Mic92> 4
respawn_ has joined #nixos
thematten[m] has quit [Quit: Idle for 30+ days]
<{^_^}> [nixpkgs] @vbgl merged pull request #107750 → ocamlPackages.camlzip: 1.07 -> 1.10 → https://git.io/JLyLE
<{^_^}> [nixpkgs] @vbgl pushed commit from @freezeboy to master « ocamlPackages.camlzip: 1.07 -> 1.10 »: https://git.io/JLSdo
kevinjmc has joined #nixos
Dr8128 has joined #nixos
davidv7_ has joined #nixos
gianarb has joined #nixos
davidv7 has quit [Ping timeout: 272 seconds]
<gianarb> Hello! newbie question, I would like to install a go program in nix-shell, but there is not derivation for it https://github.com/matryer/moq how can I solve this problem without having to push a new derivation to a repo? I can create a moq.nix file somewhere in my repo and import it from there for now?
<{^_^}> [nixpkgs] @lovesegfault merged pull request #107868 → radeontop: 2018-06-03 -> 1.3 → https://git.io/JLSQv
<{^_^}> [nixpkgs] @lovesegfault pushed 2 commits to master: https://git.io/JLSdF
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @siraben opened pull request #107870 → driftnet: 1.1.5 -> 1.3.0 → https://git.io/JLSFI
<energizer> yes
<energizer> gianarb: ^
nature has joined #nixos
ransom has joined #nixos
<gianarb> Thanks energizer https://discourse.nixos.org/t/how-can-i-compile-the-flux-ctl-go-package/2603/4 is this in some way related? I am confused because it uses go deps and in theory a lot of the new tools uses go modules (the new way to manage dependencies in go)
<gianarb> do you know about about Go and Nix or can you point me out to a good read about the topic?
tgamblin-llnl has quit [Quit: Textual IRC Client: www.textualapp.com]
ransom has quit [Ping timeout: 268 seconds]
<energizer> i dont know about go, there's probably a nixpkgs guide for it. also you can look at the logs for this channel (/topic) i think someone said the answer within the last few days. it's something like "buildGoModule" or "buildGoPackage" i forget
<{^_^}> [nixpkgs] @FRidh merged pull request #97436 → gnome-2.gnome_mime_data: Move intltool to nativeBuildInputs → https://git.io/JUnBt
<{^_^}> [nixpkgs] @FRidh pushed commit from @kampka to staging « gnome-2.gnome_mime_data: Move intltool to nativeBuildInputs »: https://git.io/JLSF6
wnklmnn has joined #nixos
gianarb has quit [Ping timeout: 260 seconds]
ransom has joined #nixos
respawn_ has quit [Quit: Leaving]
ransom has quit [Ping timeout: 268 seconds]
__monty__ has joined #nixos
kevinjmc has quit [Quit: Leaving]
pinkieval has quit [Ping timeout: 258 seconds]
Guest26328 has quit [Changing host]
Guest26328 has joined #nixos
Guest26328 is now known as ocharles
okt has joined #nixos
pjt_tmp has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @xaverdh opened pull request #107871 → modules-closure.sh: rewrite to use modinfo → https://git.io/JLSbF
okt has left #nixos [#nixos]
<{^_^}> [nixpkgs] @r-k-b opened pull request #107872 → xdot: fix 1.2 not building → https://git.io/JLSbp
<Mic92> we will have maintainer party this evening on rc3, everyone also without ticket can access: https://discourse.nixos.org/t/nixos-assembly-on-rc3/10682/11?u=mic92
attila_lendvai has joined #nixos
gues9761 has joined #nixos
<gues9761> hello, a question I'm inside the nixos terminal installer, basically nixos-install is failing, throwing an error on the last line
<gues9761> it says expecting ";", but if I put a ; after } it throws another error
<gues9761> any ideas?
<siraben> gues9761: could you paste your configuration?
<lassulus> the ; is expected before that
<dminuoso> nixos has an installer?
<lassulus> so the error is before the last line
<{^_^}> [nixpkgs] @siraben opened pull request #107873 → impl: unstable-2020-11-19 -> 1.0.0 → https://git.io/JLSNl
attila_lendvai has quit [Ping timeout: 256 seconds]
<gues9761> siraben: dunno how, I'm in tty, any lines without parenthesis has a ; at the end however
<lassulus> you can try: cat configuration.nix | curl -F 'f:1=<-' ix.io
<gues9761> nvm found the error
<gues9761> mistakenly idented a parenthesis
<gues9761> it's building now
<siraben> nice
ransom has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #107828 → git: 2.29.2 -> 2.30.0 → https://git.io/JLSn1
<{^_^}> [nixpkgs] @primeos pushed to staging « git: 2.29.2 -> 2.30.0 (#107828) »: https://git.io/JLSN7
gueorgui has quit [Ping timeout: 260 seconds]
gues9761 has quit [Remote host closed the connection]
ransom has quit [Ping timeout: 272 seconds]
Diagon has quit [Quit: Leaving]
gueorgui has joined #nixos
grabb0id has quit [Ping timeout: 240 seconds]
veleiro has quit [Ping timeout: 260 seconds]
vidbina has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #107746 → [20.09] ungoogled-chromium: 85.0.4183.102-1 -> 87.0.4280.88-1 → https://git.io/JLyUB
<{^_^}> [nixpkgs] @primeos pushed 6 commits to release-20.09: https://git.io/JLSAR
<{^_^}> [nixpkgs] @prusnak merged pull request #107802 → gcc-arm-embedded: 9-2020-q2-update -> 10-2020-q4-major → https://git.io/JLST3
<{^_^}> [nixpkgs] @prusnak pushed 3 commits to master: https://git.io/JLSAa
ransom has joined #nixos
cosimone has joined #nixos
sphalerite has joined #nixos
tldr32 has quit [Quit: ZNC 1.7.5 - https://znc.in]
rb2k has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @prusnak merged pull request #107847 → a52dec: 0.7.4p4 -> 0.7.4 → https://git.io/JLS0w
<{^_^}> [nixpkgs] @prusnak pushed 2 commits to master: https://git.io/JLSAS
ransom has quit [Ping timeout: 258 seconds]
respawn_ has joined #nixos
dminuoso has quit [Ping timeout: 256 seconds]
<ronny> anyone aware of a way to choose a module name via a config options/system environment variable i have a directorytree with nix modules for my computers, and i want to be able to easyly crossbuild the configurations of a different computer
m0rphism has joined #nixos
puffnfresh has joined #nixos
<siraben> I have a bunch of projects that I can build with Nix, but all the build scripts are in the "master" project with niv to pin nixpkgs, how do I split up the expressions to the other projects and keep their pins synced?
dminuoso has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
fendor has joined #nixos
haritz has quit [Ping timeout: 246 seconds]
haritz has joined #nixos
haritz has joined #nixos
haritz has quit [Changing host]
s1341 has quit [Quit: Connection closed for inactivity]
patagonicus has joined #nixos
gianarb has joined #nixos
<pingiun> is there a way to update all flakes before building with hydra?
<pingiun> I think it would be useful to build the specified flake inputs alongside a version where everything is updated
<pingiun> the version where everything is updated is possible with the legacy jobset specification of course, by setting all inputs to master branches
<Nickli> having an issue with mpc and ncmpc... using some random port connecting to mpd even if i set it in config or -p, anyone know how i could fix this?
respawn_ has quit [Quit: Leaving]
berberman_ has joined #nixos
berberman has quit [Ping timeout: 268 seconds]
berberman_ has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @fabaff opened pull request #107876 → wad: init at 0.4.6 → https://git.io/JLSxh
berberman has joined #nixos
<pingiun> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
<pingiun> there is no hydra channel?
ransom has joined #nixos
fendor has quit [Remote host closed the connection]
<ehmry> pingiun: I'd ask in #nixos-dev
<pingiun> thanks
ransom has quit [Ping timeout: 256 seconds]
SomeoneSerge has joined #nixos
jb55 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ttuegel merged pull request #97306 → openblas: re-enable AVX512 support → https://git.io/JUGQY
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to staging: https://git.io/JLSpK
<{^_^}> [nixpkgs] @jobojeha opened pull request #107877 → utf8cpp: 3.1.1 -> 3.1.2 → https://git.io/JLSp6
<{^_^}> [nixpkgs] @guibou opened pull request #107878 → duckstation: init at commit dfa36e0 → https://git.io/JLSpS
gianarb1 has joined #nixos
gianarb has quit [Ping timeout: 260 seconds]
jb55 has joined #nixos
gianarb1 has quit [Ping timeout: 264 seconds]
gianarb1 has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #107879 → pythonPackages.ufonormalizer: 0.5.2 -> 0.5.3 → https://git.io/JLSh0
<siraben> Is there a function that lets me is a directory for src but only specific folders?
<siraben> s/is/use
grabb0id has joined #nixos
<sterni> siraben: like sourceRoot but multiple directories?
<siraben> sterni: yeah
tejing has joined #nixos
grabb0id has quit [Ping timeout: 240 seconds]
berberman_ has joined #nixos
berberman has quit [Ping timeout: 260 seconds]
seku has joined #nixos
<siraben> sterni: is it possible? I'm looking into using srcs
<siraben> Oh I can use cleanSourceFilter, hm
<sterni> siraben: usually you would have multiple srcs and the a sourceRoot and in postUnpack you move everything you need into the sourceRoot
<sterni> or if you have a single source it's probably best to use source filtering although they are a pain to write sometimes
gianarb1 has quit [Ping timeout: 268 seconds]
gianarb1 has joined #nixos
sangoma has joined #nixos
<siraben> sterni: the project is https://github.com/Eeems/oxide and i need to have only things like applications/, assets/, shared/
<sterni> then use filterSource
ransom has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @github-actions[bot] pushed 10 commits to staging-next: https://git.io/JLSjm
<{^_^}> [nixpkgs] @github-actions[bot] pushed 11 commits to staging: https://git.io/JLSjY
ransom has quit [Ping timeout: 240 seconds]
duckfullstop has quit [Ping timeout: 272 seconds]
<siraben> sterni: hm, I'm having trouble understanding how to use it
Thra11 has joined #nixos
cosimone has quit [Quit: cosimone]
<siraben> Ah it's working
ransom has joined #nixos
ransom has quit [Ping timeout: 260 seconds]
<siraben> sterni: why doesn't `src = builtins.filterSource (path: type: type != "directory" || (builtins.elem (baseNameOf path) [ "applications" "assets" "shared" "interfaces" "Makefile"])) ./.;` work?
<siraben> i only get directories but not their contents
<{^_^}> [nixpkgs] @freezeboy opened pull request #107880 → aerc: 0.4.0 -> 0.5.2 → https://git.io/JLSjx
Darkmatter66 has quit [Ping timeout: 260 seconds]
<sphalerite> siraben: the named directories contain only files, no subdirectories?
<siraben> sphalerite: they do contain subdirectories as well
vidbina has quit [Ping timeout: 265 seconds]
<{^_^}> nix#885 (by copumpkin, 4 years ago, open): Deprecate builtins.filterSource in favor of something that takes a a few regexes (perhaps different regexes for files/symlinks/directories)
<sphalerite> siraben: then the subdirectories are getting excluded because their basename isn't in your allow-list :)
<sphalerite> siraben: maybe nix-gitignore (already in nixpkgs) will work better for you?
<siraben> Yeah I'm looking at that, but I haven't been able to negate the pattern
<siraben> /!applications/
<Orbstheorem> I found a thinkpad among beer :D
<{^_^}> [nixpkgs] @freezeboy opened pull request #107881 → agedu: 20200206 -> 20200705 → https://git.io/JL9e2
<siraben> bah why is this so difficult
<{^_^}> [nixos-org-configurations] @rbvermaa pushed to master « Update mac1 public wireguard key »: https://git.io/JL9ea
<siraben> I want to ignore everything except folder foo/ and its contents
<sphalerite> siraben: I think if you put the ! at the beginning it should work
<siraben> sphalerite: error: string '!/applications/
<siraben> ' doesn't represent an absolute path, at /nix/store/ci64cgncp3py4mkz12b1ynnds9pqc00x-nixpkgs-src/pkgs/build-support/nix-gitignore/default.nix:173:29
<V> oh, this is a nix path. probably no way to do that, then
<siraben> Oh it's not a nix path
<siraben> it's in the project directory
<siraben> like, ./applications
<sphalerite> siraben: how are you using nix-gitignore exactly?
nixuser_ has quit [Read error: Connection reset by peer]
<sphalerite> ah, that's an annoying behaviour… Try passing a list instead of a string
<sphalerite> i.e. nix-gitignore.gitignoreSource ["*" "!/applications"] ./.;
<{^_^}> [nixpkgs] @primeos pushed to master « intel-media-driver: 20.4.3 -> 20.4.5 »: https://git.io/JL9vJ
nek0 has quit [Remote host closed the connection]
carthia has joined #nixos
<siraben> sphalerite: ^ doesn't seem to work
<siraben> hm
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/bd81a2e1f7f (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
cosimone has joined #nixos
damjan has left #nixos ["The Lounge - https://thelounge.github.io"]
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #107882 → [20.09] palemoon: 28.16.0 -> 28.17.0 → https://git.io/JL9vq
carthia_mr has joined #nixos
haritz has quit [Read error: Connection timed out]
haritz has joined #nixos
haritz has joined #nixos
haritz has quit [Changing host]
lgcl has quit [Quit: ERC (IRC client for Emacs 27.1)]
carthia has quit [Ping timeout: 240 seconds]
bdju has quit [Quit: updating irssi]
<{^_^}> [nixpkgs] @freezeboy opened pull request #107883 → amazon-ecs-cli: 1.20.0 -> 1.21.0 → https://git.io/JL9vr
Nickli has quit [Read error: Connection reset by peer]
jvytee[m] has left #nixos ["User left"]
polman has joined #nixos
<siraben> sphalerite: do you have another suggestion?
qwerty has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #97268 → duplicity: 0.8.13 -> 0.8.15 → https://git.io/JUGLp
respawn_ has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JL9TK
akaWolf has quit [Quit: leaving]
akaWolf has joined #nixos
mallox has joined #nixos
julian01234 has joined #nixos
akaWolf has quit [Changing host]
akaWolf has joined #nixos
<julian01234> xx
qwerty has joined #nixos
akaWolf has quit [Client Quit]
akaWolf has joined #nixos
<sphalerite> siraben: hm, maybe you need more negation rules. If you remove the "*" rule I'm guessing everything is copied?
julian01234 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @prusnak merged pull request #107877 → utf8cpp: 3.1.1 -> 3.1.2 → https://git.io/JLSp6
<{^_^}> [nixpkgs] @prusnak pushed 2 commits to master: https://git.io/JL9to
polman has quit [Ping timeout: 240 seconds]
<siraben> sphalerite: yeah everything is copied
<siraben> I wonder if negation is not supported
<sphalerite> it is
<sphalerite> supported
ransom has joined #nixos
<{^_^}> [nixpkgs] @stigtsp merged pull request #107740 → i3-balance-workspace: init at 1.8.3 → https://git.io/JLyfK
<{^_^}> [nixpkgs] @stigtsp pushed 2 commits to master: https://git.io/JL9OC
sangoma has quit [Ping timeout: 264 seconds]
lordcirth__ has joined #nixos
mallox has quit [Quit: WeeChat 3.0]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107804 → tomcat-native: 1.2.25 -> 1.2.26 → https://git.io/JLSTh
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JL9sf
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107862 → python37Packages.pyscreenshot: 2.2 -> 2.3 → https://git.io/JLSPe
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JL9sg
<{^_^}> [nixpkgs] @teto merged pull request #107880 → aerc: 0.4.0 -> 0.5.2 → https://git.io/JLSjx
<{^_^}> [nixpkgs] @teto pushed commit from @freezeboy to master « aerc: 0.4.0 -> 0.5.2 »: https://git.io/JL9s7
lordcirth has quit [Ping timeout: 268 seconds]
ransom has quit [Ping timeout: 256 seconds]
<siraben> Anyone know how to negate paths with gitignoreSource?
julian____ has joined #nixos
bdju has joined #nixos
<{^_^}> [nixpkgs] @symphorien merged pull request #107881 → agedu: 20200206 -> 20200705 → https://git.io/JL9e2
<{^_^}> [nixpkgs] @symphorien pushed 2 commits to master: https://git.io/JL9WH
<sphalerite> siraben: I'm pretty sure the ! is the right way
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #97200 → matterircd: 0.19.4 -> 0.20.0 → https://git.io/JUs2w
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JL9lQ
waleee-cl has joined #nixos
<bqv> srk: worth pinging shlevy on irc r.e. the hnix deadlock?
zebrag has joined #nixos
<{^_^}> [nixpkgs] @misuzu closed pull request #101412 → 3proxy: 0.8.13 -> 0.9.3 → https://git.io/JTg9W
<{^_^}> [nixpkgs] @freezeboy opened pull request #107884 → amfora: 1.6.0 -> 1.7.2 → https://git.io/JL9Rm
<srk> bqv: probably not, possibly by email if there's a need. I don't see it as a deadlock but the coordiantion required is not ideal. imalsogreg is active and we've managed to release both last month
<siraben> sphalerite: hm, i'm looking around and checking other examples but no one seems to be using !
<siraben> surely there has to be examples in nixpkgs
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #107866 → python3Packages.paperspace: mark as broken → https://git.io/JLSyU
<siraben> alternatively I could just create a folder and write unpackPhase myself
acarrico has joined #nixos
<sphalerite> siraben: I created a directory named test, containing a and b; then ran nix-build -E 'with import <nixpkgs> {}; lib.traceVal (nix-gitignore.gitignoreSourcePure ["*" "!a"] ./test)' and checked that the resulting store dir does indeed contain a but not b
<sphalerite> so negation clearly works, there's just something wrong with your rules
<siraben> src = nix-gitignore.gitignoreSourcePure [ "*" "!applications"] ./.;
orcus has quit [Quit: ZNC 1.7.5 - https://znc.in]
<siraben> sphalerite: to be more concrete, here's the derivation http://ix.io/2Kdc
<siraben> and when I run `cd $(mktemp -d) && unpackPhase` I only see oxide
julian____ has quit [Quit: Leaving]
orcus has joined #nixos
ransom has joined #nixos
<siraben> sphalerite: i'm not sure I understand what's going on
sss2 has joined #nixos
ransom has quit [Ping timeout: 260 seconds]
orcus has quit [Quit: ZNC 1.8.1 - https://znc.in]
<bqv> srk: fair enough. I'm just observing that it's been at least about two weeks since anton's been piping up about needing a new release and nothing has moved, and derivationStrict seems to be dependent on that for some reason
MrCoffee has joined #nixos
orcus has joined #nixos
scheibenkleister has joined #nixos
<viric> cd
jonringer has joined #nixos
<{^_^}> [nixos-org-configurations] @rbvermaa pushed commit from @grahamc to master « rfc39: invite 50 at a time »: https://git.io/JL9rC
carthia_mr has quit [Quit: carthia_mr]
gianarb1 has quit [Ping timeout: 258 seconds]
Luk50065 has joined #nixos
<MichaelRaskin> viric: you want to imply you do not feel at home here?
ransom has joined #nixos
<viric> :D
<bqv> ha
<viric> damn ffmpeg - I can't get audio
<viric> audio+video low latency
Luk50065 has quit [Remote host closed the connection]
gianarb1 has joined #nixos
MrCoffee has quit [Ping timeout: 260 seconds]
<{^_^}> [nixos-org-configurations] @rbvermaa pushed commit from @edolstra to master « Update mac1 hardware config »: https://git.io/JL9oq
<siraben> sphalerite: I resolved it by using nix-inclusive https://github.com/siraben/oxide/blob/refactor-nix/oxide.nix
<siraben> gosh this should be standard
Diagon has joined #nixos
Diagon has quit [Max SendQ exceeded]
Diagon has joined #nixos
<{^_^}> [nixpkgs] @WilliButz merged pull request #99180 → nixos/prometheus: remote_{read,write} support → https://git.io/JUDyy
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/JL9o8
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
<{^_^}> [nixpkgs] @WilliButz closed pull request #107398 → nixos/prometheus: add remote_write config → https://git.io/JL9oz
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 7 commits to master: https://git.io/JL9oa
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-20.09: https://git.io/JL9oV
gianarb1 has quit [Quit: WeeChat 3.0]
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
padraic has joined #nixos
MrCoffee has joined #nixos
arinov_ has quit [Ping timeout: 260 seconds]
veleiro has joined #nixos
<{^_^}> [nixos-org-configurations] @rbvermaa pushed 2 commits to master: https://git.io/JL9o9
hrnz has joined #nixos
fendor_ has joined #nixos
grobi2 has joined #nixos
fendor has quit [Ping timeout: 260 seconds]
grobi2 has quit [Client Quit]
malook has joined #nixos
<padraic> Hey, picked up NixOS through the winter break and have done a couple of installs. Trying to get the installation done as automatically as possible but have come across a hitch as I'm installing the OS on a luks encrypted filesystem. The issue I'm facing is that I must manually update `boot.initrd.luks.devices.<encrypted vol>.device` to the uuid of
<padraic> the encrypted partition. Is it possible to inline some bash script that can read this info manually?
<{^_^}> [nixpkgs] @nagy opened pull request #107885 → lua5_4: add readline support → https://git.io/JL9ox
teto has joined #nixos
Chiliparrot has joined #nixos
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #107879 → pythonPackages.ufonormalizer: 0.5.2 -> 0.5.3 → https://git.io/JLSh0
<{^_^}> [nixpkgs] @jonringer pushed commit from @sternenseemann to master « pythonPackages.ufonormalizer: 0.5.2 -> 0.5.3 »: https://git.io/JL9KY
malook has quit [Quit: malook]
seku has quit [Quit: Connection closed]
gxt has quit [Ping timeout: 240 seconds]
gxt has joined #nixos
mconnolly has joined #nixos
eacameron has joined #nixos
<eacameron> Why is https://github.com/NixOS/nixpkgs-channels/tree/nixpkgs-unstable 3 months old? How often does nixpkgs-unstable get updated??
<immae> eacameron: nixpkgs-channel is deprecated according to the text on the right no?
<immae> > DEPRECATED! This is an obsolete, read-only mirror of the NixOS/nixpkgs repository.
<{^_^}> error: syntax error, unexpected '!', expecting ')', at (string):460:11
orivej has quit [Ping timeout: 265 seconds]
<eacameron> immae: Ohh my! I've been using this repo for years and it must have been deprecated out from under me!
orivej_ has joined #nixos
<Mic92> We have a nixos maintainer party now on mumble: nix-shell -p mumble --run "mumble mumble://$USER@lassul.us/nixos"
ransom has quit [Ping timeout: 272 seconds]
qwerty has quit [Ping timeout: 240 seconds]
ghasshee has joined #nixos
<ghasshee> Hi, could anyone teach me how to compile HaskellPackages ?
<eacameron> ghasshee: Which ones?
padraic has quit [Remote host closed the connection]
<ghasshee> I am learning and writing how Bitcoin SPV wallet works now.
<eacameron> ghasshee: `nix-build -f '<nixpkgs>' -A haskellPackages.vector`
<ghasshee> And secp256k1 cannot be compiled.
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #107887 → hub: Add test, git reference → https://git.io/JL96Q
luxemboye has joined #nixos
<ghasshee> I am on nixos-2003 and I would like to know how to do this on this OS. not on 2009.
<bqv> it can't
<bqv> use 2009
<eacameron> ghasshee: `secp256k1` was deprecated in favor of `secp256k1-haskell` But perhaps it's using it because you're on an old nixpkgs
<simpson> For a moment, I panicked and imagined that you were using a 17-yr-old nixpkgs.
<ghasshee> When I had tried to migrate to 2009 a few month ago , I could not compile sagemath .
<ghasshee> So I decided to stay on 2003 .
<bqv> migrate to 2009, use sagemath from either a newer rev if it works now, or from 2003
Diagon has quit [Quit: Leaving]
<bqv> i don't wanna be unreasonable but you can't expect old releases to be maintained forever
<{^_^}> [nixpkgs] @vbgl opened pull request #107888 → ocamlPackages.lambdaTerm: 2.0.3 → 3.1.0; ocamlPackages.utop: 2.4.3 → 2.6.0 → https://git.io/JL9iT
<bqv> (and secp256k1 doesn't build on 2003 even if you mark it unbroken)
<{^_^}> [nixos-org-configurations] @rbvermaa pushed commit from @edolstra to master « Override macosGuest.network.externalInterface for mac1 »: https://git.io/JL9ik
<pushqrdx> can someone help me with this error i am getting, it seems to be something nix related as i can't find any traces of it anywhere
<pushqrdx> ERROR: C shared or static library 'libgnomekbdui' not found
<pushqrdx> the libgnomekbdui is something different from libgnomekbd for somereason
<pushqrdx> and i can't find it
<ghasshee> bqv: eacameron: simpson: Hmm, thanks. I should migrate if I would not dive into nixos deeply.
<simpson> ghasshee: FWIW we don't arbitrarily mark Haskell packages as broken; usually they are *published* broken, thanks to Haskell's hilariously overly-restrictive package versioning.
<hyper_ch> Mic92: can you check https://github.com/NixOS/nixpkgs/pull/107634 ?
<{^_^}> #107634 (by sjau, 3 days ago, open): util-linux: removing symfollow
<eacameron> simpson: I had the same thought... "Oh you're in for a really fun time..."
<simpson> pushqrdx: It's part of libgnomekbd. Pastebin your derivation?
<bqv> simpson: are you sure? nix-locate doesn't list it
<bqv> or is that not in nixpkgs yet
<simpson> bqv: I have /nix/store/g64qfhi36nzxard28bbkvg2ij1hpxj4c-libgnomekbd-3.26.1/lib/libgnomekbdui.so.8.0.0 here. Perhaps my nixpkgs is fresh/old.
meh` has joined #nixos
<bqv> probably my locate db is stale, yeah
<pushqrdx> simpson it's not a custom derivation, it's just the elementary switchboard keyboard plugin found here
<pushqrdx> i just updated to the latest master revision
<pushqrdx> and in it's meson.build it looks for libgnomekbdui, and fails
philr_ has quit [Ping timeout: 246 seconds]
<simpson> pushqrdx: I just built `pantheon.switchboard-plug-keyboard`, mostly from cache, getting /nix/store/bcqn46dbhc2sky4j3p0sv9v1097rwpnz-switchboard-plug-keyboard-2.4.1
<ghasshee> simpson: Is it easy to use another package manager e.g. cabal on NixOS now ?
<pushqrdx> simpson i am not building the nix version as is, i updated the derivation to the latest master revision
<simpson> ghasshee: It used to be: https://nixos.org/manual/nixpkgs/stable/#haskell It seems that the Haskellers have changed their mind recently though.
erasmas has joined #nixos
<simpson> pushqrdx: Pastebin your changes?
<pushqrdx> simpson http://ix.io/2KdP
<ghasshee> simpson: Woa. Thanks. I did not know that!
<Kozova1> sorry to interrupt, but why no https?
<simpson> pushqrdx: Seems like it's time to rewrite the build patch.
<simpson> Kozova1: ?
<lukegb> presumably on ix.io
<Kozova1> that paste site
<Kozova1> ye
<pushqrdx> simpson what build patch
<simpson> pushqrdx: Do you see how the existing build includes a patch which includes a hunk for src/meson.build?
<pushqrdx> simpson yeah but that hunk didn't include anything related to libgnomekbdui
<simpson> pushqrdx: https://github.com/elementary/switchboard-plug-keyboard/commit/5d2dbf7f3c it looks like they had some sort of intent to find a new library, but didn't add it to the dependencies on Debian either. I think that this is an upstream error.
<simpson> pushqrdx: It's a recent change.
mkaito has quit [Quit: WeeChat 3.0]
<pushqrdx> simpson but where is that new library then, i wonder if it would need to be packaged for nix
<simpson> pushqrdx: /nix/store/g64qfhi36nzxard28bbkvg2ij1hpxj4c-libgnomekbd-3.26.1/lib/libgnomekbdui.so.8.0.0
<pushqrdx> hmmm, yeah it's there, why doesn't meson see it lol
<pushqrdx> and can i make it see where it is
<simpson> Upstream programmers may have been wrong to think that it's separately configured by pkg-config.
<pushqrdx> can i work around that, i will end up opening an issue for this on their repos
<simpson> Yes, sed and patch to victory.
<simpson> pushqrdx: /nix/store/1v7pk36p45sl7wiw77z3mvm53nvv645s-switchboard-plug-keyboard-2.4.1
<simpson> The patch is https://bpa.st/JKRA and the patch for the patch is https://bpa.st/K3HQ
<simpson> I had to figure out that libhandy comes in a v0 and v1 API (we package both), but otherwise it was straightforward. Does this make sense?
<ghasshee> Just chatting, do Haskellers use compcert compiler rather than gcc now ? Recently I often see COQC working in building some dependencies.
<pushqrdx> simpson yeah makes sense, i was just thinking it has to be something more twisted lol
<ghasshee> Is it already main stream to use that compiler ? I have just installed few days ago ..
orivej_ has quit [Ping timeout: 246 seconds]
<pushqrdx> simpson yup seems to have went past that package, thanks :D
<pushqrdx> i am upgrading the whole desktop to latest, and will be keeping it up to date, once they release elementary 6.0 it would be easy to update the nix packages
<{^_^}> [nixpkgs] @cpcloud opened pull request #107890 → nixos/prometheus: update relabel_action list → https://git.io/JL9DI
<simpson> pushqrdx: Have you considered talking to the package maintainers about that?
ransom has joined #nixos
<{^_^}> [nixos-org-configurations] @rbvermaa merged pull request #137 → Removing status.nixos.org (only static html/css/js) → https://git.io/JIqNU
<{^_^}> [nixos-org-configurations] @rbvermaa pushed 7 commits to master: https://git.io/JL9Dn
<{^_^}> [nixos-org-configurations] @rbvermaa pushed 2 commits to master: https://git.io/JL9Dc
<pushqrdx> simpson tbh i forgot, but i will do, i wonder if they're here on irc
<{^_^}> [nixos-org-configurations] @rbvermaa pushed 0 commits to remove-status-nixos-org: https://git.io/JL9DW
<ghasshee> ( .. I have been confused and using ccomp compiler does not seem to call COQC . )
nature has quit [Ping timeout: 256 seconds]
ransom has quit [Ping timeout: 260 seconds]
<ghasshee> ( and I see now that actually `cabal-install secp256k1` is building compcert . )
nature has joined #nixos
c4rc4s has joined #nixos
<pushqrdx> i am pretty sure i saw in some derivation that there's a way to make a buildInput available (as) another name
maddo has joined #nixos
<maddo> \o/
<pushqrdx> so for instance, for some reason a package want wingpanel-2.0, and even though i have a build input of wingpanel, which is > 2.0 it is failing
kapil_ has quit [Ping timeout: 256 seconds]
ransom has joined #nixos
nek0 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107859 → python3Packages.shapely: fix build on darwin → https://git.io/JLSKA
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JL9Dd
<ghasshee> ( Perhaps, I might have said wrong story .. I do not know at which level compcert was compiled. )
oxalica has quit [Remote host closed the connection]
orivej has joined #nixos
<bqv> infinisil: what's your future plan for nixus? do you envision having enough bandwidth to expand it and maybe even give it a flake-native wrapper?
<bqv> cause I'm on the edge of finally starting to use multimods in my config
jmeredith has joined #nixos
KarlJoad has left #nixos ["ERC (IRC client for Emacs 27.1)"]
<infinisil> Well I do have lots of ideas I want to implement eventually, and I expect to get around to those over time. A flake-native wrapper sounds doable relatively easily, and I'd probably do that once I get into flakes
<infinisil> (though I don't feel inclined to start using flakes since they're still experimental)
<bqv> a lot of people still say that, but i think they're pretty solid now and have been for a few months...
<bqv> anyway, cool
<bqv> i might revert my "fork" to a git subtree so i can keep track of your updates
meh` has quit [Ping timeout: 240 seconds]
kapil_ has joined #nixos
<infinisil> Yeah many people seem to use flakes already as well
<bqv> i'm moving onto nix-ipfs as my new experimental venture ;)
<infinisil> Neat
aswanson has joined #nixos
pinkieval has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #107813 → bash-completion: fix build on darwin (#107768) → https://git.io/JLSLm
<{^_^}> [nixpkgs] @jonringer pushed commit from @rb2k to staging « bash-completion: fix build on darwin (#107768) »: https://git.io/JL9yy
sangoma has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107867 → anki-bin: 2.1.36 -> 2.1.38 → https://git.io/JLSHB
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JL9yS
Dr8128 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107883 → amazon-ecs-cli: 1.20.0 -> 1.21.0 → https://git.io/JL9vr
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JL9yH
c4rc4s has quit [Quit: Adios]
c4rc4s has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/bd81a2e1f7f (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
kapil_ has quit [Ping timeout: 240 seconds]
oxalica has joined #nixos
meh` has joined #nixos
pbox has joined #nixos
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @lukegb opened pull request #107891 → prometheus-smokeping-prober: init at 0.3.1 from git → https://git.io/JL9S3
grobi2 has joined #nixos
<nature> woah bqv just read about it, seems like nix + ipfs is a really good match
<{^_^}> [nixpkgs] @wishfort36 opened pull request #107892 → herbe: init at 1.0.0 → https://git.io/JL9SC
meh` has quit [Ping timeout: 264 seconds]
apples_man has joined #nixos
<apples_man> Hey everyone, I need help. I'm a nix noob and have been trying to follow along this post with my macbook: https://justinas.org/nixos-in-the-cloud-step-by-step-part-1
<apples_man> However, issuing a nix-build with the following configuration fails:
<apples_man> { pkgs ? import <nixpkgs> { } }:let config = { imports = [ <nixpkgs/nixos/modules/virtualisation/digital-ocean-image.nix> ];};in(pkgs.nixos config).digitalOceanImage
<bqv> nature: totally. just waiting for the bulk of it to be merged into nix master, but from what i've tested of it so far ( https://github.com/bqv/nixrc/blob/live/profiles/networking/ipfs/default.nix#L75 ) it seems awesome
kapil_ has joined #nixos
<apples_man> It fails with the following message: assertion (stdenv).isLinux failed at [...]
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #107882 → [20.09] palemoon: 28.16.0 -> 28.17.0 → https://git.io/JL9vq
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to release-20.09: https://git.io/JL9SM
<bqv> nature: based on the fact that so many issues with nixpkgs are centered around caching and the nixos hydra, this seems like a real damn smart move because it'll relieve a lot of pressure from hydra. but as always politics will get in the way
<apples_man> Googling the issue seems to show I need to add the `nixpkgs.system.localSystem = "x86_64-linux"` somewhere but I'm not sure how
<apples_man> here's the config
<infinisil> apples_man: Are you on darwin?
<nature> bqv: let's not be defeatist from the start :D you have any resource on how to get started, I just read the ipfs blog post
<infinisil> apples_man: aka macOS?
kapil_ has quit [Read error: Connection reset by peer]
kapil_ has joined #nixos
<bqv> nature: https://github.com/obsidiansystems/ipfs-nix-guide/blob/master/tutorial.md this is pretty comprehensive (and i believe up to date)
codingkoi has joined #nixos
<bqv> the only issue is that updating to this version of nix will irreversibly change your store's schema, but there's the NIX_REMOTE=local trick in that tutorial that mitigates that
<apples_man> infinisil yes I am
<bqv> and i'm actually using it for my server's main store
<bqv> because that store's less critical for me
<infinisil> apples_man: Yeah then you can't build linux stuff
<bqv> and all my systems have ipfs/-cluster running by default anyway
<infinisil> Unless you have a remote builder or so
ece has quit [Ping timeout: 260 seconds]
oxalica has quit [Remote host closed the connection]
<nature> bqv: Thanks!
tgamblin-llnl has joined #nixos
<apples_man> infinisil oh well :(
<apples_man> infinisil thanks anyway
<bqv> nature: oh and, if you want me to build any packages for you over ipfs, i'm happy to :p
Qubasa has quit [Quit: WeeChat 2.9]
<codingkoi> Is there a simple way to add custom .desktop entries? Been looking through docs and nixpkgs but can't find anything obvious.
Qubasa has joined #nixos
<nature> bqv: oh very good to know! :D
<simpson> bqv: You've hit upon one of the problems that's not yet solved, trust; the other issue is speed. IPFS is well-known as not exactly speedy. Does it perform comparably to the community builder's caches for you?
gustavderdrache has joined #nixos
<bqv> simpson: speedwise, hard to test, because i'm the only person i know that's using it as yet. also hard to judge from just a handful of people, because of the nature of ipfs connectivity. the only speed issue is latency however, and nix builds aren't exactly speedy themselves, so with massive parallelism i don't forsee that being an issue
<pushqrdx> worldofpeace did you start fiddling around with the latest Pantheon desktop now that it is getting closer to release?
<bqv> simpson: trust is something Ericson2314 is actively working on, iirc
<bqv> i don't know enough to comment
jb55 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rmcgibbo opened pull request #107893 → python3Packages.numexpr: 2.7.1 -> 2.7.2 → https://git.io/JL99r
jb55 has joined #nixos
<simpson> bqv: You know how I have to take a dodgy answer to a basic yes/no question, right?
<simpson> I do want distributed content-addressed storage. I'm still not sold on IPFS. But it's good that folks are still working on it.
<benny> can someone advise how to proceed here? https://github.com/NixOS/nixpkgs/pull/105815
<{^_^}> #105815 (by stevana, 3 weeks ago, open): graalvm-ce-20.2.0 -> 20.3.0 + darwin support.
<bqv> simpson: w.r.t trust or speed? i can understand apprehension on trust, i don't know how that problem {has been/is being} solved, but i wouldn't reserve interest purely because "it might be slow"
<bqv> especially since it's defined behaviour that ipfs gets faster with adoption, so in a sense by considering that a problem, you're making it more of a problem
<simpson> bqv: The caches are, for most packages, an optional accelerator which trades bandwidth for local CPU time. So I'd say that speed is a primary design concern for caches.
dyazz has joined #nixos
<simpson> Sorry, but I *don't believe* that just based on design choices. I'd need to see metrics.
teto has quit [Ping timeout: 260 seconds]
mconnolly has quit [Quit: WeeChat 2.9]
<simpson> Trust is always hard, and the existing caches have trust issues too, so I can understand that indeed that's a political issue.
<supersandro2000> pbb: Are you around? this patch (https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/qt-5/5.14/qtwebkit-darwin-no-readline.patch) does not apply anymore on darwin because Source/WTF/wtf/PlatformMac.cmake does not exist
<bqv> fair enough :p maybe eric can calm your mind, when he's around
SomeoneSerge has quit [Ping timeout: 256 seconds]
<nature> Also completely different (noob) question, what is the prefered way to handle multiple nixos machine, I had a raspberry pi running nixos and was deploying with nixops, but after updating my laptop to nixos 21.03 and using flakes I was unable to deploy anythin with nixops anymore?
respawn_ has quit [Quit: Leaving]
<bqv> nixops should support flakes fine, maybe someone can help fix it for you
<bqv> alternatives might be deploy-rs, which also has native flake support, or nixus, which is possible to use with flakes
carthia has joined #nixos
<DigitalKiwi> Morph is a thing too but don't know about flakes with it either way
<nature> Okay thanks, yeah won't be able to fix it any
riksteri has quit [Quit: riksteri]
<nature> *any time soon, lost access to the server and need to physically go to the place to fix it
<simpson> bqv: Oh, I'm not looking for mind-calming experiences. IPFS has other design flaws, IMO; https://github.com/ipfs-inactive/faq/issues/47 is a good example of a showstopping set of design choices.
<{^_^}> ipfs-inactive/faq#47 (by jbenet, 5 years ago, closed): Replication on IPFS -- Or, the Backing-Up Content Model
dyazz has quit [Client Quit]
dyazz has joined #nixos
<bqv> simpson: eh. i agree with why that was closed, i use ipfs-cluster, i consider it a reasonable solution
<nature> I was just wondering if I was doing things really wrong and didn't understand enough and messed it up or if there was some instability involved in playing with nixops between different architectures and nixos versions
<{^_^}> [nixpkgs] @JamieMagee opened pull request #107894 → pythonPackages.advantage_air: init at 0.2.1 → https://git.io/JL9Hz
<DigitalKiwi> There's a #nixops channel too that might be useful
schweby has quit [Quit: Das ist möglich, also tun wir es. Später.]
<nature> DigitalKiwi: Thanks I'll drop by once I regain access :)
<{^_^}> [nixpkgs] @cpcloud opened pull request #107895 → nixos/prometheus: add gce_sd_configs scrapeConfig option → https://git.io/JL9H2
<simpson> bqv: Sure. I expect something more like NDN which is more censorship-resistant overall, though; as currently designed, IPFS could be censored by ISP-like middlemen and not just by last-mile services. Folks are not incentivized to try to improve access, but rather to funnel access to a minimal hot set of files, ala AOL.
cole-h has joined #nixos
dyazz has quit [Client Quit]
apples_man has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Lassulus merged pull request #107127 → Fix: nixos-container does not always apply extraVeth ips → https://git.io/JL8lk
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JL9Hr
<bqv> well i definitely like censorship resistance as a model, but i don't see it being all that useful for this purpose, and since IPFS both is actually relatively popular and has expressed interest in helping from their dev side, i do think it's the best choice
codingkoi has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @mmahut opened pull request #107896 → terraform-provider-vercel: init at 2.1.0 → https://git.io/JL9Hd
<bqv> i'd worry about creating vaporware otherwise. with all projects like this (nix, ipfs, all other file networks) adoption and critical mass is important, and the more "rare" you get with your projects, the less you'll get, no? e.g. just mentioning ipfs just now got someone interested, whereas despite actively being interested in these kind of decentralized networks i don't even know what NDN is
grobi2 has quit [Quit: WeeChat 2.9]
grobi has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
<bbigras> anyone tried the new ipfs thing for nix? I'm pushing my stuff to it, and it's taking forever.
<simpson> Aha! We'll have to agree to disagree; I think that being popular is not necessarily worth the sacrifices that must be made. (Also I can't take that argument seriously when Bittorrent exists and is way larger and more bandwidth-efficient already.)
zebrag has joined #nixos
<bqv> believe me i'm the first to make noise about good design choice, but i'm also realistic and terribly jaded with the number of "perfect design" projects that i've seen die out because design isn't all that matters.
<bqv> bbigras: the bottleneck is make-content-addressed (obviously, because nothing is actually being "pushed" over network there)
<bqv> unless you're trying to add a crazy amount of data, in which case it could be disk IO
<bbigras> bqv: what do you mean?
<bqv> your ipfs store is also on your disk, the data's not going anywhere :p
<bbigras> I'm just trying to use it with my nix-config. It took all the evening last night for it.
nDuff has joined #nixos
<bbigras> I updated my flakes today and tried to publish again and it's taking hours again.
<bbigras> You tried it yet?
<bqv> yeah, if it's your entire config then i'm guessing that's several gigabytes, you're doing the analogue of trying to create several gigs of derivations without a cache (because nobody else is using ipfs yet)
<bqv> not gonna answer that last question because you're either being intentionally facetious or you've clearly not been paying attention to the conversation literally happening
<nDuff> Howdy -- I'm trying to port a package from using buildGoPackage to buildGoModule, but the tests are failing -- it smells like the test data included in the source tree can't be accessed by the builder. I could continue to trace through pkgs/development/go-packages/geneci/default.nix... hints on where to start?
<bbigras> okay...
Dr8128 has joined #nixos
carthia has quit [Remote host closed the connection]
carthia has joined #nixos
aither has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @samuelrivas opened pull request #107897 → vassal: 3.3.2 -> 3.14.12 → https://git.io/JL9Q7
aither has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a0f4326687f (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f7568729bc2 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<{^_^}> [nixpkgs] @github-actions[bot] pushed 35 commits to staging-next: https://git.io/JL9Qx
<{^_^}> [nixpkgs] @github-actions[bot] pushed 36 commits to staging: https://git.io/JL9Qp
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #107898 → qt514.qtwebkit: Fix patch applying → https://git.io/JL97f
Darkmatter66 has joined #nixos
shibboleth has joined #nixos
ece has joined #nixos
rb2k has joined #nixos
Lord_of_Life_ has joined #nixos
<rb2k> Anyone got a minute or two for a PR review: https://github.com/NixOS/nixpkgs/pull/107443 . I worked with my colleague on it and I think it's pretty clean by now.
<{^_^}> #107443 (by nima2007, 6 days ago, open): zchunk: 1.1.6-> 1.1.8 & Add darwin support
endformationage has joined #nixos
<rb2k> once that's in I can finally enable zchunk support on the rpm package and do weird stuff :)
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life_ is now known as Lord_of_Life
<{^_^}> [nixpkgs] @JamieMagee opened pull request #107899 → pythonPackages.agent-py: init at 0.0.23 → https://git.io/JL97l
<ghasshee> I am learning and writing how Bitcoin SPV wallet works now.
snajpa has quit [Quit: ZNC 1.7.1 - https://znc.in]
SomeoneSerge has joined #nixos
<{^_^}> [nixpkgs] @prusnak merged pull request #107873 → impl: unstable-2020-11-19 -> 1.0.0 → https://git.io/JLSNl
donofrio has joined #nixos
<{^_^}> [nixpkgs] @prusnak pushed 2 commits to master: https://git.io/JL97R
<ghasshee> sorry, accidentally I sent a message.
oxalica has joined #nixos
snajpa has joined #nixos
<ghasshee> the migration story to IPFS is so interesting, since there might be a lot of tools for trust in decentralized manner like using ENS on web3.
snajpa has quit [Max SendQ exceeded]
<ghasshee> or ethereum contracts directly.
<gchristensen> it might be ambitious to call it a migration to IPFS, support for IPFS is being worked on
davidv7_ has quit [Read error: Connection reset by peer]
davidv7 has joined #nixos
<ghasshee> :D that sounds sense.
o1lo01ol1o has joined #nixos
attila_lendvai has joined #nixos
<bbigras> I'm trying cachipfs since last night, and it doesn't seem very efficient yet. The cache should already have stuff from yesterday and my current publish is still taking hours.
<gchristensen> last I checked (a couple years ago now), it looked like it would be hard to publish to IPFS quickly enough (a few MB/s sustained), and also I remember concerns around how quickly IPFS can issue 404's
samsepiol has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
samsepiol has quit [Client Quit]
<{^_^}> [nixpkgs] @JeffLabonte closed pull request #107130 → lutris 5.7.1 to 5.8.1 → https://git.io/JL8oj
berberman has joined #nixos
<bbigras> the tool seems to copy stuff to ~/.four-shells, then run `ipfs add` to many files, and then annouce them to CachIPFS service. all 3 stages seem slow.
<gchristensen> not sure what four-shells or cacheipfs is :/
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
berberman_ has quit [Ping timeout: 258 seconds]
<gchristensen> gotcha, neat
attila_lendvai has quit [Ping timeout: 260 seconds]
<gchristensen> yeah I like this a lot: Nix itself doesn't need to know about IPFS, since the substituter protocol is really simple and implementable in a separate daemon, this looks great
<bbigras> I if it would help if I ran `4s cachipfs daemon`. Maybe it's taking longer since the tool is not using my cache or something.
<bbigras> I wonder if*
<simpson> The linked docs totally fail for me even with JS enabled, unfortunately; are there static docs?
LilleCarl has quit [Read error: Connection reset by peer]
LilleCarl has joined #nixos
<pushqrdx> before i attempt the least inspired/lazy solution, and for the sake of learning, is there a way to install the newer version of Pantheon desktop (from my derivation) side by side with my current stable version
teto has joined #nixos
donofrio has quit [Ping timeout: 272 seconds]
<colemickens> "4s cachipfs", why is it behind "4s"? Why does the landing page want me to login? what is this taste in my mouth
collares has quit [Quit: Lost terminal]
<bbigras> colemickens: also I wonder what they mean by "open core" on https://4shells.com/docs/source
<colemickens> idk, I'll come back in some months "In order to start using CachIPFS we'll need an account"
<simpson> bbigras: It means that they'll try to make money from the community if their tools ever get popular. At most charitable, it means that they'll expect business users to pay some sort of licensing fee. https://en.wikipedia.org/wiki/Open-core_model
<simpson> pushqrdx: Usually, yes; the only thing nix-env does is try to prevent you from accidentally doing this, but you can create custom environments (say, with nix-shell) to do this.
<simpson> ...But for desktop stuff in particular, maybe that won't work. I don't know anything about Pantheon.
<sphalerite> colemickens: is the taste vaguely reminiscent of the last meal you ate?
<bbigras> simpson: charging money if a bit weird with something like ipfs where people are providing the hosting.
<simpson> Er, by "accidentally doing this" I mean accidentally shadowing one version of a package with another, where they have the same name.
bitmapper has quit [Quit: Connection closed for inactivity]
<bbigras> is a bit*
bdju has quit [Quit: restarting irssi]
bdju has joined #nixos
<pushqrdx> simpson yeah trying to install the desktop using nix-env -if ./default.nix complains about package priority, because obviously it's clashing with my system install
<pushqrdx> i still find the services.desktop-* stuff kinda voodoo tbh
<pushqrdx> how can i add one more to these?
<pushqrdx> or make it use my local one instead
<{^_^}> [nixpkgs] @grahamc merged pull request #107443 → zchunk: 1.1.6-> 1.1.8 & Add darwin support → https://git.io/JL9dE
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/JL9du
<immae> Are there methods to ensure an increasing version number for git sources without tags? (for instance something that calls git describe behind the hoods)
pushqrdx has quit [Remote host closed the connection]
ghasshee has quit [Ping timeout: 260 seconds]
pushqrdx has joined #nixos
pushqrdx has quit [Client Quit]
xelxebar has quit [Ping timeout: 240 seconds]
luxemboye has quit [Ping timeout: 240 seconds]
cantstanya has quit [Ping timeout: 240 seconds]
est31 has quit [Quit: No Ping reply in 180 seconds.]
carthia has quit [Ping timeout: 240 seconds]
jb55 has quit [Ping timeout: 240 seconds]
gxt has quit [Ping timeout: 240 seconds]
oida has quit [Ping timeout: 240 seconds]
est31 has joined #nixos
cantstanya has joined #nixos
nicoo has quit [Ping timeout: 240 seconds]
andreas303 has quit [Ping timeout: 240 seconds]
carthia has joined #nixos
aveltras has joined #nixos
luxemboye has joined #nixos
gxt has joined #nixos
b1nch0[m] has joined #nixos
mconnolly has joined #nixos
kalbasit_ has joined #nixos
kalbasit has quit [Ping timeout: 256 seconds]
<aveltras> Im trying to use node2nix to package a nestjs app but with no success. The build fails with the following error message :
srk has quit [Ping timeout: 240 seconds]
<aveltras> seems the problem arises from having some node dependency trying to install something, is there a way to access the log indicated from the error message ?
madalu has quit [Ping timeout: 240 seconds]
sangoma has quit [Ping timeout: 265 seconds]
bitmapper has joined #nixos
shibboleth has quit [Read error: Connection reset by peer]
srk has joined #nixos
xelxebar has joined #nixos
oida has joined #nixos
schweby has joined #nixos
pushqrdx has joined #nixos
WilliButz has quit [Remote host closed the connection]
jb55 has joined #nixos
madalu has joined #nixos
<pushqrdx> i fucked up lol, i thought if i removed the desktopManager then i'd be able to install my local version of Pantheon using nix-env -if
<pushqrdx> however that didn't quite cut it
<pushqrdx> now i wonder how can i add it properly inside my configuration.nix
<pushqrdx> so that i can use desktopManager.pantheon.enable = true, but use the one i have locally
schweby has quit [Client Quit]
WilliButz has joined #nixos
nicoo has joined #nixos
schweby has joined #nixos
pushqrdx has quit [Client Quit]
pushqrdx has joined #nixos
<colemickens> I don't think that's going to work.
shibboleth has joined #nixos
<pushqrdx> what should i do then
<colemickens> You'd pretty much need to overlay just the pantheon packages, or the panethon module would've need to have been written to support swapping out the package.
<colemickens> imo for a full desktop environment like that, I'd use the version from my nixos channel.
<pushqrdx> i downloaded the whole Pantheon desktop derivation and updated all the packages in it
<pushqrdx> so i want to the easiest most hackish way to shove it in and use it as a dekstopManager
_0x7c_ has joined #nixos
<colemickens> The easiest, most hackiest way would be to overlay your stable channel's pantheon packages so they're replaced by the unstable channel. But that also sounds like it's asking for trouble.
<colemickens> maybe it will go fine though :)
seku has joined #nixos
<pushqrdx> oh i think you got something wrong, i am on nixos-unstable channel
<pushqrdx> what i meant by stable vs my own is that the version inside nixos-unstable of pantheon vs my local one that is upgraded to the latest upstream rev
<_0x7c_> Hi there, is this a support channel for NixOS?
<pushqrdx> which is a big update all the packages are changed, and have new dependencies etc, (for elementary os 6.0)
<energizer> _0x7c_: yes
<colemickens> well, same thing
davidv7 has quit [Remote host closed the connection]
<colemickens> can someone else chime in, when you import a module from a different channel, does it use the packages fro mthe other channel too?
<colemickens> maybe pushqrdx could just disable the pantheon module from nixos-unstable, and then instead use the pantheon module and updated pantheon pacakge from their own fork?
<colemickens> I'm not sure, someone else might need to chime in.
davidv7 has joined #nixos
<_0x7c_> Alright, so I have a question about NixOS: I'm new to NixOS, but I'm wondering if there's a way to compile all the packages from source, including the base packages needed for an install? So a fresh install would be fully from source and future packages as well.
<pushqrdx> colemickens i can't believe there's no way to specify or import default.nix of my local pantheon fork and make it use that, it has a lib.makeScope couldn't that be used in some way
<tpw_rules> _0x7c_: one of the big points of nix is there's no need to do that
<energizer> _0x7c_: all packages are from source (except binary blobs)
<colemickens> pushqrdx: the pantheon module expects to load the pantheon package from its same nixpkgs.
<colemickens> idk what to tell you, other modules have a way to let their package be overridden for this exact reason
dyazz has joined #nixos
<colemickens> the other way of doing so is overlaying the packages like I keep hinting at ;)
kalbasit_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107896 → terraform-provider-vercel: init at 2.1.0 → https://git.io/JL9Hd
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JL9Ng
<pushqrdx> colemickens overlaying all of this will be so goddamn tedious, i just spent more than 5 hours upgrading them lol
<_0x7c_> energizer All the packages are compiled from source on the client then?
<tpw_rules> _0x7c_: you are (barring bugs) guaranteed to get the same result compiling a particular package as is in the downloaded archive. there's no point to compiling if there is a binary available
<colemickens> pushqrdx: The other option is just rebuilding your system from your fork?
<colemickens> pushqrdx: maybe I should've started there...
<pushqrdx> colemickens my fork isn't a fork of the whole nixpkgs repo, it's just the Pantheon module
vsiddharth has joined #nixos
<energizer> _0x7c_: it would be yes except there is a cache you can download from so you don't have to compile it on the client
<energizer> _0x7c_: but the result is the same
<pushqrdx> so what you're saying is that i fork nixpkgs, apply changes there and build from it?>
<colemickens> pushqrdx: yeah, that's the workflow that is going to mirror what most nixpkgs contributors are doing, and what I do when I'm making large changes to nixpkgs, etc.
<_0x7c_> tpw_rules energizer Got it, thanks for the info.
<colemickens> pushqrdx: this kind of touches on the question I was throwing out earlier.
<{^_^}> [nixpkgs] @hamburger1984 closed pull request #104684 → fetch-kde-qt.sh: support current layout of download.kde.org → https://git.io/Jki4D
<colemickens> pushqrdx: it IS possible to pull in external nixos modules, so it might be possible to do what you're asking for, but _I_ don't have experience with it and don't want to tell you the wrong thing.
_0x7c_ has quit [Remote host closed the connection]
<colemickens> pushqrdx: for what it's worth, some (many?) of us carry our own nixpkgs forks. I have enough changes on nixpkgs that are constantly WIP or under review that I have `cmpkgs` which is always 2-30 commits ahead of `nixos-unstable-small`.
codezero has quit [Quit: Ping timeout (120 seconds)]
codezero has joined #nixos
<pushqrdx> yeah i wish someone can help with that, i just wanna plug in my local edited version of the Pantheon desktop and use it, firstly i was even greedy thinking i can somehow run it in parallel
<{^_^}> [nixpkgs] @mdlayher opened pull request #107900 → nixos/corerad: use pkgs.formats.toml to generate TOML configuration → https://git.io/JL9NA
<pushqrdx> where can i find the cached version of nixpkgs that my system uses, so i don't have to clone the whole thing all over again
<colemickens> pushqrdx: not really, both modules are going to configure the exact same-named systemd units, define the same nixos module config options, etc.
<colemickens> there's just no way with the current nixos module systems that they can live side-by-side in a single nixos configuration.
<colemickens> however, you can have multiple nixos configs in a single generation and switch between them, but that's a separate topic ;)
<pushqrdx> colemickens yeah this is what i found out, they simply clash during the build, and it makes sense as they aren't isolated from each other and end up building the same system
kalbasit has joined #nixos
<colemickens> pushqrdx: if you're using flakes, flakes.lock will have recordded the nixpkgs rev you built with. Otherwise you might have a hard time. You can do `readlink -f /run/current-system` and see if there's a piece of git commit rev in the version suffix at the end.
_julian_ has joined #nixos
<pushqrdx> what should be doable though is without fiddling with nixpkgs, just maybe import? ./default.nix of the local Pantheon folder i have
<colemickens> what's that going to do though?
<colemickens> If the default.nix is the default.nix that came from a nixos module, just importing it like that is just going to leave you with a nix expression.
<colemickens> And I think you found out what happens if you try to add it to imports = [].
<colemickens> Best case, you can try that AFTER disabling the built in one.
<pushqrdx> ok let's take a step back, where does nix discover that desktopManager.pantheon is a thing?
<pushqrdx> is just based on that it's located under the desktops folder?
<colemickens> this part of the manual might be useful: https://nixos.org/manual/nixos/stable/index.html#sec-replace-modules
_julian_ has quit [Quit: Leaving]
<colemickens> you can try disabling the builtin pantheon and then try to get it to load in your module.
<colemickens> pushqrdx: Uh, basically it's listed explicitly in a modules-list.nix somewhere that gets pulled in during your system evaluation.
_julian_ has joined #nixos
<colemickens> pushqrdx: during eval all nixos modules are loaded in so that their options are "available" in a sense. (ignore my handwaving over technical bits /terminology)
<pushqrdx> can i override that modules-list? if so this might actually be where i can even plug in new stuff
<pushqrdx> or new desktops
<colemickens> yeah, look at that section of the manual, the postgres example is similar to what you're trying to do.
<pushqrdx> ok i have to reboot into a working generation because i am in a broken tty now :D
grobi has quit [Ping timeout: 272 seconds]
<colemickens> So the other thing is, when you put the NEW module into imports... it's still going to wind up getting the wrong "pkgs" fed into it.
<colemickens> but then again, I don't actually know what your new little directory structure looks like. Maybe you directly reference your new derivations, so it's not a problem?
<colemickens> Might help to advise more if I can see the dir that has the default.nix that you mentioned.
<pushqrdx> ops, yeah this is pretty much what would happen since default.nix (from pantheon module) imports pkgs, so it will end up getting pkgs from the nixos-unstable channel inseaf of the local ones
<colemickens> yeah...
codingkoi has joined #nixos
<pushqrdx> colemickens it is exactly the same structure as the Pantheon module from nixpkgs under desktops
<pushqrdx> just with updated dependencies and revisions
<pushqrdx> to make them compile
<pushqrdx> with a default.nix at the root that has a lib.makeScope pkgs.newScope (self: with self; { ...
evernite has joined #nixos
<colemickens> idk what that stuff does tbh, never used it.
<pushqrdx> and basically lists all the submodules it has with callPackage
kalbasit has quit [Ping timeout: 240 seconds]
kalbasit has joined #nixos
<pushqrdx> yeah.. feels like too much voodoo for me too, but if i end up figuring it out it will light up so many dark corners for me
<colemickens> okay, I got sucked in and need to run, but I think you got some useful bits, maybe... selfishly, I hope you end up just rebasing your changes on nixos-unstable and then rebuild from that, and then send all your changes upstream :) we shall turn you into a nixpkgs contributor yet.
<colemickens> good luck pushqrdx sorry to leave you now
<pushqrdx> colemickens nah, very glad for your time
<{^_^}> [nixpkgs] @0x4A6F opened pull request #107901 → promscale: 0.1.3 -> 0.1.4 → https://git.io/JL9A9
pushqrdx has quit [Read error: Connection reset by peer]
h0m1 has quit [Quit: WeeChat 3.0]
_julian_ has left #nixos ["Leaving"]
h0m1 has joined #nixos
peelz has joined #nixos
andreas303 has joined #nixos
<vsiddharth> Does anyone know how to enable pam authentication for swaylock from home-manager's sway
<vsiddharth> Or is this something that needs to be done at a system level
<Ericson2314> simpson: there's no silver bullet for trust, but content-addressed derivations give us the ability for caches to make narrow unchecked claims
sangoma has joined #nixos
<Ericson2314> which makes auditing less expensive and error prone
<Ericson2314> the benefits work with or without something like IPFS
<Ericson2314> but certainly the conjunction is nice
hnOsmium0001 has joined #nixos
neiluj has joined #nixos
neiluj has joined #nixos
bn_work has joined #nixos
kalbasit_ has joined #nixos
<sephi[m]> I’m currently writing a derivation for a website (not a static one, one with Python and webpack stuff), and I was thinking about how a website is different than a normal package in the sense that you could have multiple instances of a website installed (eg. to have a staging instance, prod, etc). For example I’d like to have a binary that would allow me to run "management commands" on my website (similar to invoking
<sephi[m]> `./manage.py` if you know Django), but having only one command to do that would only work with a single instance of the website.
<sephi[m]> I know I could use something like NixOS containers or Docker to have each website isolated, but I was wondering if there are already best practices or examples on how to solve this problem?
kalbasit has quit [Ping timeout: 240 seconds]
codingkoi has quit [Quit: WeeChat 2.9]
<tpw_rules> could you not just run each website from its own nix-shell?
<tpw_rules> or maybe call all your binaries "${pname}_manage" etc?
<simpson> Ericson2314: I figured that trust would be somewhat orthogonal to content-addressing, yeah. My main concern is that IPFS has issues where third parties get included into the trust model and there's suddenly a real chance of Sybil supply-chain attacks which wasn't there before.
<Ericson2314> simpson: I don't think so?
<Ericson2314> all the data we get is content addressed
<Ericson2314> and the root content address being out of band
* colemickens doesn't get it either
<Ericson2314> or signed with IPNS
<{^_^}> [nixpkgs] @ajs124 opened pull request #107902 → tzdata: 2020c -> 2020f → https://git.io/JL9xo
<sephi[m]> <tpw_rules "or maybe call all your binaries "> `pname` would be different when deploying two different websites, but let’s say I need two instances of the same website (& same version)
<peelz> vsiddharth: I'm not sure what you mean by "enable PAM authentication". If you look at sway/lock.nix, you'll see that it gets compiled with `-Dpam=enabled`.
<energizer> https://nixos.wiki/wiki/Yubikey allows using yubikey for sudo. but it automatically authorizes sudo when yubikey is present, it doesn't require touch. can i make it require touch?
<Ericson2314> there isn't the "chain with max length" type stuff with blockchains that are more amendable to sibyl attacks
sangoma has quit [Quit: WeeChat 2.9]
neiluj has quit [Remote host closed the connection]
<tpw_rules> sephi[m]: then wouldn't those be the same store path?
neiluj has joined #nixos
neiluj has joined #nixos
neiluj has quit [Changing host]
<tpw_rules> sephi[m]: like it would be all the same binaries you just point them at a different config file. in which case you would have to point the manage command to the config file of the instance you want to modify
<sephi[m]> tpw_rules: yes, they would (but not always, if for example the "staging" instance is a new version of the website). The only difference, I guess, would be different environment variables.
<vsiddharth> peelz: I had this problem that whenever I lock my computer I couldn't open it, even with the right password. I searched it up and it had something to do with PAM as swaylock couldn't access unix_chkpwd
<vsiddharth> It might just be that I'm installing sway through home-manager
<simpson> Ericson2314: DoS is a concern for decentralized networks, since the responsibility to maintain data availability is diffused. IPFS compounds this by making it possible for a region to locally deny service, e.g. for an unfree source package to be removed from nodes by legal threats.
<simpson> 100% agreed with you that integrity isn't a problem.
<Ericson2314> Yeah for DoS I say treat IPFS as more of a CDN that's just that to make the happy path happier
belt has joined #nixos
<Ericson2314> for the sad path, well at least you can pay multiple independent pinning services and they are interoperable
<Ericson2314> clients can get around issues with the routing table by manually connecting to a node with a well known "real world" address
<Ericson2314> that sad path is hardly seamless mirroring, but the interoperability is still nice
<{^_^}> [nixpkgs] @rmcgibbo opened pull request #107903 → Unbreak assorted python3 packages → https://git.io/JL9pt
<peelz> vsiddharth: looks like swaylock has a PAM config file https://github.com/swaywm/swaylock/blob/master/pam/swaylock -- you might need to add an entry for swaylock in security.pam.services
<{^_^}> [nixpkgs] @ajs124 opened pull request #107904 → texstudio: 3.0.1 -> 3.0.3 → https://git.io/JL9p3
<peelz> s/config file/module/
<vsiddharth> peelz: thank you!
<peelz> np
neiluj has quit [Ping timeout: 256 seconds]
<vsiddharth> Oh I'm dumb
<peelz> I didn't catch that either :P
neiluj has joined #nixos
neiluj has joined #nixos
neiluj has quit [Changing host]
veleiro` has joined #nixos
<{^_^}> [docker] @prusnak opened pull request #30 → update to Nix 2.3.10 → https://git.io/JL9p6
vsiddhar` has joined #nixos
vsiddharth has quit [Ping timeout: 260 seconds]
KarlJoad has joined #nixos
grobi has joined #nixos
<KarlJoad> Is anyone here using an nvidia GPU with the proprietary nvidia kernel module? I'm having trouble diagnosing a GPU issue.
<dyazz> I do, what is the problem ?
<KarlJoad> It seems that X can't find the nvidia_drv.so file when loading.
<KarlJoad> I've already checked, and the GPU _is_ using the nvidia driver (checked journalctl and lspci). It's X that's having a problem.
<peelz> and you're using `services.xserver.videoDrivers = [ "nvidia" ]` ?
<dyazz> Are you using optimus ?
<KarlJoad> I am using `services.xserver.videoDrivers = [ "nouveau" "nvidia" ]`. dyazz: These are dGPUs in my desktop, so no optioptimus.
<dyazz> huh
<dyazz> you should not using nouveau and nvidia
<peelz> nouveau and nvidia?
<peelz> yeah was gonna say
<peelz> it's usually one or the other
<dyazz> if you want to go with the proprietary driver, delete nouveau
<{^_^}> [docker] @peti merged pull request #30 → update to Nix 2.3.10 → https://git.io/JL9p6
<{^_^}> [docker] @peti pushed 2 commits to master: https://git.io/JL9hZ
est31 has quit [Ping timeout: 240 seconds]
est31 has joined #nixos
<KarlJoad> After removing nouveau, and trying to start X, it still won't load. This time, X can't even find libglx.so
<dyazz> Can you upload your configuration.nix somewhere ?
<KarlJoad> dyazz: I can upload the relevant changes I made. The majority of the config is already on GitHub though.
vsiddhar` has quit [Ping timeout: 260 seconds]
veleiro` has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #107906 → python3.pkgs.wordcloud: 1.6.0 -> 1.8.1 → https://git.io/JL9h9
nikivi has quit [Read error: Connection reset by peer]
dstzd has quit [Read error: Connection reset by peer]
Nikita has joined #nixos
dstzd_ has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #107907 → ocamlPackages.dns*: add missing related packages → https://git.io/JL9h7
Nikita is now known as Guest48324
Guest48324 is now known as nikivi
dstzd_ is now known as dstzd
neiluj has quit [Ping timeout: 264 seconds]
neiluj has joined #nixos
<dyazz> Hmm, does it work better if you disable opengl ?
<peelz> KarlJoad: looks like you're hardcoding an impure path to the nvidia driver on line 71. Even if that's not the problem right now, it will eventually break when the nvidia driver derivation changes.
<KarlJoad> peelz: I know that. I was testing a theory I had, which was wrong. I will eventually remove it.
<KarlJoad> dyazz: Testing now.
neiluj has quit [Changing host]
neiluj has joined #nixos
<{^_^}> [nixpkgs] @doronbehar merged pull request #106740 → mailspring: Disable trackerSupport for it's gtk3 → https://git.io/JIimo
<{^_^}> [nixpkgs] @doronbehar pushed 2 commits to master: https://git.io/JL9hN
<aveltras> can anyone point me to examples of nodejs packages packages as nixos modules i could get inspiration from ?
robmyers has quit [Ping timeout: 260 seconds]
acertain has quit [Ping timeout: 246 seconds]
lvrp16 has quit [Ping timeout: 260 seconds]
gluegadget has quit [Ping timeout: 264 seconds]
scoates has quit [Read error: Connection reset by peer]
dmj` has quit [Ping timeout: 272 seconds]
hamishmack has quit [Ping timeout: 246 seconds]
steveeJ has quit [Ping timeout: 258 seconds]
<KarlJoad> dyazz: That didn't change anything. The xserver.conf file wasn't rewritten either.
davidtwco has quit [Read error: Connection reset by peer]
davidtwco_ has joined #nixos
SanchayanMaity has quit [Ping timeout: 272 seconds]
gluegadget has joined #nixos
scoates has joined #nixos
steveeJ has joined #nixos
<dyazz> Sorry, i'm out of ideas
acertain has joined #nixos
hamishmack has joined #nixos
raboof has quit [Ping timeout: 260 seconds]
<peelz> KarlJoad: did you check how the xorg config gets generated in nixos/modules/services/x11/xserver.nix? It looks like you might be missing ModulePath directives at the top.
robmyers has joined #nixos
h0m1 has quit [Quit: WeeChat 3.0]
dmj` has joined #nixos
<KarlJoad> peelz: In the generated xserver.conf file that is used, there are a bunch of FontPath and ModulePath directives listed, which *includes* the X/nvidia nvidia_drv.so path.
h0m1 has joined #nixos
raboof has joined #nixos
SanchayanMaity has joined #nixos
<KarlJoad> peelz: I was testing a theory that perhaps the wrong path was being specified, which is why I hardcoded that impure path.
lvrp16 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #107909 → Fix nixUnstable cross compilation → https://git.io/JL9js
<peelz> KarlJoad: yeah I get that, but it looks like you're missing a bunch of other ModulePath directives. This is how the generated config looks like on my machine: https://0x0.st/-rLZ.txt
<peelz> can you try w/o overriding `services.xserver.config`?
mconnolly has quit [Quit: WeeChat 2.9]
<KarlJoad> peelz: Those paths *are* present in my xserver.conf file already.
<{^_^}> [nixpkgs] @nagy opened pull request #107910 → sqlitebrowser: 3.12.0 -> 3.12.1 → https://git.io/JL9j0
<peelz> are they?
donofrio has joined #nixos
<KarlJoad> Yes. I just opened the xserver.conf file that X tried to load, and those are present at the top. The exact same ordering as yours (different hashes though).
<peelz> Ah gotcha. I was under the impression services.xserver.config would override the entire thing.
<KarlJoad> I was too, but apparently now.
<{^_^}> [nixpkgs] @lukegb opened pull request #107911 → grafana: 7.3.5 -> 7.3.6 → https://git.io/JL9jK
<KarlJoad> s/now/not
neiluj has quit [Ping timeout: 256 seconds]
neiluj has joined #nixos
mconnolly has joined #nixos
<peelz> KarlJoad: hmm the only thing I can see is maybe Xorg doesn't like having two "Files" sections?
<peelz> I'm guessing you've already tried without your files section
h0m1 has quit [Quit: WeeChat 3.0]
donofrio has quit [Ping timeout: 264 seconds]
<peelz> If you delete your "Files" section, does the error change?
michiel__ has joined #nixos
h0m1 has joined #nixos
<bqv> anyone around that would know, is it possible to hide a value from a scope in nix?
<KarlJoad> peelz: I did try without the "Files" section at first, but not without nouveau. I'll try that real quick.
grobi has quit [Read error: Connection reset by peer]
<KarlJoad> peelz: That seems to have done something. TTY7 is now a different screen, and the X logs indicate everything is working. I need to do a full reboot to find out.
<peelz> nice!
grobi has joined #nixos
KarlJoad has quit [Quit: ERC (IRC client for Emacs 27.1)]
<peelz> fingers crossed
neiluj has quit [Ping timeout: 264 seconds]
<peelz> bqv: wdym?
<bqv> reverse of with/let
<peelz> oof don't think that's possible unfortunately
<bqv> thought not but wanted to be sure
KarlJoad has joined #nixos
<{^_^}> [nixpkgs] @fabaff opened pull request #107912 → aiodnsbrute: init at 0.3.2 → https://git.io/JLHeC
<peelz> it kinda annoys me that the xserver.nix generates a "Device" section for each driver. What about multiple GPUs using the same driver? >_>
<peelz> also it doesn't let you specify directives on a per-device basis. It's either the extra directives end up on all "Device" sections or none.
<KarlJoad> peelz: That was my issue too, so I have to force my config the way I have.
<{^_^}> [nixpkgs] @syberant opened pull request #107913 → gitoxide: 0.4.3 -> 0.6.0 → https://git.io/JLHe0
<peelz> yeah... xserver.nix could use some work :P
<{^_^}> [nixpkgs] @sternenseemann opened pull request #107914 → ocamlPackages.mirage: fix build by adding missing deps → https://git.io/JLHeE
<KarlJoad> peelz: So, there was progress. I get through everything just fine, until the very last part of the graphical phase.
<KarlJoad> After Name Service Cache Daemon loads, I get nothing after that. The cursor just sits right after that.
neiluj has joined #nixos
lordcirth__ has quit [Ping timeout: 260 seconds]
<peelz> KarlJoad: doesn't look like you have a valid xsession. Have you enabled a DE?
leo60228 has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
<KarlJoad> peelz: Yes. services.xserver.desktopManager.plasma5.enable = true is in a separate file.
<KarlJoad> I also have the lightdm display manager enabled.
pushqrdx has joined #nixos
<peelz> KarlJoad: what do you see if you run `nix repl '<nixpkgs/nixos>'` and type `:p config.services.xserver.displayManager.session` ?
halfbit has quit [Ping timeout: 265 seconds]
meh` has joined #nixos
lordcirth has joined #nixos
o1lo01ol1o has joined #nixos
<KarlJoad> peelz: A very long list of attribute sets. `[ { manager = "window"; name = "none"; start = "" } ... ]`
<worldofpeace> pushqrdx: I'm currently running an unstable gala and have been tracking the changes closely.
<worldofpeace> there's a bit of new software to be packaged for Pantheon, also. They changed a lot so I'll have to audit it very closely since there's very subtle things that could be broken
shibboleth has quit [Quit: shibboleth]
<ronny> hi, anyone aware of a howto for writing tests for nixos modules i want to step up my game for my multi machine nix specs
<peelz> KarlJoad: can you upload the result of the command somewhere?
<bbigras> Ronny: there's examples in nixos/tests if you didn't see them already
<sss2> hi all, services.xserver.displayManager.sddm.settings not in documentation on search.nixos.org yet ....
<pushqrdx> worldofpeace i have been trying really hard for the past day to port the pantheon module to the latest upstream, i got all packages to build using nix-build, (minus few hiccups with elementary files package) but i am having some real trouble installing it
<peelz> KarlJoad: each entry in that list corresponds to an xsession .desktop file that LightDM uses to enumerate potential DEs/WMs. You should see one for plasma5
grobi has quit [Quit: WeeChat 2.9]
neiluj has quit [Quit: leaving]
<pushqrdx> worldofpeace what do you do in order to port the newest stuff without breaking your existing desktop?, i just now failed after attempting a hack to shove in my local pantheon module after disabling the main one but it didn't work (it installed but most of the packages bleeded from the original ones)
<bbigras> Ronny: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/gitolite-fcgiwrap.nix is pretty simple. so simple it might not even require 2 nodes.
<{^_^}> [nixpkgs] @MetaDark opened pull request #107916 → wineStaging: fix mingwSupport → https://git.io/JLHvH
<ronny> oO - taking a look at https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/enlightenment.nix is pytest subtests being used or something else
o1lo01ol1o has quit [Remote host closed the connection]
<KarlJoad> peelz: I have no easy way to upload this computer's version of config.services.xserver.desktopManager.session, unless you know a way to write the output of a `nix repl` to a file/stdout.
<bbigras> Ronny: oh nice. I never ran tests with X.
<peelz> KarlJoad: oh right lol -- try this: echo ":p config.services.xserver.desktopManager.session"|nix repl '<nixpkgs/nixos>'|curl -F'file=@-' https://0x0.st
nature has quit [Ping timeout: 256 seconds]
veleiro` has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JLHfq
<ronny> ah, no, its a own scripting tool
ransom has joined #nixos
<ronny> hmm, i wonder how hard a pytest driver would be
Thra11 has quit [Ping timeout: 265 seconds]
<KarlJoad> peelz: https://0x0.st/-rLO.txt
<immae> Hey! I’m trying to build a collection of flakes, but it seems like there is no way to have a single repository with a bunch of flakes (with inter-dependencies), in the sense that I cannot target a subdirectory of a git repository in the "inputs". That would mean that I need to provide a single git repository for each of my flakes? Did I miss something in the documentations?
orivej has quit [Ping timeout: 258 seconds]
<worldofpeace> pushqrdx: building a vm
<worldofpeace> pushqrdx: you actually can start nixos test interactively
<worldofpeace> pushqrdx: nix-build nixos/tests/pantheon.nix -A driver
<worldofpeace> pushqrdx: ./result/bin/run-nixos-vm -- the password for the alice user is foobar
<KarlJoad> peelz: That's actually a super cool way to do these code uploads, especially when I don't have graphical going.
<peelz> KarlJoad: when you get to the part where your cursor shows up, can you switch to a TTY and check what processes are running under your user?
<pushqrdx> worldofpeace hmm where is nixos/tests? or did you mean that as an example to where my local version of the Pantheon module is located?
<peelz> KarlJoad: and yeah it is. I love 0x0.st :D
<{^_^}> [nixpkgs] @peterhoeg merged pull request #107795 → [20.09] displaylink: manually activate dlm.service → https://git.io/JLyHm
<{^_^}> [nixpkgs] @peterhoeg pushed commit from @flokli to release-20.09 « displaylink: manually activate dlm.service »: https://git.io/JLHfX
<{^_^}> [nixpkgs] @wishfort36 opened pull request #107917 → tiramisu: init at 1.0 → https://git.io/JLHfD
<KarlJoad> peelz: https://0x0.st/-rLv.txt (I am the karl user).
<peelz> KarlJoad: looks like LightDM isn't dropping you into the intended xsession
<worldofpeace> pushqrdx: Thank you for porting to the newest, but I would mention that doing this when there's an active maintainer isn't best courtesy. For example, and thanks for asking in that case, you could've duplicated their work (and in a minor way you have). A good idea would be to then open an issue with a link to your branch on GitHub, and I will try to integrate that into my work and open a PR. That way people can see the
<worldofpeace> issue and not do the same thing. We do similarly with GNOME. -- nixos/tests is within the nixpkgs tree.
<KarlJoad> peelz: Agreed. lightdm isn't even showing up with I do `ps aux`
<peelz> KarlJoad: have you restarted?
<KarlJoad> peelz: After the nvidia switch? Yes. But, I can restart again. Give me a second.
KarlJoad has quit [Quit: ERC (IRC client for Emacs 27.1)]
<pushqrdx> worldofpeace i never was going to port and submit this without asking you, so i am really sorry if it felt like i am over stepping
<pushqrdx> worldofpeace i am just doing this because i want to try the latest changes
<worldofpeace> pushqrdx: Ah no, I just thought I should mention this. Actually, I'm on vacation so this actually is for everyone's benefit 😸 Thanks, this would save all of us a lot of time, truly
KarlJoad has joined #nixos
<{^_^}> [nixpkgs] @MetaDark opened pull request #107918 → gcc10: use gcc 9 patch of mcfgthread.patch to fix MinGW build → https://git.io/JLHJe
<KarlJoad> peelz: I did get a small flash for a second, but then back to the journalctl print-out again.
<worldofpeace> I'm not sure all the latest changes will work smoothly if they've integrated using their own settings-daemon
<peelz> KarlJoad: flash? journalctl print-out?
<pushqrdx> worldofpeace this is why i am eager to test out whether it even works
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f7568729bc2 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<pushqrdx> worldofpeace still though i am having trouble replacing the original one with my local copy :D
<KarlJoad> peelz: Yes. There was a small gray flash, as if lightdm were about to start, then it didn't. It then jumped back to the list of starting services, stopping at "Starting Name Service Cache Daemon".
<peelz> KarlJoad: have you enabled a greeter?
<worldofpeace> pushqrdx: it doesn't seem odin is tagged to have the settings-daemon
<pushqrdx> worldofpeace the situation i am in now is that i have a copy of the module https://github.com/NixOS/nixpkgs/tree/e7fe577d9803885d1191c6612b95c246cb605dde/pkgs/desktops/pantheon locally that is upgraded with upstream
<KarlJoad> peelz: greeter? No...
<peelz> KarlJoad: I think lightdm.greeters.gtk should be enabled by default though... so I'm not sure
Thra11 has joined #nixos
<worldofpeace> pushqrdx: so you mean you've copy pasted the module into your own configuration, or did you operate on like a nixpkgs checkout?
<pushqrdx> worldofpeace yeah i think the port will be smooth at least for odin
<pushqrdx> worldofpeace no i don't have a nixpkgs checkout, i just have a copy of the module locally that i upgraded (didn't wanna checkout the whoe nixpkgs)
<KarlJoad> peelz: Yeah, that one's `.enable` option defaults to true (I just checked the manual).
<pushqrdx> and can build by using nix-build ./default.nix and install using nix-env -if ./default.nix
<worldofpeace> pushqrdx: oh, I see you linked nixpkgs pkgs/desktop/pantheon. that's the pkgs tree. So I'd think you'd have to use an overlay to replace the packages in nixpkgs with your one's
<{^_^}> [nixpkgs] @prusnak merged pull request #107910 → sqlitebrowser: 3.12.0 -> 3.12.1 → https://git.io/JL9j0
<{^_^}> [nixpkgs] @prusnak pushed 2 commits to master: https://git.io/JLHJ2
<worldofpeace> I think I can give an example, the syntax is a bit annoying
<{^_^}> [nixpkgs] @WilliButz merged pull request #107911 → grafana: 7.3.5 -> 7.3.6 → https://git.io/JL9jK
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/JLHJo
<{^_^}> [nixpkgs] @peterhoeg opened pull request #107919 → libquotient: 0.6.2 -> 0.6.3 → https://git.io/JLHJK
<pushqrdx> worldofpeace yeah exactly, i keep trying to find a shorter way though, i want to somehow have copy x11/desktop-managers/pantheon.nix and shove it in and make my configuration.nix services.desktopmanagers use that that in turn uses my local version instead
<pushqrdx> i tried to do this btw, and i painfully changed all the packages to callPackage but it ended up flopping :LD
<worldofpeace> pushqrdx: yeah, using an overlay will simply one to one replace the attributes with your versions, meaning you can just use the module in nixpkgs
<peelz> KarlJoad: can you check what `systemctl status display-manager` says?
<pushqrdx> worldofpeace welp, can i trouble you for an example then :D
__monty__ has quit [Quit: leaving]
<KarlJoad> peelz: It says "Failed to start X11 server". Checking /var/log/X.0.log, I see nothing out of the ordinary. I'll send a link for that in a sec.
<KarlJoad> peelz: https://0x0.st/-rLk.json (It's not JSON, it's the X log file.)
<{^_^}> [nixpkgs] @prusnak merged pull request #107579 → xkb-switch-i3: init at 1.8.1 → https://git.io/JL1MZ
<{^_^}> [nixpkgs] @prusnak pushed 3 commits to master: https://git.io/JLHJp
<peelz> interesting that it recognized it as json lol
<worldofpeace> pushqrdx: so I think it's like this https://gist.github.com/f7de9b0afc895bf77fc17430d54b91ba
<worldofpeace> I just copied pkgs/---/pantheon/default.nix into it and replaced the callPackage call with the one from the overrideScope'
<pushqrdx> worldofpeace alright this makes sense, where do i plugin this?
<{^_^}> [nixpkgs] @prusnak merged pull request #107536 → python3Packages.jsonfield: init at 3.1.0 → https://git.io/JLXAe
<{^_^}> [nixpkgs] @prusnak pushed 2 commits to master: https://git.io/JLHUJ
<peelz> KarlJoad: looks like that's an old log file, according to the timestamp at the beginning (Mon Dec 21 12:27:07)
<{^_^}> [nixpkgs] @nagy opened pull request #107920 → lua5_3: 5.3.5 -> 5.3.6 → https://git.io/JLHUU
<worldofpeace> so if that file is in a directory that is the same structure as what's in nixpkgs, since you copied that, I'd remove the `default.nix` in that directory and replace it with this. And then you need to load the overlay into your configuration
<peelz> KarlJoad: I feel like Xorg is failing to run much earlier on
<KarlJoad> peelz: Probably. I'll try to find the correct log file.
<peelz> I don't think it's creating a log file though
<{^_^}> [nixpkgs] @prusnak merged pull request #101227 → mathematica: use opencv4 → https://git.io/JT05z
<{^_^}> [nixpkgs] @prusnak pushed 2 commits to master: https://git.io/JLHUI
<pushqrdx> worldofpeace never fiddle with that before, was it nixpkgs.overlays = [ "path/to/the-one.nix" ]; ?
<pushqrdx> or just add this in imports?
<pushqrdx> i mean fiddled with system overlays
<worldofpeace> like this `nixpkgs.overlays = [ (import ./overlays/pantheon) ];`
<peelz> KarlJoad: check what xserver-command and session-wrapper are set to in /etc/lightdm.conf ?
fendor_ has quit [Remote host closed the connection]
<worldofpeace> not going speak on how I can't find a helpful section on this in the nixos manual... (and the nixpkgs manual is a purely technical reference)
erasmas has quit [Quit: leaving]
lordcirth has quit [Remote host closed the connection]
<peelz> KarlJoad: see if you can execute the xserver-command manually (or if any errors show up)
lordcirth has joined #nixos
<pushqrdx> why is it complaining about gnome3 missing lol
<peelz> KarlJoad: I think the wrapper script expects some args from lightdm though. Perhaps `/path/to/xserver-wrapper :0` or something like that?
<peelz> KarlJoad: those errors should show up in journalctl though
<{^_^}> [nixpkgs] @fabaff opened pull request #107921 → evillimiter: init at 1.5.0 → https://git.io/JLHU6
<KarlJoad> peelz: So, running the command given for xserver-command `sudo /nix/store/hash-xserver-wrapper` did something.
justanotheruser has quit [Ping timeout: 264 seconds]
<peelz> is X running?
<{^_^}> [nixpkgs] @peterhoeg merged pull request #107919 → libquotient: 0.6.2 -> 0.6.3 → https://git.io/JLHJK
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/JLHUP
<{^_^}> [nixpkgs] @sternenseemann opened pull request #107922 → ocamlPackages.tcpip: init at 6.0.0 (plus init required dependencies. → https://git.io/JLHUM
<KarlJoad> peelz: It's running under root, yes. `-logfile /var/log/X.0.log` (so what I sent you was correct).
<KarlJoad> peelz: I get further now. Both monitors light up, but nothing beyond that.
Acou_Bas- has joined #nixos
<peelz> KarlJoad: what you sent me was an older log file (unless your system clock is desynced)
Acou_Bass has quit [Ping timeout: 258 seconds]
<peelz> KarlJoad: what if you run `DISPLAY=:0 xterm`? (replace xterm with whatever graphical program)
<pushqrdx> worldofpeace i don't know why i am really struggling with passing gnome3 into that overlay :D
h0m1 has quit [Quit: WeeChat 3.0]
h0m1 has joined #nixos
<KarlJoad> peelz: Even after starting the server manually using xserver-command, that log file's date remains the same. There was another `-logfile /dev/null` in the wrapped command.
<worldofpeace> pushqrdx: you mean pantheon probably. I didn't test it so I don't know if it works exactly, but I'm pretty certain that is the way to do it. If you have any issues feel free to gist it or something
<KarlJoad> peelz: I tried the `DISPLAY` thing, and it segfaulted, and made the X server go down.
<peelz> KarlJoad: interesting. what program?
<pushqrdx> worldofpeace no not pantheon, i mean gnome3 there're multiple inherit (gnome3) in the-one.nix
<pushqrdx> but apparently it can't find gnome3
<worldofpeace> that's because the overlay doesn't have the arg gnome3
<KarlJoad> peelz: xterm.
<worldofpeace> you should replace those with prev.gnome3, and actually that should go to anything that uses the previous package set
<peelz> KarlJoad: how are you running the xserver wrapper?
<peelz> Try passing it :0 as an arg
<worldofpeace> but not callPackage, I already replaced that in the example as `final`
<worldofpeace> here's the documentation on that https://nixos.org/manual/nixpkgs/stable/#sec-overlays-definition
<KarlJoad> peelz: I just tried passing :0 as an arg, and X said "Server is already active for display 0". I guess it assumes :0 by default.
<{^_^}> [nixpkgs] @mjlbach opened pull request #107923 → Add mjlbach maintainer → https://git.io/JLHTn
<peelz> KarlJoad: yeah that's what I just saw in the wrapper script... uhh kill the old X instance, delete /var/log/X.0.log then try again?
<worldofpeace> hmm, it seems my example has the new syntax that's enforced in unstable nix. pushqrdx self: super: can actually be called anything, they're just the arguments the function takes
fuzzypixelz has joined #nixos
<worldofpeace> so it shouldn't be an issue, an final prev makes more sense anyways
<pushqrdx> worldofpeace yeah i did try prev.gnome3 but i forgot to replace one of them lol :D
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JLHTR
<{^_^}> [nixpkgs] @matthewbauer opened pull request #107924 → Fix duti on macOS Big Sur → https://git.io/JLHT0
<pushqrdx> worldofpeace did you face that chicken or the egg problem with wingpanel before, it seems like they are requiring wingpanel-2.0 in meson.build files
<pushqrdx> and even though i am passing in wingpanel which is > 2.0 meson now complains again (even though i fixed it and it builds with nix-build)
<peelz> KarlJoad: see if the logfile gets created again
<fuzzypixelz> hello, today I enabled KDE/disabled GNOME, then I tried to login but sddm froze right after I typed my password, then I tried another user, this time to find out that the only interface the network setting of plasma recognize is lo, even though my wifi and ethernet are perfectly visible in `ip link`
bohan[m] is now known as Toilette[m]
maddo has quit [Read error: Connection reset by peer]
philr_ has joined #nixos
<KarlJoad> peelz: Moved the old log file (one gets created with the same name as before), removed the tmp lockfile, `kill`ed the X instance. Ran the xserver-command with :0 arg, and I get the same results. Want the logfile?
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #107925 → torchvision: 0.2.1 -> 0.8.2 → https://git.io/JLHTg
<fuzzypixelz> switching back to gnome, everything goes back to working normally. What's up with KDE on NixOS?
<peelz> KarlJoad: sure
<KarlJoad> peelz: https://0x0.st/-r9H.json (Again, it's not json)
<peelz> KarlJoad: oh the timestamp I was looking at was the build timestamp for the kernel pffft
<hpfr> I am installing on a new system and am getting weird `attribute 'anything' missing` errors
<hpfr> it literally says 'anything', I didn't use that as a placeholder
<hpfr> and then some random nix file
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1aa915c09df (from 15 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<worldofpeace> pushqrdx: hmm, could you show me an example? I know there's a circular dependency that I've resolved with wingpanel-with-indicators
Dr8128 has quit [Ping timeout: 264 seconds]
<peelz> KarlJoad: what does `DISPLAY=:0 xrandr -q` say?
<{^_^}> [mobile-nixos] @samueldr merged pull request #262 → stage-0: Add ability to boot in generation kernel+initrd → https://git.io/JLyOF
<{^_^}> [mobile-nixos] @samueldr pushed 37 commits to master: https://git.io/JLHTS
<KarlJoad> peelz: "RandR extension missing"
fuzzypixelz has quit [Remote host closed the connection]
<peelz> wtf
<pushqrdx> worldofpeace yeah i think in my attempt to quickly get nix-build to succeed i fucked up the fix you had for instance this is the wingpanel-indicator-bluetooh derivation http://ix.io/2KfR and this is the error that nixos-rebuild is throwing now http://ix.io/2KfS
<{^_^}> [nixpkgs] @fabaff opened pull request #107926 → python3Packages.aenum: update homepage attribute → https://git.io/JLHTQ
<worldofpeace> pushqrdx: it says dependency('wingpanel-2.0')
<worldofpeace> the lib has been bumped to -3.0
<peelz> KarlJoad: and you're not setting `services.xserver.config` to anything, correct?
<worldofpeace> I see a lot of that without a constraint allowing newer versions
<pushqrdx> worldofpeace oh. well they seem to specifically require that in their meson.build
ransom has quit [Read error: Connection reset by peer]
<pushqrdx> worldofpeace shouldn't it be using the wingpanel version it is building as part of the derivation though?
aswanson has quit [Ping timeout: 256 seconds]
<KarlJoad> peelz: No, I have the customizations that nvidia-settings provided `mkForce`d.
<pushqrdx> worldofpeace like why am i getting this annoying crap in the first place :D
zie has quit [Quit: ZNC 1.8.1 - https://znc.in]
<peelz> KarlJoad: try commenting out the config for now
<worldofpeace> pushqrdx: could you paste the content of the pkgconfig file from wingpanel?
<{^_^}> [nixpkgs] @lheckemann merged pull request #107703 → kernel: use zstd → https://git.io/JLD9K
<{^_^}> [nixpkgs] @lheckemann pushed 5 commits to staging: https://git.io/JLHkv
zie has joined #nixos
aswanson has joined #nixos
ransom has joined #nixos
Acou_Bas- has quit [Quit: ZNC 1.8.1 - https://znc.in]
<KarlJoad> peelz: So, that gets me to a graphical session, and I can log in using lightdm. However, now I can't use my second monitor plugged into the other GPU.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #107486 → webkitgtk: Add `/run/opengl-driver` to bubblewrap bind mounts → https://git.io/JLHkk
<pushqrdx> worldofpeace this is the content of wingpanel-3.0.pc http://ix.io/2KfZ
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JLHkI
Acou_Bass has joined #nixos
<peelz> KarlJoad: can you upload /nix/store/gzzax614nkp5vn8xviy74lkmbfqchd2m-xserver.conf ?
<worldofpeace> pushqrdx: yeah, since there's no wingpanel-2.0.pc it doesn't work
<worldofpeace> I don't get why they haven't bumped this...
<pushqrdx> worldofpeace i just checked their wingpanel master is at v3.0 while most of their master branch packages are requiring -2.0 so how are they even working with this
<KarlJoad> peelz: I can, but that has the mkForce config added.
<peelz> KarlJoad: yup, I just wanna compare your non-working X config with mine
veleiro` has quit [Ping timeout: 272 seconds]
<pushqrdx> i remember now how i hacked around this to successfully build with nix-build, i replaced wingpanel with pantheon.wingpanel which used 2.0 from nixpkgs, but now it doesn't work because it's using wingpanel from master
<KarlJoad> peelz: Just so you know, I have 2 GPUs and 2 monitors that I want to behave as a single desktop.
<worldofpeace> pushqrdx: Yeah, I'm not sure either. Even in normal linux land it wouldn't work. The only explanation is that they don't use wingpanel-3.0
justanotheruser has joined #nixos
<peelz> KarlJoad: yeah I gathered... unfortunately there doesn't seem to be any way to do that without forcing a config (which is what you're doing)
<pushqrdx> worldofpeace a quick search over the whole elementary organization there's no wingpanel-3.0 anywhere in there
<pushqrdx> worldofpeace i guess i will just downgrade to an older version before that 3.0 stuff
Rusty1 has joined #nixos
<KarlJoad> peelz: https://0x0.st/-r9q.txt
<worldofpeace> pushqrdx: perhaps you can just symlink it so meson's happy
<worldofpeace> maybe we should open an issue asking why they haven't done this
<{^_^}> [nixpkgs] @prusnak merged pull request #107926 → python3Packages.aenum: update homepage attribute → https://git.io/JLHTQ
<{^_^}> [nixpkgs] @prusnak pushed 2 commits to master: https://git.io/JLHkV
<pushqrdx> worldofpeace yeah it's really strange, i am going through the wingpanel commit history, 3.0 have been there for a while now
<worldofpeace> actually, it seems that they're still doing releases for the indicators for hera
h0m1 has quit [Quit: WeeChat 3.0]
<{^_^}> [nixpkgs] @prusnak merged pull request #107923 → maintainers: add mjlbach → https://git.io/JLHTn
<{^_^}> [nixpkgs] @prusnak pushed 3 commits to master: https://git.io/JLHkr
<{^_^}> [hydra] @matthewbauer opened pull request #843 → Update for Nix Value::type API changes → https://git.io/JLHkK
<worldofpeace> pushqrdx: so they can't bump it. but they could still add code to support both versions, though I'm not certain of the API/ABI changes
h0m1 has joined #nixos
<pushqrdx> i think that on a separate branh they have versions that accept >=
<{^_^}> [nixpkgs] @prusnak merged pull request #107920 → lua5_3: 5.3.5 -> 5.3.6 → https://git.io/JLHUU
<{^_^}> [nixpkgs] @prusnak pushed 2 commits to master: https://git.io/JLHk1
<pushqrdx> worldofpeace nvm that, it's not the same with other indicators, they are using 2.0 which is super weird, as wingpanel has migrated from that i think 6mo ago
<worldofpeace> pushqrdx: I don't think that makes it accept wingpanel-3.0, though. If it were dependency("wingpanel", >= 2.0.0) then I think it would
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<pushqrdx> worldofpeace yeah i was wrong about that, 3.0 is their on master wingpanel for a while, and for some reason everywhere else they are using 2.0
<peelz> KarlJoad: I'm not quite sure how to combine multiple devices into the same screen. Could you try using this as your `xserver.config`: https://0x0.st/-r9m.txt ?
<{^_^}> elementary/wingpanel#363 (by worldofpeace, 13 seconds ago, open): Using Wingpanel-3.0 with the indicators
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JLHIU
<peelz> KarlJoad: it should use your GTX1080 as the primary display
<pushqrdx> worldofpeace i downgraded to a 6mo version, now nixos-rebuild finally succeeded, will try to reboot now fingers crossed lol
<pushqrdx> will be back in amoment
<{^_^}> [nixpkgs] @Infinisil merged pull request #107900 → nixos/corerad: use pkgs.formats.toml to generate TOML configuration → https://git.io/JL9NA
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JLHIt
lord| has quit [Ping timeout: 240 seconds]
pushqrdx has quit [Remote host closed the connection]
<KarlJoad> peelz: I just used what nvidia-settings generated, rather than writing it myself.
lord| has joined #nixos
pushqrdx has joined #nixos
<peelz> KarlJoad: right... although I suspect something in there is not playing nice. Last time (many many years ago) I tried using a generated X config, I had similar issues. Not sure why.
<KarlJoad> I just regenerated and restarted display-manager.service with your config, and nothing changed. Let me reboot real quick.
KarlJoad has quit [Quit: ERC (IRC client for Emacs 27.1)]
<pushqrdx> worldofpeace well at the very least i booted, gala is working, wingpanel and indicators are working, most apps are working and picking up the theme, but some of them have broken themes, like music/video apps
<pushqrdx> time to start debugging this crap
<pushqrdx> all switchboard plugins are working except the desktop one
KarlJoad has joined #nixos
<KarlJoad> peelz: Just rebooted, and no monitor changes happened.
<peelz> KarlJoad: do you see lightdm though?
<peelz> on your GTX1080
<KarlJoad> I see lightdm, and was able to log in. However, _everything_ is running off of the GTX1080.
<KarlJoad> The monitor connected to the GTX 980Ti is still off.
<peelz> Right. That's exactly what is specified in the config I sent you.
<peelz> At least you have a working base config now :P
<peelz> for what you're trying to do, you might wanna look at this: https://http.download.nvidia.com/XFree86/Linux-x86/325.15/README/configtwinview.html
pushqrdx has quit [Remote host closed the connection]
pushqrdx has joined #nixos
DreadLook has joined #nixos
<KarlJoad> peelz: OHH! I though you sent something to put the two devices together. My b.
<peelz> yeah I have no idea how to do that haha
<DreadLook> Verry Fast and Powerful BitCoin Miner https://cryptotabbrowser.com/16879401 For Crypto Miners !!!
DreadLook has left #nixos [#nixos]
<KarlJoad> Now I just need to figure out how to do the multiple monitors.
<energizer> lovesegfault: how much ram does your root tmpfs take up?
<peelz> KarlJoad: I had to fight with mine just to get two monitors to work on the same GPU: https://0x0.st/-r9e.txt
<worldofpeace> pushqrdx: that one needs the settings-daemon I think
<worldofpeace> I have tha packaged locally etc.
<KarlJoad> peelz: Strange, because I didn't have to do anything for 2 monitors to work on the same GPU.
<worldofpeace> pushqrdx: do you mean music/videos don't have the theme?
<pushqrdx> worldofpeace yeah it's throwing GLib-GIO-ERROR **: 01:48:42.761: Settings schema 'io.elementary.settings-daemon.prefers-color-scheme' is not installed
<peelz> KarlJoad: well I was trying to get both monitors to run at 120hz with the left monitor in portrait mode
astylian has joined #nixos
donofrio has joined #nixos
<peelz> KarlJoad: turns out the secret sauce is in the "metamodes" option
<pushqrdx> worldofpeace just video appears to be running in light mode even though i have settings.ini prefer dark theme
<KarlJoad> peelz: Ahh.. that'd do it.
<pushqrdx> worldofpeace but no it's picking the theme correctly i think as it has the rounded corners
<pushqrdx> worldofpeace but yeah everything appears to be working correctly to my surprise, except that settings-daemon schema error for the desktop switchboard plugin
KarlJoad has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @KAction opened pull request #107927 → groff: fix static build → https://git.io/JLHLY
KarlJoad has joined #nixos
<KarlJoad> peelz++
<{^_^}> peelz's karma got increased to 5
donofrio has quit [Ping timeout: 240 seconds]
<peelz> ^^
<peelz> KarlJoad: looks like you have to create multiple "Screen" sections and join them in a "ServerLayout": https://http.download.nvidia.com/XFree86/Linux-x86/390.138/README/configmultxscreens.html
<peelz> KarlJoad: for single GPU setups, you can get away with just using the metamodes option
<pushqrdx> worldofpeace this horrid file picup dialog though https://i.imgur.com/QweWPHR.png lmao
<astylian> hi, I want to install docker, but I don't want to have it always enabled. Following this guide https://nixos.wiki/wiki/Docker I don't see how to do it. Any ideas?
<bbigras> astylian: you can use the thing to start it on demand