worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
detran has quit [Ping timeout: 240 seconds]
karetsu has quit [Quit: WeeChat 2.8]
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
<moet> if i do `fetchFromGitHub`, how can i exclude specific subdirectories from it?
<cole-h> `postPatch = "rm -rf dir1 dir2 dir3";`
detran has joined #nixos
<cole-h> Why do you need to exclude them, though?
<moet> cole-h: i think that cabal is overzealous in building sub packages in there and it was causing a problem maybe... i might've been wrong.. i'm still new to nix
<{^_^}> [nixpkgs] @petabyteboy merged pull request #92756 → install-grub.pl: Fix GRUB always reinstalling → https://git.io/JJq5T
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @nh2 to master « install-grub.pl: Fix GRUB always reinstalling. (#92756) »: https://git.io/JJO8i
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2f92f283348 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
simba2 has quit [Ping timeout: 260 seconds]
<moet> how are git-submodules handled?
<moet> can fetchFromGithub be instructed to fetch submodules?
<cole-h> Add `fetchSubmodules = true;` to the fetchFromGitHub call
<moet> cole-h: thanks, i just stumbled on https://github.com/NixOS/nix/pull/3166 ...
<{^_^}> nix#3166 (by blitz, 37 weeks ago, merged): Add fetchSubmodules to builtins.fetchGit
<cole-h> moet: That hasn't landed in any nix release yet, however.
<cole-h> fetchSubmodules in fetchFromGitHub is different from what that PR implements.
<moet> yeah, i was going to ask that :)
<moet> ok, i'll look at the fetchfromgithub iml .. thank you ben
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJO8j
<moet> hmm, ok, it seems like nix is still using the old store directory, which has an empty folder for the submodule..
<moet> i think i fixed it by deleting with `nix-store --delete the_path`
<moet> because now it got a different directory and had a hash failure .. tofu
<{^_^}> [nixpkgs] @andrew-d opened pull request #93031 → dsd: init at 2018-07-01 → https://git.io/JJO4a
m0rphism has quit [Ping timeout: 258 seconds]
pamplemo1sse has quit [Ping timeout: 246 seconds]
gustavderdrache has quit [Quit: Leaving.]
markus1189 has joined #nixos
markus1199 has quit [Ping timeout: 272 seconds]
slack1256 has joined #nixos
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos
sleepydog has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93033 → ffsend: 0.2.64 -> 0.2.65 → https://git.io/JJOB2
reanimus has quit [Ping timeout: 260 seconds]
reanimus has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #92776 → gnome3.gnome-taquin: 3.36.3 -> 3.36.4 → https://git.io/JJmUW
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to master « gnome3.gnome-taquin: 3.36.3 -> 3.36.4 »: https://git.io/JJORs
<{^_^}> [nixpkgs] @jtojnar merged pull request #92780 → gnome3.gnome-initial-setup: 3.36.3 -> 3.36.4 → https://git.io/JJmTS
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to master « gnome3.gnome-initial-setup: 3.36.3 -> 3.36.4 »: https://git.io/JJORG
<{^_^}> [nixpkgs] @jtojnar merged pull request #73795 → fontconfig: 2.12.6 -> 2.13.92 → https://git.io/Je6v1
<{^_^}> [nixpkgs] @jtojnar pushed 6 commits to staging: https://git.io/JJORl
HedgeMage has quit [Ping timeout: 256 seconds]
HedgeMage has joined #nixos
devalot has quit [Ping timeout: 256 seconds]
devalot has joined #nixos
aleph- has quit [Ping timeout: 258 seconds]
pamplemousse has quit [Ping timeout: 256 seconds]
pamplemousse has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JJORi
<{^_^}> [nixpkgs] @jtojnar merged pull request #92926 → gnomeExtensions.dash-to-panel: 31 -> 38 → https://git.io/JJYaL
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
MidHotaru has quit [Quit: Connection closed for inactivity]
proofofkeags has quit [Ping timeout: 240 seconds]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
cyphase has quit [Ping timeout: 240 seconds]
<bqv> Cachix is giving me 500s
proofofkeags has joined #nixos
<{^_^}> [nix] @Ericson2314 opened pull request #3807 → Change types to prepare the way for CA derivations → https://git.io/JJO0k
moet has quit [Ping timeout: 240 seconds]
<infinisil> bqv: There's #cachix
<infinisil> colemickens mentioned there that pushes are failing
<bqv> Ahh
cyphase has joined #nixos
virus_dave_ has joined #nixos
virus_dave has quit [Ping timeout: 256 seconds]
virus_dave_ is now known as virus_dave
camsbury has joined #nixos
<superbaloo> I'm trying to rewrite pkgconfig files
<superbaloo> I dont quite understand the rule I'm breaking here
<superbaloo> (I'm rewriting the references of said library as it's compiled statically and it does not need most of them)
<superbaloo> (trying to shave some weight for an initramfs)
codygman___ has joined #nixos
aleph- has joined #nixos
<codygman___> I'm hacking away at my nixos configuration, but I have a feeling there are much better ways I could be doing this. I feel like I'm maybe not taking advantage of overlays here: https://github.com/codygman/hci/blob/7bb10dfc20719f834d9af3bb3295e859cf79b9be/nixpkgs/home.nix#L8 Any suggestions on improvemnts?
knerten2 has joined #nixos
knerten1 has quit [Ping timeout: 246 seconds]
<nDuff> superbaloo, ...not an answer to your question (I have a vague recollection of chasing down the logic behind those restrictions in the past, but have forgotten them since), but you might find the way NixOS builds its stage1 initramfs interesting. Don't know how small you're trying to target, but using its logic I have both kernel+initramfs combo in a single binary that's below 20mb -- and that's pulling in a native-Go executable, cryptsetup w/
<nDuff> its dependency chain, and some other not-particularly-lightweight bits on top of the usual busybox &c.
ddellacosta has quit [Ping timeout: 264 seconds]
rski_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/cb9a3a0a324 (from 52 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2f92f283348 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
proofofkeags has quit [Remote host closed the connection]
rski has quit [Ping timeout: 246 seconds]
proofofkeags has joined #nixos
<superbaloo> nDuff: that turned out to be my mistake ><
<superbaloo> a glitch in the allowedReferences :D
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
kreyren has quit [Remote host closed the connection]
kreyren has joined #nixos
moet has joined #nixos
tv has quit [Ping timeout: 256 seconds]
Taneb has quit [Quit: I seem to have stopped.]
Supersonic112 has joined #nixos
Taneb has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93034 → fping: 4.2 -> 4.3 → https://git.io/JJOuG
codygman___ has quit [Remote host closed the connection]
Supersonic has quit [Ping timeout: 256 seconds]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @marsam merged pull request #92982 → leatherman: 1.12.0 -> 1.12.1 → https://git.io/JJYAR
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJOuR
lord| has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #92980 → kepubify: 3.1.2 -> 3.1.3 → https://git.io/JJYAv
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJOua
lord| has joined #nixos
capt_zap has joined #nixos
capt_zap_ has quit [Read error: Connection reset by peer]
stoile has quit [Ping timeout: 256 seconds]
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @marsam merged pull request #92975 → fsmon: 1.7.0 -> 1.8.1 → https://git.io/JJYbV
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJOuS
cosimone has joined #nixos
njd has quit [Ping timeout: 272 seconds]
cptMikky has quit [Ping timeout: 246 seconds]
b42 has quit [Ping timeout: 260 seconds]
dxtr has quit [Ping timeout: 260 seconds]
njd has joined #nixos
b42 has joined #nixos
cosimone has quit [Quit: Quit.]
dxtr has joined #nixos
<sleepydog> I upgraded my nixos recently and now gnome-session exits every time i log in with "oh no! something went wrong". anyone else getting this?
cosimone has joined #nixos
<sleepydog> it looks like there were some schema changes, because .gsd-wacom-wrap crashes with "Settings schema 'org.gnome.desktop.peripherals.touchscreen' does not contain a key named 'display'"
<sleepydog> using pantheon desktop with gdm 3.34.1
slack1256 has quit [Remote host closed the connection]
<sleepydog> i don't seem to have a generation with an older version so I can't go back to a working state :\.
jybs- has joined #nixos
cptMikky has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8a48fe16824 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @volth opened pull request #93036 → perl: 5.30.3 -> 5.32.0 → https://git.io/JJOzP
<jackdk> sleepydog: You can build old versions and call switch-to-configuration on them?
sleepydog has quit [Remote host closed the connection]
Supersonic112 has joined #nixos
kalbasit has joined #nixos
Supersonic has quit [Ping timeout: 240 seconds]
Supersonic112 is now known as Supersonic
<colemickens> :( chromium only uses about half the cores when building
zebrag has quit [Quit: Konversation terminated!]
cmk_zzz has quit [Ping timeout: 256 seconds]
cmk_zzz has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
Orbstheorem has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
Orbstheorem has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93037 → gerrit: 3.1.5 -> 3.2.0 → https://git.io/JJOgj
kalbasit has quit [Read error: Connection reset by peer]
kalbasit has joined #nixos
camsbury has quit [Remote host closed the connection]
sleepydog has joined #nixos
cosimone has quit [Quit: Quit.]
fatjedi has joined #nixos
<sleepydog> jackdk: thanks. it looks like gdm hasn't been updated in awhile so I don't think I'm looking at the right package
<jackdk> Frustrating. I'm not a desktop-env-guy, so I can't offer much more help =/
<sleepydog> to make things more interesting, it intermittently works :). I was just able to login now. only thing i've been changing is toggling debug on and off
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0260f04fe25 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
Rusty1 has quit [Quit: WeeChat 2.3]
simba2 has joined #nixos
fatjedi has quit [Ping timeout: 245 seconds]
reanimus has quit [Ping timeout: 260 seconds]
reanimus has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93038 → fldigi: 4.1.13 -> 4.1.14 → https://git.io/JJO2H
<{^_^}> [nixpkgs] @zhenyavinogradov opened pull request #93039 → haskellPackages.xrefcheck: unmark as broken → https://git.io/JJO2Q
jmeredith has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
palo1 has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
proofofkeags has quit [Ping timeout: 240 seconds]
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
zupo has joined #nixos
capt_zap has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vcunat pushed commit from @veprbl to staging-next « python2Packages.numpy: fix build on darwin »: https://git.io/JJOaW
<{^_^}> [nixpkgs] @vcunat merged pull request #92968 → python2Packages.numpy: fix build on darwin → https://git.io/JJYHY
capt_zap has joined #nixos
sangoma has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93040 → gnome-podcasts: 0.4.7 -> 0.4.8 → https://git.io/JJOaA
kalbasit has quit [Ping timeout: 258 seconds]
sophronios has joined #nixos
<sophronios> Does Nixos play nice with VirtualBox 3D acceleration?
<sophronios> as a guest
hoijui has joined #nixos
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #93041 → flatpak-builder: 1.0.10 → 1.0.11 → https://git.io/JJOVV
maier has joined #nixos
proofofkeags has quit [Ping timeout: 272 seconds]
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
dsx has quit [Quit: dsx]
stoile has joined #nixos
sleepydog has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
drakonis has quit [Quit: WeeChat 2.8]
codygman has quit [Ping timeout: 265 seconds]
codygman has joined #nixos
arahael1 has joined #nixos
Arahael has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #93025 → [20.03] mutt: 1.13.3 -> 1.14.6 → https://git.io/JJOn8
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to release-20.03: https://git.io/JJOwo
moet has quit [Quit: leaving]
nixuser has joined #nixos
kleisli has joined #nixos
cr4y1 has joined #nixos
alexherbo2 has joined #nixos
mounty1 has quit [Ping timeout: 264 seconds]
knupfer has joined #nixos
knupfer has joined #nixos
cole-h has quit [Quit: Goodbye]
alexherbo2 has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
alexherbo2 has joined #nixos
zupo has quit [Client Quit]
nemo3319 has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Ping timeout: 256 seconds]
zupo has joined #nixos
nemo3319 has quit [Ping timeout: 245 seconds]
hoijui has quit [Quit: Leaving]
hoijui has joined #nixos
zupo has quit [Ping timeout: 240 seconds]
<sophronios> ar: thanks
alexherbo2 has joined #nixos
Neo-- has joined #nixos
rajivr has joined #nixos
pwerti has joined #nixos
kleisli has quit [Ping timeout: 256 seconds]
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
alexherbo2 has joined #nixos
cantstanya has quit [Remote host closed the connection]
freezeboy has joined #nixos
turion has joined #nixos
lord| has quit [Ping timeout: 256 seconds]
FRidh has joined #nixos
cantstanya has joined #nixos
zupo has joined #nixos
NeoCron has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/add5529b3ee (from 66 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93042 → gromacs: 2020.2 -> 2020.3 → https://git.io/JJOoM
Dagger has quit [Ping timeout: 246 seconds]
mupf has quit [Quit: WeeChat 2.8]
Dagger has joined #nixos
mupf has joined #nixos
Izorkin has quit [Ping timeout: 258 seconds]
davidv7_ has joined #nixos
davidv7 has quit [Ping timeout: 258 seconds]
karetsu has joined #nixos
tv has joined #nixos
pwerti has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
proofofkeags has joined #nixos
dermetfan has joined #nixos
noudle has joined #nixos
raghavsood has joined #nixos
mananamenos has joined #nixos
<mananamenos> hi, `nix-shell -p discord` doesn't export `discord` command once in a shell? What is it, that im missing?
<mananamenos> oh, it's Discord with capital D
<mananamenos> anyway, is there a way to know how exactly the executable is called of a particular package?
proofofkeags has quit [Ping timeout: 246 seconds]
lord| has joined #nixos
<NobbZ[m]> Look into its "bin" folder "mananamenos" (https://matrix.to/#/@freenode_mananamenos:matrix.org)
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
MmeQuignon has quit [Quit: WeeChat 2.8]
whatisRT has quit [Ping timeout: 246 seconds]
fendor has joined #nixos
capt_zap has quit [Read error: Connection reset by peer]
pwerti has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/add5529b3ee (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
capt_zap has joined #nixos
whatisRT has joined #nixos
hoijui has quit [Quit: Leaving]
thc202 has joined #nixos
Izorkin has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3805 → Fix ANSI color constants → https://git.io/JJOkk
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JJOKp
C-16 has quit [Quit: leaving]
doublex has quit [Ping timeout: 244 seconds]
cfricke has joined #nixos
<{^_^}> [nixpkgs] @dasj19 opened pull request #93043 → mono5: 5.20.1.27 -> 5.20.1.34, mono6: 6.0.0.313 -> 6.10.0.104 → https://git.io/JJO6n
hlavaty has joined #nixos
asymptotically has joined #nixos
<patagonicus> mananamenos: I don't think so (and packages can have multiple executables), but if you use nix-build you can check ls ./result/bin
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93044 → gtkgnutella: 1.1.15 -> 1.2.0 → https://git.io/JJO66
bennofs has joined #nixos
locallycompact has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
pwerti has quit [Ping timeout: 240 seconds]
pjt_014 has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/377324ca6d0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
njd has quit [Ping timeout: 258 seconds]
lord| has quit [Ping timeout: 258 seconds]
lord| has joined #nixos
itorres has quit [Ping timeout: 256 seconds]
njd has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #93045 → gnome3.gnome-shell: clean up → https://git.io/JJOix
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #93040 → gnome-podcasts: 0.4.7 -> 0.4.8 → https://git.io/JJOaA
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to master « gnome-podcasts: 0.4.7 -> 0.4.8 »: https://git.io/JJOPC
pwerti has joined #nixos
werner291 has joined #nixos
gxt has joined #nixos
mallox has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
<{^_^}> [nixpkgs] @avdv opened pull request #93046 → wtf: 0.30.0 -> 0.31.0 → https://git.io/JJOPM
sigmundv has joined #nixos
mounty1 has joined #nixos
proofofkeags has joined #nixos
cmacrae has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
proofofkeags has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @avdv opened pull request #93047 → gitAndTools.delta: 0.2.0 -> 0.3.0 → https://git.io/JJOXc
wavirc22 has quit [Ping timeout: 256 seconds]
whald has quit [Remote host closed the connection]
mounty1 has quit [Ping timeout: 264 seconds]
<freezeboy> is there any process to join the pr reviewers team ?
<{^_^}> #50105 (by Infinisil, 1 year ago, open): New nixpkgs committers requests
<freezeboy> thank you Mic92
sangoma has quit [Read error: Connection reset by peer]
sangoma has joined #nixos
CMCDragonkai1 has joined #nixos
<l-as> colemickens: do you build chromium for wayland for aarch64 for the cache?
werner291 has quit [Ping timeout: 240 seconds]
chrmb has joined #nixos
arkaebee has joined #nixos
kleisli has joined #nixos
<midchildan> I'm trying to build a customized version of nixpkgs.siege that uses a version of OpenSSL that unfortunately lives outside the nix store. When I try to nix-build this thing, it doesn't seem to be able to find the OpenSSL header files, despite having specified "--option sandbox false". Is there anything that I'm missing here?
<midchildan> It built just fine when I did a "genericBuild" using the nix-shell, so I was assuming it had something to do with the sandbox.
<{^_^}> [nixpkgs] @ardumont opened pull request #93048 → libupnp: 1.12.0 -> 1.12.1 → https://git.io/JJO1B
<freezeboy> midchildan putting your external openssl in the store is not an option ?
<{^_^}> [nixpkgs] @dywedir merged pull request #92557 → b3sum: 0.1.3 -> 0.3.4 → https://git.io/JJtJL
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JJO1R
<freezeboy> for example overriding the openssl expr to use your local src ?
<midchildan> Unfortunately, no. I only have the binaries.
<clever> midchildan: you can still add those binaries to the store
magnicida has joined #nixos
<magnicida> hi!
<magnicida> has anyone used libFuzzer inside NixOs or Nixpkgs?
<magnicida> I am failing to find it... it should be distributed somewhere alongside clang or llvm?
CMCDragonkai1 has quit [Ping timeout: 240 seconds]
<midchildan> @clever Thanks, that's a better idea.
bennofs__ has joined #nixos
bennofs1 has joined #nixos
bennofs has quit [Ping timeout: 246 seconds]
bennofs_ has quit [Ping timeout: 256 seconds]
arkaybe has quit [Quit: Leaving]
<magnicida> oh... I was enabling it in an outdated way
<magnicida> sorry
werner291 has joined #nixos
<chrmb> hi all! :))
andreas303 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kampka opened pull request #93050 → trilium: 0.43.1 -> 0.43.2 → https://git.io/JJOMo
andreas303 has joined #nixos
captn3m0- has joined #nixos
captn3m0 has quit [Ping timeout: 256 seconds]
maier has quit [Ping timeout: 240 seconds]
cmacrae has quit [Remote host closed the connection]
cmacrae has joined #nixos
boabytho has joined #nixos
<boabytho> Hello, I am using buildPythonPackage and want to add gtk2 and rerun cmake. Is there some flag to rerun cmake to pickup pkgconfig and gtk?
<freezeboy> @boa
turion has quit [Quit: Leaving.]
<freezeboy> boabytho you just add cmake, and gtk2 libs in the buildInputs (cmake in native)
<boabytho> nvm it looks like I need gtk in opencv
<boabytho> and it is disabled by default
bennofs1 has quit [Quit: WeeChat 2.7.1]
<boabytho> Need to rerun cmake should give me a hint that is not the python package requiring modification but its dependency.
<boabytho> thx freezeboy
hax404 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @samuelgrf opened pull request #93051 → nerdfonts: remove windows compatible versions of fonts → https://git.io/JJODa
boabytho has quit [Remote host closed the connection]
hax404 has joined #nixos
<{^_^}> [nixpkgs] @danieldk closed pull request #92981 → amd-blis: init at 2.2 → https://git.io/JJYAY
<edcragg> hi, i'm getting "libX11.so.6: cannot open shared object file: No such file or directory" when trying to run something, what might i need to include in a shell to get X11?
<{^_^}> [nixpkgs] @danieldk opened pull request #93052 → amd-blis: init at 2.2 → https://git.io/JJODN
neysofu has joined #nixos
mounty has quit [Ping timeout: 244 seconds]
<edcragg> xorg.xorgserver doesn't seem to do the trick, is this more complicated, requires specific drivers or anything?
<symphorien> On what executable do you get this ?
<edcragg> it's a rust binary built with cargo... on gnome/wayland
<symphorien> > xorg.libX11
<{^_^}> "<derivation /nix/store/dj7mvm0hj8iyn8x3ig5rva2i01np765y-libX11-1.6.8.drv>"
<symphorien> See in the corresponding crate if there is a way to use real dynamic linking instad of dlopen
<symphorien> Otherwise you have to add libX11 to LD_LIBRARY_PATH
<edcragg> ahh, makes sense. just adding libX11 as a build input doesn't do the trick on its own
<symphorien> Yes it only works if the library is pulled at link time
<edcragg> hmm, maybe if i rebuild
maxdevjs has joined #nixos
mounty has joined #nixos
<edcragg> nope :p i'll try the LD_LIBRARY_PATH
<edcragg> thanls, symphorien :)
maxdevjs has quit [Remote host closed the connection]
<edcragg> thanks*
sangoma has quit [Ping timeout: 256 seconds]
magnicida has quit [Quit: Leaving.]
<edcragg> hmm, LD_LIBRARY_PATH ~= "/nix/store/...-libX11-.../lib" doesn't do it either
neysofu has left #nixos [#nixos]
Puck` has quit [Ping timeout: 265 seconds]
<freezeboy> edcragg where did you define this variable ? in your shell session on in the nix expression ?
khassanov[m] has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<edcragg> freezeboy: i added `LD_LIBRARY_PATH = "${pkgs.stdenv.lib.makeLibraryPath buildInputs}"` to my shell expression
<freezeboy> then it is only valid during the build phase
<edcragg> it seems to be working now, i just needed to add a number of other libX* buildinputs
<freezeboy> ok great
maier has joined #nixos
cosimone has joined #nixos
<edcragg> now it's opengl :p
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93054 → intel-media-sdk: 20.1.1 -> 20.2.0 → https://git.io/JJOy6
alj[m] has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
chimay has joined #nixos
cmacrae has quit [Read error: Connection reset by peer]
cmacrae has joined #nixos
<edcragg> anyway, all sorted, working beautifully
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJOyQ
<{^_^}> [nixpkgs] @adisbladis merged pull request #92849 → go-ethereum: 1.9.15 -> 1.9.16 → https://git.io/JJmhN
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JJOy7
morr has quit [Ping timeout: 244 seconds]
neysofu has joined #nixos
<neysofu> #join #linux
<neysofu> Sorry about that
<{^_^}> [nixpkgs] @danieldk merged pull request #92897 → chiaki: 1.1.3 -> 1.2.1 → https://git.io/JJYOq
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJOS9
sangoma has joined #nixos
cmacrae has quit [Ping timeout: 256 seconds]
dermetfan has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @symphorien closed pull request #91978 → purple-matrix: set c compiler to cc, fixes build on osx → https://git.io/JJUCd
<{^_^}> [nixpkgs] @symphorien reopened pull request #91978 → purple-matrix: set c compiler to cc, fixes build on osx → https://git.io/JJUCd
neysofu has left #nixos [#nixos]
<{^_^}> [rfcs] @mboes opened pull request #72 → Switch to CommonMark for documentation → https://git.io/JJO9s
<{^_^}> [nixpkgs] @cdepillabout merged pull request #93039 → haskellPackages.xrefcheck: unmark as broken → https://git.io/JJO2Q
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JJO90
mounty has quit [Read error: Connection reset by peer]
freezeboy has quit [Remote host closed the connection]
lhurttila has joined #nixos
<{^_^}> [nixpkgs] @dasj19 opened pull request #93056 → [20.03] nautilus: 3.34.2 -> 3.34.3 → https://git.io/JJOHU
<lhurttila> What do i need to put in configuration.nix to make the os always boot with nomodeset? So far the only thing i've found that seems relevant is this https://github.com/networkelements/NixOS/blob/master/configuration.nix_on_KVM
q3k has quit [Ping timeout: 260 seconds]
q3k has joined #nixos
<patagonicus> LHurttila: boot.extraKernelParams = [ "nomodeset" ]; should add nomodeset to the kernel args.
<patagonicus> Sorry, boot.kernelParams
proofofkeags has joined #nixos
<lhurttila> patagonicus great.thx
meh` has joined #nixos
mounty has joined #nixos
proofofkeags has quit [Ping timeout: 246 seconds]
itorres has joined #nixos
morr has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #93042 → gromacs: 2020.2 -> 2020.3 → https://git.io/JJOoM
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JJOHP
lhurttila has quit [Remote host closed the connection]
rski_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @stigtsp opened pull request #93057 → ubidump: init at unstable-2019-09-11 → https://git.io/JJOHS
cosimone has quit [Remote host closed the connection]
drakonis has joined #nixos
Rurd2di has quit [Read error: Connection reset by peer]
Rurd2di has joined #nixos
mounty has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #92989 → minikube: 1.11.0 -> 1.12.0 → https://git.io/JJYpz
<{^_^}> [nixpkgs] @marsam pushed 4 commits to master: https://git.io/JJOQY
<{^_^}> [nixpkgs] @marsam opened pull request #93059 → jetbrains-mono: 2.000 -> 2.001 → https://git.io/JJOQO
virus_dave has quit [Quit: virus_dave]
mounty has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #93046 → wtf: 0.30.0 -> 0.31.0 → https://git.io/JJOPM
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJOQG
chrmb has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #93047 → gitAndTools.delta: 0.2.0 -> 0.3.0 → https://git.io/JJOXc
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJOQn
kkd has left #nixos [#nixos]
<eyJhb> Anyone wants to package https://www.npmjs.com/package/uglify-js ? adisbladis <3
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to cpan-update: https://git.io/JJOQy
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to iso-cloud-init: https://git.io/JJOQS
werner291 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to yegortimoshenko-patch-3: https://git.io/JJOQ7
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to yegortimoshenko-patch-2: https://git.io/JJOQN
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to revert-62691-update/spidermonkey_60.7.0: https://git.io/JJOQA
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to pull/59368/head: https://git.io/JJO7v
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to revert-59233-libsodium-1.0.17: https://git.io/JJO7f
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to node10-small: https://git.io/JJO7U
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to noxlibs-nognome: https://git.io/JJO7k
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to update/bochs: https://git.io/JJO7I
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to revert-84037-remove-none.nix: https://git.io/JJO7t
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to revert-84369-fix-k3s: https://git.io/JJO7m
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to gcc8: https://git.io/JJO7Y
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to cve: https://git.io/JJO7O
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to darwin-full-purity: https://git.io/JJO7G
chrmb has joined #nixos
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to darwin-callpackage: https://git.io/JJO7Z
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to fake-xcode: https://git.io/JJO7c
<chrmb> hi all! ;))
<chrmb> this is nixos developer channel?
hlavaty has left #nixos ["ERC (IRC client for Emacs 26.3)"]
<eyJhb> chrmb: depends on your question
<eyJhb> This is all Nix
<chrmb> it is possible administer/maintain nix os server trought git?
<eyJhb> Should be, setup a service that pulls every X and rebuilds
<edcragg> you could put configuration.nix in a git repo, symlinked to /etc/nixos/configuration.nix, with an push git hook on the repo to `nixos-rebuild --switch` on push could work?
<chrmb> it could look like one config/managment file on git maintainers work on with sync service with that file on server
FRidh has joined #nixos
ChrisOboe[m] has joined #nixos
<edcragg> it's certainly possible, however you wanted to architect it. generally a nixos system has one configuration file defining it
<chrmb> yes @edcragg siomething like that
<chrmb> sorry something
<LnL> I use a git hook to rebuild
<edcragg> i imagine you'd get the output of the rebuild echoed by git, too, which could be nice
<edcragg> s/nice/super flashy/
karantan has joined #nixos
<chrmb> hof fast that nixos-rebuild --switch actually is?
<tobiasBora> Hello, I'm installing the virtualbox extension pack using "virtualisation.virtualbox.host.enableExtensionPack = true;", but I see *lot's* of build, like "kBuild: Compiling rdesktop-vrdp - /build/VirtualBox-6.1.6/src/VBox/RDP/client-1.8.4/channels.c". Is it normal?
wip_ has quit [Remote host closed the connection]
<edcragg> chrmb: depends on how much it has to do/how many packages it needs to fetch. could sometimes take a while
<eyJhb> Sometimes 5 secs, sometimes a day
TethysSvensson has joined #nixos
<eyJhb> When you recompile the world
<chrmb> actually the idea is to create server that is locally locked down and accessible/maintainable only trough config file hosted on git
meh` has quit [Ping timeout: 256 seconds]
<TethysSvensson> After making a PR to nixpkgs, what is the procedure to get someone to take a look at it?
proofofkeags has joined #nixos
<chrmb> edcragg: not alot basically maintenance/improvement/updates/
knupfer has joined #nixos
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
proofofkeags has quit [Ping timeout: 240 seconds]
<eyJhb> I have no clue why ` nativeBuildInputs = [ pkgconfig wrapGAppsHook lsb-release ];` will not include lsb_release in the configure part of building?
<eyJhb> Since, it sholud be ... building during that
<eyJhb> (also added to buildInputs)
werner291 has joined #nixos
<tobiasBora> Oh, since virtualboxExtpack is not free, it means that it's not build by Hydra?
<eyJhb> Yes, as far as I remember
<{^_^}> [nixpkgs] @marsam opened pull request #93060 → SDL2: fix build on darwin → https://git.io/JJO5Y
Puck` has joined #nixos
pwerti has quit [Quit: Textual IRC Client: www.textualapp.com]
<chrmb> Ok Thanks edcrsgg & eyJhb!
cmacrae has joined #nixos
nixuser has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @dasj19 opened pull request #93061 → gscan2pdf: 2.8.0 -> 2.8.1 → https://git.io/JJO50
nikita` has joined #nixos
cmacrae has quit [Read error: Connection reset by peer]
cmacrae has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch opened pull request #93062 → Bazel 3 add fish completions → https://git.io/JJO5z
<chrmb> oh sorry edcragg incorrectly typed your nick! apologies!
raghavsood has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonas-schievink opened pull request #93063 → nrfutil: 5.2 -> 6.1, pc-ble-driver-py: 0.11.4 -> 0.14.2, py-ble-driver: init at 4.1.1 → https://git.io/JJO56
knupfer has quit [Read error: Connection reset by peer]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJO5H
<{^_^}> [nixpkgs] @dasj19 opened pull request #93064 → diffoscope: 150 -> 151 → https://git.io/JJO5Q
cosimone has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b51835d247f (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<sphalerite> I know a number of people have implemented IP range calculation in nix, can anyone point me to any such implementations?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93065 → libslirp: 4.3.0 -> 4.3.1 → https://git.io/JJOdL
<clever> sphalerite: i had started a sort of lib for that kind of thing, but the only thing i implemented was reversing an ip, to create PTR records: https://github.com/cleverca22/nix-tests/blob/master/ip-magic/core.nix
civodul has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #93060 → SDL2: fix build on darwin → https://git.io/JJO5Y
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJOdZ
kim0 has quit [Quit: Connection closed for inactivity]
<sphalerite> so far, found dhess's https://github.com/hackworthltd/hacknix-lib/blob/master/overlays/lib/ipaddr.nix (which also has a nice big test suite)
puckipedia has joined #nixos
cmacrae has quit [*.net *.split]
nikita` has quit [*.net *.split]
sangoma has quit [*.net *.split]
mounty has quit [*.net *.split]
tv has quit [*.net *.split]
NeoCron has quit [*.net *.split]
arahael1 has quit [*.net *.split]
cfricke has quit [*.net *.split]
palo has quit [*.net *.split]
cyris212 has quit [*.net *.split]
penguwin has quit [*.net *.split]
rootatarch has quit [*.net *.split]
xwvvvvwx has quit [*.net *.split]
wildsebastian has quit [*.net *.split]
EsperLily has quit [*.net *.split]
wolfshappen has quit [*.net *.split]
fling has quit [*.net *.split]
ben has quit [*.net *.split]
barm has quit [*.net *.split]
ryzokuken has quit [*.net *.split]
medvid has quit [*.net *.split]
evanjs has quit [*.net *.split]
n3t has quit [*.net *.split]
AmandaC has quit [*.net *.split]
emilsp has quit [*.net *.split]
eoli3n has quit [*.net *.split]
grw1 has quit [*.net *.split]
srhb has quit [*.net *.split]
ocharles has quit [*.net *.split]
jtobin has quit [*.net *.split]
cybertron has quit [*.net *.split]
mightybyte has quit [*.net *.split]
infinisil has quit [*.net *.split]
efriend has quit [*.net *.split]
makefu has quit [*.net *.split]
lukegb has quit [*.net *.split]
reactormonk has quit [*.net *.split]
sigtrm has quit [*.net *.split]
duairc has quit [*.net *.split]
lovesegfault has quit [*.net *.split]
acertain has quit [*.net *.split]
puck has quit [Quit: nya]
puckipedia is now known as puck
ben has joined #nixos
palo has joined #nixos
arahael1 has joined #nixos
tv has joined #nixos
mounty has joined #nixos
nikita` has joined #nixos
cfricke has joined #nixos
wolfshappen has joined #nixos
fling has joined #nixos
cmacrae has joined #nixos
xwvvvvwx has joined #nixos
Doraemon has joined #nixos
rootatarch has joined #nixos
penguwin has joined #nixos
wildsebastian has joined #nixos
medvid has joined #nixos
barm has joined #nixos
ryzokuken has joined #nixos
cyris212 has joined #nixos
EsperLily has joined #nixos
evanjs has joined #nixos
reactormonk has joined #nixos
srhb has joined #nixos
lovesegfault has joined #nixos
AmandaC has joined #nixos
grw1 has joined #nixos
mightybyte has joined #nixos
lukegb has joined #nixos
cybertron has joined #nixos
efriend has joined #nixos
acertain has joined #nixos
duairc has joined #nixos
ocharles has joined #nixos
sigtrm has joined #nixos
n3t has joined #nixos
emilsp has joined #nixos
infinisil has joined #nixos
makefu has joined #nixos
eoli3n has joined #nixos
jtobin has joined #nixos
arahael1 has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @etu opened pull request #93066 → flutter: 1.12.13+hotfix.9 -> 1.17.5, 1.15.17 -> 1.19.0-4.3-pre, 1.17.0-dev.5.0 -> 1.20.0-7.1.pre → https://git.io/JJOd2
arahael1 has joined #nixos
Heirlung has quit [Ping timeout: 264 seconds]
karantan has quit [Ping timeout: 246 seconds]
Heirlung has joined #nixos
acarrico has joined #nixos
dermetfan has joined #nixos
<ixxie> does builtins.readFile work relative to execution directory or .nix file directory?
zupo has joined #nixos
<clever> ixxie: ./foo is relative to the dir the file is in
<adisbladis> There is no builtin "cwd" function
dermetfan has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @B4dM4n closed pull request #87394 → lib: add makeOverridableWithName + build*Package overrides → https://git.io/JfCHM
<adisbladis> I guess the closest is `builtins.getEnv "PWD"`
<{^_^}> [nixpkgs] @Luflosi opened pull request #93067 → nextpnr: fix build on macOS → https://git.io/JJOFe
dermetfan has joined #nixos
<infinisil> > builtins.readFile "foo"
<{^_^}> string 'foo' doesn't represent an absolute path, at (string):318:1
<infinisil> ixxie: Can't readFile relative paths
<{^_^}> [nixpkgs] @danieldk merged pull request #92939 → mage: 1.9.0 -> 1.10.0 → https://git.io/JJYKr
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJOF3
<infinisil> > ./foo
<{^_^}> /var/lib/nixbot/state/nixpkgs/foo
<infinisil> But as clever indicated, using ./foo works relative to the current Nix file, and you can readFile that because it turns it into an absolute path
zebrag has joined #nixos
<ixxie> clever, infinisil - as expected, which means whatever goes wrong is something else.
<{^_^}> [nixpkgs] @Luflosi opened pull request #93068 → batinfo: limit build to Linux → https://git.io/JJOFW
<gchristensen> where does NetworkManager write VPN configurations? I have a VPN config that I'm using, but it doesn't appear in /etc/NetworkManager/system-connections, and I can't even find a file with a similar name: find / -iname '*namefragment*'
<clever> ixxie: and its relative to the path that ./foo exists within, not the file doing readFile
<adisbladis> gchristensen: Somewhere in /var/lib/NetworkManager iirc
<TethysSvensson> matthewbauer: You've merged a few PRs for busybox previously. Could you take a look at https://github.com/NixOS/nixpkgs/pull/92581 (or alternatively point me at someone else to ping)
<{^_^}> #92581 (by TethysSvensson, 5 days ago, open): busybox: Add a default udhcpc dispatcher script
sangoma has joined #nixos
cfricke has quit [Quit: WeeChat 2.8]
<gchristensen> adisbladis: it doesn't seem to :/
iyzsong has quit [Quit: ZNC 1.7.5 - https://znc.in]
iyzsong has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @danieldk merged pull request #93061 → gscan2pdf: 2.8.0 -> 2.8.1 → https://git.io/JJO50
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJOF1
<ixxie> clever: right, but in this case they are the same file :)
<ixxie> good to know though
<ixxie> clever: so I can that path expansion is one of the first steps in evaluation?
<infinisil> ixxie: Looks like it yeah, `nix-instantiate --parse -E './foo'` -> /home/infinisil/foo
<infinisil> So it happens during parsing already
meh` has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #93064 → diffoscope: 150 -> 151 → https://git.io/JJO5Q
<ixxie> right
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJOF7
<{^_^}> [nixpkgs] @danieldk merged pull request #92792 → oneshot: init at 1.0.1 → https://git.io/JJmcn
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJOFA
<emmanuel`> So I'm trying to get a particular build working in the nix-shell. I couldn't get it to work (I thought the error message was cryptic), so I figured, let me see what happens when I try this in my normal shell.
gustavderdrache has joined #nixos
<emmanuel`> Fortunately, it worked. But this makes it painfully obvious that there is something missing in what I'm doing in the nix-shell.
<emmanuel`> My exact (and simple) steps were this in both shells.
<emmanuel`> 1. "opam init --root=/tmp/testing/opam-root -n --bare"
<{^_^}> [nixops] @adisbladis pushed to master « plugin manager: Fix indentation error »: https://git.io/JJOFj
<emmanuel`> 2. "opam switch create for_the_lulz 4.09.1"
<emmanuel`> Effectively, in the nix-shell I couldn't install ocaml-base-compiler.4.09.1
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.8-rc4 -> 5.8-rc5 »: https://git.io/JJObf
<Izorkin> What is needed to get this PR merged? - #92343
<{^_^}> https://github.com/NixOS/nixpkgs/pull/92343 (by Izorkin, 1 week ago, open): Update percona tools
turlando has quit [Ping timeout: 256 seconds]
<emmanuel`> My question: Has anyone here tried to do a build (of somethning ocaml related) with at least these steps involved.
<patagonicus> Is there a ready made thing like builtins.filterSource that filters out .git and similar files? Easy enough to build myself, but I prefer code reuse so I don't have to maintain it. :)
<{^_^}> [nixpkgs] @mupdt opened pull request #93069 → pkgs.terraform: add terraform-provider-shell 1.6.0 → https://git.io/JJObI
<adisbladis> patagonicus: There is `lib.cleanSource`
<patagonicus> adisbladis++ thanks, that's what I was looking for.
<adisbladis> Look at this comparison matrix for different methods: https://github.com/hercules-ci/gitignore.nix#comparison
<{^_^}> adisbladis's karma got increased to 106
<{^_^}> [nix] @edolstra pushed 5 commits to master: https://git.io/JJObm
<{^_^}> [nixpkgs] @jtojnar merged pull request #92857 → gtk-sharp3: fixed build and removed broken flag. → https://git.io/JJYJD
<{^_^}> [nixpkgs] @jtojnar pushed commit from @dasj19 to master « gtk-sharp3: fixed build and removed broken flag. »: https://git.io/JJOb3
thc202 has quit [Ping timeout: 256 seconds]
thc202 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doublex has joined #nixos
whald has joined #nixos
<gchristensen> slabity: are you here?
kleisli has quit [Ping timeout: 260 seconds]
<{^_^}> [nix] @edolstra closed pull request #3744 → Warn when experimental features are used → https://git.io/Jfh3J
meh` has quit [Ping timeout: 264 seconds]
pamplemo1sse has joined #nixos
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #92974 → bovo: init at 19.12.3 → https://git.io/JJYbg
<{^_^}> [nixpkgs] @ttuegel pushed 4 commits to master: https://git.io/JJONk
proofofkeags has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ttuegel merged pull request #92878 → picmi: init at 19.12.3 → https://git.io/JJYkc
<{^_^}> [nixpkgs] @ttuegel pushed 4 commits to master: https://git.io/JJON3
<afreak> any ideas how i would install this proprietary madness in nixos ? https://www.strongdm.com/docs/user-guide/linux-installation/
<afreak> you need to sudo install a binary file, that i think starts a daemon that runs at startup
fresheyeball has quit [Ping timeout: 265 seconds]
jbox has joined #nixos
fresheyeball has joined #nixos
pamplemousse has quit [Remote host closed the connection]
knupfer has joined #nixos
gustavderdrache has quit [Read error: Connection reset by peer]
cmacrae has quit [Quit: ERC (IRC client for Emacs 27.0.90)]
karetsu has quit [Quit: WeeChat 2.8]
proofofkeags 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/JJON7
dermetfan has quit [Ping timeout: 256 seconds]
Doraemon has quit [Ping timeout: 272 seconds]
dermetfan has joined #nixos
<nDuff> afreak, ...as a commercial product, I'd typically try to make their support people do the work. Their software being written in Go, though -- if they aren't using CGo you shouldn't have many library dependencies, so that part should be fairly straightforward. Setting up a service to run on-boot, by contrast, is fairly well-documented, by defining a new service under systemd.services.*
Fare has joined #nixos
pamplemo1sse has quit [Ping timeout: 240 seconds]
pamplemousse has joined #nixos
TethysSvensson has quit [Ping timeout: 245 seconds]
Fare has quit [Ping timeout: 260 seconds]
<atemu12[m]> Can you temporarily override the tmpdir for a nix build somehow? I tried `TMPDIR=` but it still used /tmp.
maier has quit [Ping timeout: 265 seconds]
FRidh has quit [Ping timeout: 240 seconds]
FRidh has joined #nixos
pamplemousse has quit [Ping timeout: 240 seconds]
<srhb> atemu12[m]: The easiest way to defeat the sandbox is to not use it, you can run the build from a shell and set TMPDIR as you like.
Fare has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6206029f693 (from 61 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
pamplemousse has joined #nixos
<atemu12[m]> srhb: I don't want to defeat the Sandbox, I just want it to use a tmpdir that isn't on tmpfs
<atemu12[m]> nix itself that is
<Fare> In a default.nix, how do I exclude some temporary/build files / subdirectories from what is included in the src? Ideally, the src would be only the files in git, plus optionally a generated version file from git describe --tags --always. I can do the generation as a patch, too, though I'm not sure how to pass around the git description, if possible, except for automatically modifying the default.nix or generating a version.nix.
<{^_^}> [nixpkgs] @Ma27 pushed to master « bandwhich: 0.15.0 -> 0.16.0 »: https://git.io/JJOAw
<Fare> I tried "just" using src = . but then I get error: file '/.../run/ethereum/.ethereum/geth.ipc' has an unsupported type
<afreak> aha thanks nDuff yeah, i think i can make it work, it seems when the binary file "installs" it creates a systemd service and runs the same binary
<srhb> atemu12[m]: If you're running daemonized, you can feed the nix-daemon TMPDIR to control it, iirc.
<emmanuel`> Is it possible to pull sandbox-exec into the nix store?
werner291 has quit [Quit: werner291]
<nDuff> Fare, that "unsupported type" error is... unusual and surprising... but Nix does give you plenty of ways to filter a source tree; see builtins.filterSource, and the more extensive implementation nixpkgs puts on top of it in https://github.com/NixOS/nixpkgs/blob/master/lib/sources.nix
<atemu12[m]> srhb: I don't want that to affect every Nix build, I just want this one to use a different TMPDIR
<srhb> atemu12[m]: Then no, I don't think you can.
<atemu12[m]> :/
<srhb> Fingers crossed someone corrects me ;)
karetsu has joined #nixos
werner291 has joined #nixos
<{^_^}> [nixpkgs] @flokli closed pull request #93037 → gerrit: 3.1.5 -> 3.2.0 → https://git.io/JJOgj
<{^_^}> [nixpkgs] @edef1c merged pull request #92930 → gerrit: 3.1.5 -> 3.2.2 → https://git.io/JJYax
<{^_^}> [nixpkgs] @edef1c pushed 2 commits to master: https://git.io/JJOAF
erasmas has joined #nixos
cole-h has joined #nixos
asymptotically has quit [Quit: Leaving]
<Fare> nDuff, thanks a lot!
ddellacosta has joined #nixos
pamplemousse has quit [Quit: leaving]
pamplemousse has joined #nixos
<Fare> how about getting the version numbers for a local build from git?
justanotheruser has quit [Ping timeout: 260 seconds]
<Fare> I could generate a version.nix that I include in default.nix... what else?
<Fare> can I do a import ./version.nix in a way that somehow provides defaults if version.nix is not present?
<clever> > builtins.pathExists ./version.nix
<{^_^}> false
<{^_^}> [nixpkgs] @lheckemann closed pull request #89392 → Nextcloud: use php.ini for cron job as well → https://git.io/JfPuu
<nDuff> Fare, is this something for nixpkgs or for your local use? For local use, you've got more options that require builds to be impure.
<{^_^}> [nixpkgs] @Ma27 merged pull request #92950 → oh-my-zsh: undefine functions that don't work on Nix → https://git.io/JJYX3
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJOxa
<Fare> nDuff, local use, with an eye on making stable-enough releases part of nixpkgs
veleiro has joined #nixos
<Fare> clever: nice. Actually, can I read a file and parse its contents with a regexp?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93071 → libfilezilla: 0.22.0 -> 0.23.0 → https://git.io/JJOxK
<clever> Fare: there is builtins.match, but its not full regex
<patagonicus> I'm currently looking at https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/cd-dvd/sd-image.nix and I'm a bit confused: it uses mkDerivation for system.build.sdImage, but doesn't set src. If I try mkDerivation without src I get an error message about it . (And it's also not setting phases or somethling like that. So, why is there
<patagonicus> no error because of src being unset?
<veleiro> Can't open and lock privilege tables: 'mysql.user' is not of type 'TABLE'" i
<veleiro> think its because i changed my username on my system. tried to remove
<veleiro> anyone receive this error before with service.mysql? "[ERROR] Fatal error:
<veleiro> service.mysql and garbage collect and start from scratch but im still seeing it
<veleiro> when service.mysql exists on system rebuild
<patagonicus> Oh, I guess my mistake was using buildPhase instead of buildCommand.
<clever> patagonicus: if you set buildCommand, it skips all phases, and its unpackPhase that complains about $src
<patagonicus> clever++ Aah. Thanks!
<{^_^}> clever's karma got increased to 474
<clever> patagonicus: there is also `pkgs.runCommand "name" { buildInputs = []; } "script goes here"`
<{^_^}> [nixpkgs] @flokli pushed to master « gerrit: add myself to maintainers »: https://git.io/JJOx1
<clever> patagonicus: thats just a helper, that sets buildCommand for you
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
Thra11 has quit [Quit: WeeChat 2.8]
<Fare> clever, how do I read some data file's contents, though?
<clever> > builtins.readFile
<{^_^}> <PRIMOP>
proofofkeags has quit [Ping timeout: 256 seconds]
<{^_^}> [nix] @edolstra pushed 4 commits to nix-copy: https://git.io/JJOpe
<{^_^}> [nixpkgs] @Ma27 opened pull request #93072 → matrix-synapse: 1.16.1 -> 1.17.0 → https://git.io/JJOpv
karetsu has quit [Quit: WeeChat 2.8]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #93068 → batinfo: limit build to Linux → https://git.io/JJOFW
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJOpZ
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/add5529b3ee (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
dsx has joined #nixos
fresheyeball 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/JJOh2
fresheyeball has joined #nixos
turlando has joined #nixos
chloekek has joined #nixos
<afreak> can a nixos package set up a systemd service automatically? or do you need to install the package, and then add the service manually in nixos config?
<infinisil> afreak: You can write a NixOS module which when enabled sets up a systemd service
<chloekek> Does the NixOS minimal install image come with drivers that have to be loaded manually before they can be used during installation?
<afreak> ah, so module is something different than a package? like NUR repository does not have any modules, only packages infinisil ?
<afreak> modules is something you have to import, while package u can install
dermetfan has quit [Ping timeout: 272 seconds]
<Taneb> afreak: you kind of want it the other way around. Set up the module for the service, and that'll get everything it needs installed
<Taneb> "module" is possibly a misleading bit of terminology
<infinisil> afreak: NUR can actually also have modules, but yes, these are different
<afreak> oh, do you have an example ? id like to make a module that depend on a package then Øp
<{^_^}> [nixpkgs] @ttuegel merged pull request #90511 → kmail: add missing dependency (kdepim-addons) → https://git.io/Jf71D
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/JJOhy
<afreak> and then be able to reuse it easily between my machines, in a repo
<{^_^}> [nixpkgs] @dasJ opened pull request #93073 → nixos/systemd: Implement a packages option → https://git.io/JJOhS
<infinisil> afreak: However, there is an alternative: You can put systemd service files in $out/lib/systemd/system/<name>.service . Then NixOS users can add this to `systemd.packages = [ <the package> ]` for the service to be installed
<infinisil> But generally it's nicer UX to have a NixOS module
<infinisil> Because you can then just do e.g. `services.foo.enable = true`, and configure things about it easily
<afreak> yeah, the app i want to wrap wont work without dhe daemon running
kalbasit has joined #nixos
BellRooks has quit [Ping timeout: 264 seconds]
<infinisil> nixpkgs has many examples of NixOS modules for services
alexherbo2 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93074 → libmatroska: 1.5.2 -> 1.6.0 → https://git.io/JJOhj
<afreak> thanks
ris has quit [Remote host closed the connection]
ris has joined #nixos
<flokli> infinisil: on the systemd.packages note, which output would you pick in a multiple output derivation?
<flokli> $bin? $lib? $systemd?
<{^_^}> [nixpkgs] @kalbasit merged pull request #92653 → mellowplayer: init at 3.6.4 → https://git.io/JJtQS
<{^_^}> [nixpkgs] @kalbasit pushed to master « mellowplayer: init at 3.6.4 (#92653) »: https://git.io/JJOjC
<{^_^}> #93073 (by dasJ, 10 minutes ago, open): nixos/systemd: Implement a packages option for tmpfiles
<chloekek> I’m confused about https://nixos.wiki/wiki/Creating_a_NixOS_live_CD. Will this file and command create an ISO that mirrors the machine it was created on? Is it possible to instead create an ISO that is just like the minimal installer, but with some extra packages added to it?
<infinisil> flokli: Looks like it uses the default output
ixxie has quit [Quit: Lost terminal]
<flokli> infinisil: yes, it currently does
<flokli> I wonder if it should stay this way, as written in the linked PRs
<infinisil> Ah right
<infinisil> Hm so I think multiple outputs are a bit clumsy right now
<infinisil> You don't always know which file should go in/come from which output
meh` has joined #nixos
<infinisil> I think ideally we'd have a clearly defined $out layout, which describes where everything needs to go
<emmanuel`> I know the answer to this question may be no, but is it possible to change the permissions of a file in the nix store in NixOS (I know that goes against the spirit of what the store is for)?
<emmanuel`> The situation is that I've downloaded some binaries and I would like to make them executable
<infinisil> Then we can also have a standard set of output and output assigners, which split $out into a set of derivation-decided outputs (that's what happens already)
<{^_^}> [nixpkgs] @ttuegel pushed to u/kde « kcmutils: remove obsolete patch »: https://git.io/JJOjX
<srhb> emmanuel`: That's not a problem in itself. What are you actually trying to achieve?
<srhb> emmanuel`: (As in, it's perfectly normal for a build to chmod +x some files)
<infinisil> flokli: But then I think we should also have a convenience function like `lib.getFile <derivation> <subpath>` which first looks up in which output the subpath should be, then gets the file from that output
<flokli> infinisil: umm, not sure.
<emmanuel`> shrb: I am fetching a set of binaries with "builtins.fetchTarball" for a particular build.
<flokli> we currently apply getBin / getLib on the packages passed to the udev option
<evanjs> Alright, so, seeing an error like "error: creating symlink from '/home/demo/overlay/pkgs/simple-help-remote/result.tmp-14263-1251280719' to '/nix/store/pfhq0fxrkmbspjs1is39xx9m9wr5yc7b-simple-help-remote-support': Operation not permitted"
<infinisil> So e.g. you'd have a standard output mapping like `lib.outputMapping = { bin = [ "bin/*" ]; lib = [ "lib/*" ]; }` or so. And you could use `lib.getFile pkgs.hello "bin/hello"` which translates to `pkgs.hello.bin + "/bin/hello"`
<evanjs> Anybody have an idea of where to start with that?
<emmanuel`> Then I want to ensure those binaries are executable, because they need to be for the application
<evanjs> The build seems to near completion and then die like that
<evanjs> works on _my_ machines, though :P
<emmanuel`> I'm rerunning the nix-build right now.
<evanjs> I think this is in a NixOS VM on Catalina, if that matters
<flokli> infinisil: I'm mostly concerned about being consistent here. If it's always either in that output or in another if that output doesn't exist, it won't be too complicated
<emmanuel`> I want to make sure that the build fails again when it gets to that step.
<infinisil> flokli: It gets complicated for backwards compat at least
<srhb> emmanuel`: If you're trying to change the permissions on some _input_ to your build, that will (and should) fail
<srhb> emmanuel`: Those paths are indeed immutable
<infinisil> flokli: Because without a function like lib.getFile, you have to guess which output a file belongs to
<infinisil> And if this ever changes, it breaks everybody that assumed the default output before
<infinisil> But anyways, this is probably better for an RFC
<flokli> lib.getFile also can't poke into random outputs to look if it's there
<emmanuel`> So the only way around this is to actually build the binary instead of downloading it from elsewhere^
<flokli> it's only another indirection about how to describe in which output thing X is, without explicitly writing it
<infinisil> flokli: Can't do that because then it would have to evaluate all outputs just to find the correct one (which kind of defeats the point of multiple outputs)
<flokli> yes
<flokli> I mean, I'd rather have this consistent across all packages
<flokli> Maybe warn if you try to add a package that doesn't expose any of the files it expects
<infinisil> That sounds like a good idea
<flokli> as in, if you assing something to services.udev.packages that doesn't expose udev rules, don't build it
<srhb> emmanuel`: No, you can copy it in place and modify it however you like in $out, say
alexherbo2 has joined #nixos
<emmanuel`> srhb: I was just thinking that.
<srhb> emmanuel`: It has nothing to do with built vs source. (Whether the binary you're grabbing is useful as-is is another question)
<infinisil> flokli: And how would you check that without building it?
<{^_^}> [nixpkgs] @raboof opened pull request #93075 → sweethome3d: improve performance by enabling OpenGL for java2d → https://git.io/JJ3ev
<AmandaC> Build is just a verb. It doesn't matter what the input/outputs are. Your "build" step can be to take th einput (some binaries) and create an output (Those same binaries but with chmod +x )
<AmandaC> it's all the same to Nix weather you're doing that, or compiling stuff from C/C++ source code
<emmanuel`> Here is the culprit of the problem I think (https://pastebin.com/7KZLmQhU)
chrmb has quit [Remote host closed the connection]
<emmanuel`> If I were to add "cp" command here, is it possible to modify the permissions during the copying?
captn3m0 has joined #nixos
captn3m0- has quit [Ping timeout: 258 seconds]
chrmb has joined #nixos
alexherbo2 has quit [Ping timeout: 264 seconds]
<nDuff> emmanuel`, ...as an aside, pastebin.com has ads (for those that don't block 'em), and a long history, during parts of which they took very little care as to whose ads they showed (and permitted javascript/animated/etc ones). It's worth considering alternatives -- gist.github.com, ix.io, &c.
<srhb> emmanuel`: The key takeaway is that you can't modify anything in ${binaries}
waleee-cl has joined #nixos
<flokli> infinisil: you build it. Main goal here is it'll complain when you try to build that system, instead of silently dropping systemd units or udev rules
<nDuff> ...now, actually looking at that code...
<srhb> emmanuel`: Once you copy them to $out, you can do whatever to them.
<flokli> and for everything that has a nixos test, we'll notice :-)
<srhb> emmanuel`: Imagine if the converse were true; any build could modify any existing package willy nilly.
__monty__ has joined #nixos
<emmanuel`> Ok, this makes sense to me. Thank you for help
<nDuff> note that $(ls $binaries) is considered an antipattern by bash folks -- see https://mywiki.wooledge.org/ParsingLs. Better to refer to "$binaries"/* -- you can get from the fully-qualified path that expands to one with the filename only via ''${bin##*/} (the two double quotes being to prevent nix from treating the dollar-curly as an escape into nix code, vs a bash expression.
<infinisil> flokli: Ah I see, you were talking about building the system, not the package
<nDuff> (though there are _lots_ of things that are antipatterns in the bash world done habitually by nix folk; that's a... significant fight to try to have)
alexherbo2 has joined #nixos
<emmanuel`> Change I just change the permissions on the symlink I've created instead of actually copying the binaries?
<simpson> nDuff++ for bringing the solution and not just the problem
<{^_^}> nDuff's karma got increased to 1
<colemickens> shellcheck all the shell embedded in nix
<srhb> emmanuel`: Here's a simple unexecutable hello to demonstrate: nix-build -E 'with import <nixpkgs> {}; pkgs.runCommand "no-exec-hello" {} "cp ${pkgs.hello}/bin/hello $out && chmod -x $out"'
<simpson> bash is not an easy language when it comes to style. It'd be nice if we could check it.
<infinisil> We can check it with shellcheck!
<srhb> emmanuel`: Because I've copied it, I'm free to chmod it.
<flokli> infinisil: having some logic in the multi-output code moving around files into the appropriate locations if you don't explicitly specify it could nicely complement things indeed
<emmanuel`> Ok this helps! Thank you so much.
<srhb> (Or rather, because I'm not trying to modify an existing path)
<flokli> But I assume this will cause mass rebuilds as well…
chloekek has left #nixos ["WeeChat 2.7.1"]
asymptotically has joined #nixos
<nDuff> (note that I'd suggest cp --reflink=auto to _try_ to avoid using extra storage via that cp when the nix store is on btrfs, xfs with the relevant flags enabled, or another reflink-capable filesystem).
<nDuff> ...one could also use a hardlink to be able to change permissions without extra storage.
<infinisil> flokli: Something like this is already implemented btw: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/setup-hooks/multiple-outputs.sh
<infinisil> This is how standard outputs like doc/dev/lib get populated
<srhb> nDuff: Hmm, that doesn't sound normal to me.
<nDuff> srhb, granted, it's not a common practice. I do it myself because I have derivations that work with multi-gb files.
<srhb> nDuff: Maybe that's btrfs specific? Does Nix permit that? Because I feel like it should fail since it wouldn't work on normal fs'es where permissions are the same on all hardlinks
freezeboy has joined #nixos
<nDuff> Oh -- the hardlink side, not the reflink side. I'm probably just wrong about hardlinks (since what I'm actually using are reflinks).
<srhb> Ah ok. :)
<nDuff> makes more sense for it to be the inode with the permissions now that I step back and think about it.
<srhb> Yeah, exactly.
<cole-h> Anybody know if it's possible (or even how) to apply a patch to one of niv's `sources.<source>`?
sarahzrf has joined #nixos
<sarahzrf> ummm, what's the difference between ~/.nixpkgs/config.nix and ~/.config/nixpkgs/config.nix
<srhb> sarahzrf: The first is older and obsolete.
<sarahzrf> is that documented somewhere >.<
<srhb> pkgs/top-level/impure.nix
<sarahzrf> (i believe you, just wondering where i was supposed ot be able to find out)
<srhb> Not easily. :-)
<sarahzrf> oy gevalt
<srhb> Or, maybe... I don't know.
<srhb> sarahzrf: Ideally it'd be in the nixpkgs manual, or in a nixpkgs changelog, but really there's no such thing.
<sarahzrf> :\
<srhb> (ideallier it didn't exist at all, but ...)
<srhb> sarahzrf: fwiw flakes sort of try to do away with all the spooky action at a distance config of nixpkgs (and anything else, really)
<srhb> We'll see how that pans out. :)
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJ3ex
<superbaloo> I have a static build of clevis, which builds against libcurl, libjansson and others. Some of those dependencies should creep out as referenceds in the output, some should be included (because used binaries from those builds), some others should not (because static build). I'm trying to save space here, is there a standard way to filter references?
<{^_^}> [nixpkgs] @Luflosi opened pull request #93076 → lolcat: 100.0.0 -> 100.0.1 → https://git.io/JJ3vI
<sarahzrf> what's flakes?
<srhb> sarahzrf: A proposed mechanism for (among other things) purifying nix evaluation
<srhb> There's an RFC, but I believe the docs are a bit out of date with the implementation at this point; https://github.com/nixos/rfcs/pull/49 -- anyway, I just meant that perhaps there's light at the end of the tunnel wrt. config file from all over behaving in a hard-to-predict manner (lack of docs notwithstanding)
<{^_^}> nixos/rfcs#49 (by edolstra, 51 weeks ago, open): [RFC 0049] Flakes
<asymmetric> does anyone know how to build the etoile and aile variants of the iosevka font?
dsx has quit [Quit: dsx]
<asymmetric> cc cstrahan
<cole-h> Copy the build plan, maybe?
alexherbo2 has quit [Ping timeout: 240 seconds]
jb55 has quit [Ping timeout: 240 seconds]
jb55 has joined #nixos
<{^_^}> [nixpkgs] @RomanSharapov opened pull request #93077 → nixos/buildbot: enable configurable keepalive for buildbot worker → https://git.io/JJ3vw
<asymmetric> cole-h: right, was wondering if it's a problem of how we invoke the build script, or if it's intended that they're not built by default
growpotkin has joined #nixos
<cole-h> Intended AFAIK. Why build all the many variants?
proofofkeags has joined #nixos
noudle has quit []
alexherbo2 has joined #nixos
zeta_0 has joined #nixos
meh` has quit [Ping timeout: 272 seconds]
<{^_^}> [nix] @Ma27 opened pull request #3809 → Fix gitlab-fetcher to obtain tags and branches → https://git.io/JJ3Jv
<{^_^}> [nixpkgs] @ttuegel merged pull request #90585 → birdtray: fix qttranslations path → https://git.io/Jf5qM
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/JJ3Jm
<zeta_0> i need to use the `niv` tool for this ghc.nix, but executing: `niv init` and `niv update` is throwing errors, am I missing some other commands? https://github.com/alpmestan/ghc.nix https://github.com/nmattia/niv
<zeta_0> hmmm
<immae> you should not need "niv" to simply build the derivation, only to update it
<flokli> ewww, it seems https://github.com/NixOS/nixpkgs/pull/91689 broke the `rls` build on master, didn't it?
<{^_^}> #91689 (by Flakebi, 2 weeks ago, merged): buildRustPackage: fix cargoBuildFlags
<immae> zeta_0: other than that I was able to run niv update successfully, so I’ll need your errors if you want any help
<zeta_0> immae: https://dpaste.org/PEGW
<immae> (niv init should not be executed, it’s only the first time that you need it)
<{^_^}> [nixpkgs] @flokli merged pull request #93076 → lolcat: 100.0.0 -> 100.0.1 → https://git.io/JJ3vI
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJ3Jo
<immae> you forgot to cd into the directory?
<immae> (as far as I see from your prompt)
<{^_^}> [nixpkgs] @jonringer opened pull request #93078 → yamllint: add top-level attribute → https://git.io/JJ3JK
<zeta_0> immae: https://dpaste.org/v45K
<cole-h> flokli: Any reason why you aren't using rust-analyzer?
<immae> zeta_0: git clone https://github.com/alpmestan/ghc.nix ; cd ghc.nix ; niv update
<cole-h> (not to dismiss that problem, just curious)
<zeta_0> immae: ok, one second, i'm going to delete the repo and re-clone it again
<{^_^}> [nixpkgs] @adisbladis merged pull request #86278 → nixos.users-groups: Set up subuid/subgid mappings for all normal users → https://git.io/Jfm58
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to master: https://git.io/JJ3Jb
<zeta_0> immae: that did the trick, it's working now, niv is updating everything now, thanks
<zeta_0> immae++
<{^_^}> immae's karma got increased to like 20, I think
<immae> yoou’re welcome!
<evanjs> anybody have experience with "Parse C Source" in Ghidra on NixOS? Wonder if there's anything special I need to do
<evanjs> Wait I forgot to set LDLibrary or whatever, but unsure if I really need to get the fake FHS setup for this
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<flokli> cole-h: rust-analyzer works, I just had rls somewhere else in my closure.
dsx has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #92616 → ovito: mark broken → https://git.io/JJto1
<{^_^}> [nixpkgs] @jonringer pushed to master « ovito: mark broken »: https://git.io/JJ3Uz
<{^_^}> [nixpkgs] @jonringer closed pull request #92733 → [WIP] python3Packages.setuptools: 47.3.1 -> 49.1.0 → https://git.io/JJqig
<{^_^}> [nixpkgs] @jonringer merged pull request #91981 → python3Packages.pygogo: init at 0.13.2 → https://git.io/JJU8a
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJ3UA
noudle has joined #nixos
zupo has joined #nixos
<{^_^}> [nix] @edolstra pushed 5 commits to nix-copy: https://git.io/JJ3TL
turlando has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @cfhammill opened pull request #93079 → rpackages.RcppParallel: Patch shebang → https://git.io/JJ3T2
dermetfan has joined #nixos
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
cosimone has quit [Quit: Quit.]
noudle has quit []
fendor has quit [Remote host closed the connection]
maier has joined #nixos
sangoma has quit [Ping timeout: 265 seconds]
incognito9999_ has quit [Quit: ZNC 1.7.2+deb3~bpo9+1 - https://znc.in]
zebrag has quit [Ping timeout: 240 seconds]
inkbottle has joined #nixos
incognito9999 has joined #nixos
seku has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93080 → munin: 2.0.63 -> 2.0.64 → https://git.io/JJ3kV
sajo has joined #nixos
<sajo> Any way to purge broken store paths? I'm getting "...is not in the Nix store" when trying to install a package. I'm guessing there is some broken link in the cache.
<pylsan> sajo: nix optimise-store ?
<sajo> Just tried. Still got the same error when installing something :(
<timokau[m]> sajo: nix-store --verify --repair
<timokau[m]> Maybe --check-contents (check the docs)
<sajo> Will give it a try. Ah I just found the part of the manual about this.
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #92940 → python3Packages.mac_alias: init at 2.0.7 → https://git.io/JJYKM
<{^_^}> [nixpkgs] @jonringer pushed commit from @siriobalmelli to master « python3Packages.mac_alias: init at 2.0.7 »: https://git.io/JJ3IW
<sajo> Ok just tried nix-store --repair-path also with no success. Maybe the problem is something else...
<{^_^}> [nixpkgs] @ttuegel pushed 3 commits to u/kde: https://git.io/JJ3Iu
<{^_^}> [nixpkgs] @jonringer merged pull request #92938 → python3Packages.biplist: init at 1.0.3 → https://git.io/JJYKg
<{^_^}> [nixpkgs] @jonringer pushed commit from @siriobalmelli to master « python3Packages.biplist: init at 1.0.3 »: https://git.io/JJ3Iz
alexherbo23 has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo23 is now known as alexherbo2
Fare has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ttuegel pushed to u/kde « kdegraphics-thumbnailers: remove obsolete patch »: https://git.io/JJ3I6
<patagonicus> So, I'm trying to build a custom system image and for that I'm using `config = import <nixpkgs/nixos> { configuration = ./configuration.nix }`. Getting the store paths for the root fs is not a problem, but now I'm trying to figure out how to get at boot.loader.generic-extlinux-compatible.populateCmd. Using config.config.boot.*.populateCmd doesn't
<patagonicus> work, because it doesn't exist. Can someone point me in the right direction? Also not sure if that's even the right way to get config, but config.system works as an input for make-ext4-fs …
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7e8d9197878 (from 58 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
endformationage has joined #nixos
fendor has joined #nixos
alp has joined #nixos
proofofkeags has quit [Remote host closed the connection]
davidv7_ has quit [Ping timeout: 246 seconds]
philr_ has quit [Ping timeout: 264 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sajo has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #93077 → nixos/buildbot: enable configurable keepalive for buildbot worker → https://git.io/JJ3vw
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJ3LK
proofofkeags has joined #nixos
cosimone has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93081 → mpfr: 4.0.2 -> 4.1.0 → https://git.io/JJ3Lb
zupo has joined #nixos
sangoma has joined #nixos
gustavderdrache has joined #nixos
justanotheruser has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tokudan has quit [Remote host closed the connection]
zupo has joined #nixos
rooke has quit [Ping timeout: 260 seconds]
tokudan has joined #nixos
is_null has quit [Remote host closed the connection]
rooke has joined #nixos
chimay has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @ttuegel pushed to u/kde « kdenlive: depend on qtquickcontrols2 »: https://git.io/JJ3qC
cosimone has quit [Quit: Quit.]
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos
proofofkeags has quit [Remote host closed the connection]
fresheyeball has quit [Ping timeout: 264 seconds]
proofofkeags has joined #nixos
fresheyeball has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @ttuegel pushed to u/kde « messagelib: depend on qca-qt5 »: https://git.io/JJ3qd
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJ3qh
Thra11 has joined #nixos
alexherbo2 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @ttuegel pushed to u/kde « spectacle: update qdbus location »: https://git.io/JJ3m3
orivej has quit [Ping timeout: 240 seconds]
maier has quit [Ping timeout: 240 seconds]
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #93067 → nextpnr: fix build on macOS → https://git.io/JJOFe
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJ3mo
sajo has joined #nixos
justache has quit [Remote host closed the connection]
proofofkeags has quit [Ping timeout: 246 seconds]
<sajo> How do I build Nix from source as an installer? Specifically the darwin installer which has a script and a store folder that gets copied
justache has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
fresheyeball has quit [Ping timeout: 256 seconds]
domogled has joined #nixos
fresheyeball has joined #nixos
slack1256 has joined #nixos
proofofkeags has joined #nixos
justanotheruser has joined #nixos
<patagonicus> Sajo: I'm guessing https://github.com/NixOS/nix#building-nix but I don't know.
<kraem[m]> hpfr: found your question about redirecting usb devices in virt-manager. did you solve it eventually? just ran into the same problem
<drakonis> do my eyes deceive me?
<drakonis> kde will finally be bumped to a newer version?
<hpfr[m]> The first line is mentioned in the spice-gtk derivation in a comment, and I had to figure the system package part out myself. Should really be a NixOS module
<sajo> Thanks patagonicus. I tried that and it looks like the output was a store folder of nix iteslf. So I'm guessing I put that store folder along with the store folders of its dependencies, and recreate the structure of the installer?
<nDuff> ...a real bootstrap-from-nothing effort would be interesting -- something like the Mes project that GUIX is doing. A lot of work, though -- actually, insofar as GUIX can build Nix derivations, I could see using Mes as a means to bootstrap Nix.
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « python3Packages.mysql-connector: 8.0.20 -> 8.0.21 »: https://git.io/JJ3YS
<{^_^}> [nixpkgs] @primeos merged pull request #92977 → mesa: 20.0.8 -> 20.1.3 → https://git.io/JJYNk
<{^_^}> [nixpkgs] @primeos pushed commit from @colemickens to staging « mesa: 20.0.8 -> 20.1.3 (#92977) »: https://git.io/JJ3YQ
<kraem[m]> hpfr++ thanks
<{^_^}> hpfr's karma got increased to 1
alexherbo2 has joined #nixos
<patagonicus> Sajo: Currently building it myself to see. There's also https://github.com/NixOS/nix/blob/master/maintainers/upload-release.pl but that has hardcoded paths in one users home directory in it …
<{^_^}> [nixpkgs] @Ma27 pushed to master « rustracer: 2.1.30 -> 2.1.33, fix build »: https://git.io/JJ3OL
simukis__ has joined #nixos
<patagonicus> Sajo: Hmm. From what I can tell the installer has a store directory in it which contains nix + its runtime dependency. Not exactly sure how you figure out which ones that are, but nix-copy-closure might be a good start. I don't know how to build the installer scripts - they might be built with something other than nix.
simukis_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #93078 → yamllint: add top-level attribute → https://git.io/JJ3JK
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/JJ3OV
mla has quit [Ping timeout: 256 seconds]
<bqv> i've just seen http://gituhb.com/Mic92/nix-build-uncached - is this issue still present in `nix build`?
<CrunchyChewie> I still really seem to struggle with grok'ing overlays
<CrunchyChewie> I want to use this overlay: https://github.com/nix-community/emacs-overlay
<CrunchyChewie> but I can't figure out what config blocks I put where and in what files
<gchristensen> bqv: issue?
<bqv> gchristensen: with nix-build fetching stuff that doesn't need to be fetched
knupfer has quit [Ping timeout: 260 seconds]
<gchristensen> that isn't the issue
<bqv> CrunchyChewie: in your configuration.nix, have you tried adding `nixpkgs.config = fetchGit { url = "..github..emacs-overlay"; rev = "..."; sha256 = "..."; }`
<bqv> or similar
<gchristensen> nor is it an issue. this tool is, like, a meta tool for package management
<{^_^}> [nixpkgs] @Ma27 merged pull request #93004 → firefox/packages: drop old aliases → https://git.io/JJOTo
<bqv> sorry, that should be .overlays = [ (fetchgit { ... }) ]
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJ3OH
<gchristensen> here is a list of things I that might be broken, let's see if any of them build now -- but don't bother trying if it is already in the cache
<NobbZ[m]> CrunchyChewie: In my `overrides.nix` I have one entry in the list roughly equivalent to `(import (builtins.fetchTarball "https://github.com/nix-community/emacs-overlay/archive/<rev>.tar.gz"))`
<qyliss> Whoa that's cool.
<CrunchyChewie> bqv: I have not, but that is in no way described here: https://nixos.wiki/wiki/Overlays
<bqv> gchristensen: i'm still confused
<CrunchyChewie> NobbZ[m]: is that file(overrides.nix) in .config/nixpkgs ?
<NobbZ[m]> yes
<bqv> CrunchyChewie: actually, it is, if you ctrl-f nixpkgs.overlays
<NobbZ[m]> Though as bqv
<NobbZ[m]> * Though as bqv already has mentioned, you can use multiple ways to specify your overlays, depending on the scope you need them in.
<bqv> yeah
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJ3O7
<NobbZ[m]> I like my overlays to be available in the full user environment, others prefer to have them only available for the environment they do actually build
<CrunchyChewie> `nixpkgs.config` is not in that doc
<NobbZ[m]> I'm aware of the fact that many of my `shell.nix` will just break.
<bqv> CrunchyChewie: yeah, i misspoke, i corrected that (twice :p)
moet has joined #nixos
<gchristensen> bqv: if you don't know what that tool does, you probably don't want it :P
<gchristensen> (and it isn't working around an issue in Nix)
dansho has joined #nixos
<CrunchyChewie> bqv: fair enough
<CrunchyChewie> sorry I read it wrong
* colemickens hates this exact conversation
<bqv> gchristensen: yeah, that's fine, i was just curious
inf has quit [Ping timeout: 258 seconds]
<bqv> CrunchyChewie: it's cool
<CrunchyChewie> so there's an overrides.nix, an overlays.nix, as well as an overlays directory where you can put named .nix overlays?
<bqv> as well as nixpkgs.overlays
<gchristensen> bqv: the tool is for this scenario: today, you notice that foo, bar, baz don't build. in 6 months you wonder if foo, bar, baz build. that tool will check to see if foo, bar, baz build but will first to see if each package was built by upstream before attempting to build it -- and if it was, not even bother downloading it.
<colemickens> NIX_PATH, ~/.config/nixpkgs/config, nixpkgs.overlays, implications for nix-shell, implications for nixos-rebuild. It's easy to forget and make mistakes even when you know about the details.
<moet> hello, i'm trying to run some haskell tests as part of a nix-build .. i'd like to have a standard ghc-environment-file output into the build directory prior to running the test executable.. this file is usually output by cabal, but cabal isn't used by the haskell generic-builder.nix.. is there a way within the haskell infra to output a ghc-environment file?
<NobbZ[m]> Either use `overlays.nix` *or* the folder, not both
o1lo01ol1o has joined #nixos
<colemickens> nix-build-uncached is useful for nixpkgs-wayland (though I had to back it out due to my bug)
<CrunchyChewie> it would seem like, over time, the more scalable option is the directory with named files
<colemickens> without it, builds.sr.ht will download every overlay package from the binary cache due to `nix-build`.
<colemickens> With it, it will realize that 90% of the time all of the builds are cached and it can just no-op and exit without downloading hundreds of megabytes.
<bqv> gchristensen: ah, that makes sense. so the situation where you care only about whether the build is successful, and not on the result
<moet> alternatively, i've tried to run cabal to output the ghc-environment file in the `preCheck` hook, but have been having some troubl ewith that also.
Max27 has joined #nixos
<qyliss> colemickens: do you mean builds are cached by your own binary cache?
<bqv> CrunchyChewie: as that wiki page says, you can actually use all those solutions at once :D
<bqv> for example, i insert my overlays via nixpkgs.overlays, but i actually do have a directory of files
<bqv> which are each an overlay .nix file
<bqv> this isn't necessarily the simplest of architectures
<bqv> but at least it's very pure..
<CrunchyChewie> bqv: going back to the emacs example, what does that individual overlay file look like
<CrunchyChewie> the `self: super:` syntax?
<colemickens> qyliss: I think so, if I parsed the question right. The CI job pushes my cachix at the end, and it's specified as an extra binary mirror on the calls to `nix-build-uncached`.
<CrunchyChewie> that's already defined in the default.nix file in that repo
<bqv> CrunchyChewie: you don't have to do self: super: in that case, because you've already got the overlay function prebuilt from emacs-overlay
<bqv> exactly
<CrunchyChewie> ah
<qyliss> colemickens: cool, that answers my question. thanks for clarifying.
<colemickens> fun fact, nix-build-uncached runs a dry-run and string parses the output.
<CrunchyChewie> so in this case, specifically, I just need to make the fetchGit call in the overlays array in my config
<bqv> if you really wanted a file, you can just have that file be "import (fetchFromGithub whatever)"
* CrunchyChewie nods
<bqv> but that seems extraneously pointless to me
<CrunchyChewie> agreed
<CrunchyChewie> lemme give this a shot, ty for the assistance
<bqv> np
karetsu has joined #nixos
<Max27> Hi all, I'm running into an issue where secret-tool stopped working after switching from GDM to lightdm. I think it might be related to dbus
<Mic92> bqv: yes
<Mic92> In fact I need to extend my tool for flakes as well.
alp has joined #nixos
inf has joined #nixos
noneucat has joined #nixos
litschi has quit [Quit: WeeChat 2.7.1]
<dansho> anyone know why rustc can't find libz? https://paste.rs/6CU
<{^_^}> [nixpkgs] @cfhammill opened pull request #93082 → singularity-tools: Check for /bin/sh existence before symlink → https://git.io/JJ33r
<clever> dansho: what does `LD_TRACE_LOADED_OBJECTS=1 rustc` report?
domogled has quit [Quit: domogled]
<dansho> clever, https://paste.rs/iky
<clever> dansho: what does `which rustup` report?
<clever> i mean, `which rustc`
litschi has joined #nixos
<CrunchyChewie> bqv: after adding that block to configuration.nix and doing a rebuild, the overlay version of emacs is still not being installed
<yurb> a noob question... if I do a `nixpkgs-review pr 93014` on https://github.com/NixOS/nixpkgs/pull/93014 and I'm running nixos-20.03 will it build everything from the master of nixpkgs down to glibc?
<{^_^}> #93014 (by srhb, 1 day ago, open): ardour: 6.0 -> 6.2
<{^_^}> [nixpkgs] @gebner merged pull request #93063 → nrfutil: 5.2 -> 6.1, pc-ble-driver-py: 0.11.4 -> 0.14.2, py-ble-driver: init at 4.1.1 → https://git.io/JJO56
<{^_^}> [nixpkgs] @gebner pushed 4 commits to master: https://git.io/JJ339
<NobbZ[m]> CrunchyChewie: How do you specify the emacs to install?
<bqv> CrunchyChewie: it won't be, that overlay doesn't replace `emacs`, it adds `emacsUnstable`, `emacsGit`, and `emacsGcc`
<infinisil> yurb: Master usually has most things prebuilt already
<bqv> so where you've added emacs to be installed, replace that with emacsUnstable
<infinisil> yurb: Well except the changes in the PR I guess
o1lo01ol_ has joined #nixos
<dansho> clever, /nix/store/agkcjxp14liprp815d07ibaf2shnrmm4-rustup-1.18.3/bin/rustc
<yurb> infinisil: thanks, rebuilding ardour is okay for me, I was a little scared about my laptop melting under rebuilding all of its dependencies:)
<clever> dansho: then why are you getting an error from /home/dansho/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc ?
<dansho> no idea
<clever> dansho: it feels like the rustc you ran ldd on, is working perfectly fine, but it then decides to run a totally different rustc, check `strace rustc --version` ?
<colemickens> cargo and rustc can come from different places and call different things
<colemickens> I've been bit by that before.
<CrunchyChewie> bqv: ah, I'll give that a shot, thank you
<adisbladis> yurb: Nix will tell you what it will build before it does so, so you can bail out if it seems too heavy
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<yurb> good to know
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<dansho> clever, https://paste.ee/p/4c2zI
Max27 has quit [Remote host closed the connection]
<clever> write(1, "rustc 1.41.0-nightly (bbb664a99 "..., 44rustc 1.41.0-nightly (bbb664a99 2019-11-28)
<clever> dansho: it printed a version without any errors..., weird
<clever> openat(AT_FDCWD, "/home/dansho/.rustup/settings.toml", O_RDONLY|O_CLOEXEC) = 3
<dansho> oh, my mistake i had a rust-toolchain to use the latest nightly
<dansho> 1 sec
<clever> dansho: i think this config file is forcing it to run the wrong rustc
<clever> execve("/home/dansho/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc", ["/home/dansho/.rustup/toolchain"..., "--version"], 0x55e1e0906310 /* 124 vars */) = 0
<clever> dansho: its reading that same config file, and running the "wrong" rustc
proofofkeags has quit [Ping timeout: 256 seconds]
karetsu has quit [Quit: WeeChat 2.8]
<clever> dansho: only the rustc in the nix store will work, and its being dumb and re-running the broken rustc's from ~/.rustup/ to "help you" with changing versions (which cant work on nix)
<clever> bbl
<{^_^}> [nixpkgs] @risicle opened pull request #93083 → cpython: add separateDebugInfo, allow use of gdb libpython → https://git.io/JJ3sn
asymptotically has quit [Quit: Leaving]
<dansho> well I can get rid of that old version, I did `rustup default nightly` but I still get the same error
<moet> is there any way to get nix to produce a ghc-environment file?
<moet> (during build)
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
seku has quit [Quit: Connection closed]
rardiol has quit [Ping timeout: 246 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nixbitcoin has quit [Remote host closed the connection]
sangoma has quit [Quit: WeeChat 2.8]
nixbitcoin has joined #nixos
<moet> i did some hack to get cabal to run in preCheck to produce the ghc-environment file, but cabal complains about nix's use of GHC_PACKAGE_PATH .. i'm getting the sense that this seemingly intentional hamstringing of cabal is something i shouldn't fight
<CrunchyChewie> bqv: appears to have worked, thanks again (NobbZ[m] too)
justanotheruser has quit [Ping timeout: 246 seconds]
<adisbladis> CrunchyChewie: I'd really appreciate a PR to emacs-overlay with better instructions. You are not the first person to struggle with this. I'm just not sure how to restructure things.
<CrunchyChewie> sure thing... I guess the fuzziness comes from the multiple ways to address package modification that NixOS offers
<CrunchyChewie> adisbladis: maybe a section that communicates its an opinionated, bare minimum, "do this to get it working" quick-launch?
<CrunchyChewie> and then caveat: "please read further at A, B, C to understand overlays etc..."
<{^_^}> [nixpkgs] @timokau merged pull request #92697 → jabcode: init at git-2020-05-13 → https://git.io/JJqZO
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JJ3Gw
bkv has joined #nixos
simba2 has quit [Ping timeout: 256 seconds]
notzmv has joined #nixos
bqv has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @ludovicc opened pull request #93084 → pulumi: 2.2.1 -> 2.6.1 → https://git.io/JJ3Gy
<bkv> no prob
justanotheruser has joined #nixos
<bqy> No prob
<bkv> dammit matrix
<CrunchyChewie> lol
<slack1256> Does anyone use the fish shell here?
<bkv> many
<bkv> of recent speakers, at least adisbladis
<CrunchyChewie> I see it mentioned more and more
<CrunchyChewie> zsh user my self
<bkv> i use xonsh and/or emacs
<adisbladis> 🐟 <3
dermetfan has quit [Ping timeout: 260 seconds]
<slack1256> Nice. I am using fish enabled from configuration.nix programs.fish.enable = true; . Every fish session I launch has `nano` as a global exported variable for EDITOR. I already set a universal exported variable for EDITOR as emacsclient. When I do `set --show EDITOR` it shows both. But some programs such as `pass` use the nano editor instead of emacsclient. How do I stop fish from setting the global EDITOR variable?
__monty__ has quit [Quit: leaving]
jbox has quit [Quit: WeeChat 2.8]
<hpfr[m]> Fish user here, what does universal exported variable mean? Variables are shell-dependent
sarahzrf has left #nixos ["WeeChat 2.8"]
<bkv> it might be that those apps require a different variable
<immae> probably pam environment?
<slack1256> hpfr[m]: As per fishdocs, universal variables are variable that persist between reboots.
<bkv> oh
<bkv> that's not what you need
<bkv> (is it the same as an environment variable?)
<bkv> if you try `export EDITOR emacsclient` and then run pass again, does it work better?
<adisbladis> You most likely want `environment.sessionVariables`
<bkv> or whatever the fish syntax is
<adisbladis> (which does default to nano btw, so that's likely where it's coming from)
<bkv> if so, then yeah, what adisbladis said
<adisbladis> Ah
<adisbladis> environment.variables.EDITOR = "emacsclient"
<slack1256> Oh let me check that variable
<adisbladis> That's what you want I think
<slack1256> adisbladis: I think you're right. I will try.
<CrunchyChewie> adisbladis: something else I'd be interested in clarification on, what is the correct way to enable the daemon for, say, emacsUnstable?
<adisbladis> CrunchyChewie: Are you talking about services.emacs ?
o1lo01ol_ has quit [Remote host closed the connection]
<adisbladis> If so you can use services.emacs.package
o1lo01ol1o has joined #nixos
fendor has quit [Read error: Connection reset by peer]
moet has quit [Quit: leaving]
<slack1256> adisbladis: It worked, thanks!
<slack1256> adisbladis++
<{^_^}> adisbladis's karma got increased to -2147483648
<slack1256> Woah
<CrunchyChewie> seems like when I did that, it enabled a daemon for 26.3 rather than unstable
<slack1256> What did you do mate
<bkv> CrunchyChewie: you will also have to set services.emacs.package to emacsUnstable
<bkv> or was it programs.emacs.package
<adisbladis> bkv: The former
<bkv> CrunchyChewie: ^
<adisbladis> Though honestly the emacs module should be restructured
<CrunchyChewie> so literally `services.emacs.package = emacsUnstable;` ?
<adisbladis> CrunchyChewie: Yep
<adisbladis> Or pkgs.emacsUnstable
<CrunchyChewie> which is preferred
<adisbladis> CrunchyChewie: The latter, the former requires scoping pkgs using `with`
<adisbladis> bkv: I think we should have programs.emacs to configure emacs itself + packages, services.emacs can simply be an enable option
<adisbladis> I would also like the NixOS exwm module to fit into this model somehow
<adisbladis> Currently these approaches are conflicting
<slack1256> Thank you all, good bye.
slack1256 has quit [Remote host closed the connection]
<adisbladis> o/
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @jtojnar merged pull request #93029 → gammy: init at 0.9.58 → https://git.io/JJOWI
<bkv> adisbladis: i think that actually is how it works, in home-manager
<{^_^}> [nixpkgs] @jtojnar pushed commit from @Atemu to master « gammy: init at 0.9.58 »: https://git.io/JJ3nL
<bkv> that's what confused me
<bkv> it's definitely different between nixos and HM
<adisbladis> I think that the NixOS modules were just scratching someones personal itch without thinking about how they affect each other
ixxie has joined #nixos
<bkv> the exwm module is certainly a mess, i didn't even try and get it working well
<CrunchyChewie> this journey into services has also let me know my pam/user env is a little screwt
<bkv> let the yak shaving begin
<CrunchyChewie> pretty much
<CrunchyChewie> still seems like after ^^ config it's still running the daemon for 26.3
<bkv> it's a user service, right?
<bkv> try systemctl --user daemon-reload
<bkv> then restart it
work_ has joined #nixos
<bkv> neither nixos nor home-manager properly reload user sessions
sleepydog has joined #nixos
Rusty1 has joined #nixos
<CrunchyChewie> ok, fixed that
<CrunchyChewie> but now there are 2 daemons running lol
<bkv> well that's not good..
<adisbladis> Of course that's good
<adisbladis> That's twice as much emacs
<CrunchyChewie> right?
<bkv> a little is good, more must be better!
zeta_0 has joined #nixos
zeta_0 has left #nixos [#nixos]
<rycee> For the Emacs service Home Manager avoids restarting it on switch.
<rycee> It used to do so but for whatever reason people complained about shutting down their Emacs with a million buffers loaded 🤷
<bkv> rycee: i was talking about reloads, not restarts
<bkv> (daemon-reload)
<Graypup_> I'm nixifying software that needs to symlink one of its dependencies into its source directory in order to build. I would also like to have it able to be built in a nix-shell environment, which implies that that symlinking would need to be done to start the shell. Do it in preConfigure and also in the shellHook? or is there a less evil idea?
<Graypup_> actually, it gets worse, since I might need to modify the cabal packages that needs to have its build output symlinked *while* in the shell :O wondering if i should just write a makefile for dev time and use nix for this stuff during actual builds
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJ3cv
<CrunchyChewie> alright well time to shut down tinkering and go feed myself, thanks again for the help everyone.. adisbladis - I'll get a PR over for the docs in the next 24 hrs or so
<Graypup_> (there is a ghcjs part that -ideally- I'd be able to modify along with the ghc part while working on it with the same development shell)
<cole-h> Do it in preConfigure and then run $configurePhase as part of your build process :)
<Graypup_> cole-h, but what about in nix-shell? just put preConfigure in the shellHook? evil but it could work lol
<cole-h> I'm saying to use $configurePhase in your shell yourself.
<Graypup_> hm I guess I could do that, but then I'm basically resigned to writing a makefile since I'd have to do that on every build and I don't want builds to take two commands
<rycee> bkv: Ah, right. In general HM should do a systemd daemon reload during activation. Do you know in which case it doesn't?
erasmas has quit [Quit: leaving]
<bkv> rycee: if for the user daemon, i'm not sure. i feel like i have had instances where issues have been fixed by a manual reload, but there's a fair chance i was doing something else wrong or i'm just remembering nixos's setup
<bkv> (sorry that's not so helpful)
<Graypup_> what if I actually used cabal and Setup.hs to solve my problems :hmm:
<rycee> bkv: HM did for a long time bail out if the systemd session was in a degraded state but for some time it simply resets the failure state and happily continues on to do the reload :-)
<bkv> ahh, okay
<rycee> But of course there might still be cases were it doesn't manage so it would be good to know about those if you run into it again.
sigmundv has quit [Ping timeout: 240 seconds]
<bkv> i'll keep an eye out and let you know if i find a case
m0rphism has quit [Ping timeout: 240 seconds]
<rycee> bkv: I *think* nixos does a very basic switch for user services defined in the nixos configuration, though.
alexherbo2 has quit [Ping timeout: 265 seconds]
<bkv> as far as i understand it, it only replaces the service file, because naturally it's not aware of which user sessions are using it
<bkv> so it will daemon-reload the system manager but not the user service manager
<bkv> and they get out of sync
<bkv> well, i think there was one way to enable a user service for all users, that one probably is supported, but as before HM i was trying to use user services for one user only, that wouldn't work or i'd end up with a root emacs daemon too
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5b2db9151c2 (from 36 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<rycee> bkv: Had a look in NixOS and it does seem to do `systemctl --user daemon-reexec` for each logged in user.
<bkv> huh. that's bizarre. i'm not sure what i was doing that was so cursed that it broke that, then
<bkv> oh, is that even in the case of a partial failure during activation?
moet has joined #nixos
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
pamplemousse has quit [Ping timeout: 240 seconds]
o1lo01ol_ has joined #nixos
tobiasBora2 has quit [Ping timeout: 260 seconds]
D_ has quit [Ping timeout: 260 seconds]
zeta_0 has joined #nixos
tobiasBora2 has joined #nixos
D_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 264 seconds]
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @marsam merged pull request #93059 → jetbrains-mono: 2.000 -> 2.001 → https://git.io/JJOQO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJ3Cf
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @sikmir opened pull request #93085 → routino: enable on darwin → https://git.io/JJ3Cm
<{^_^}> [nixpkgs] @marsam merged pull request #93033 → ffsend: 0.2.64 -> 0.2.65 → https://git.io/JJOB2
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJ3CY
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
ottidmes_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #93005 → urlscan: 0.9.4 -> 0.9.5 → https://git.io/JJOTx
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJ3CG
PrinceMachiavell has joined #nixos
<rycee> bkv: Not sure. It doesn't seem to do a reset-failed for the user systemd sessions, though. So perhaps if the session is in a degraded state it will not do the reexec fully?
<{^_^}> [nixpkgs] @marsam merged pull request #93034 → fping: 4.2 -> 4.3 → https://git.io/JJOuG
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJ3C8
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm_ has joined #nixos
mbrgm_ is now known as mbrgm
<PrinceMachiavell> ,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
ottidmes has joined #nixos
<PrinceMachiavell> I started using NixOS for a prometheus & alertmanager deployment. It seems that the alertmanager service has the DynamicUser=yes set which breaks the storage of persistant data (so silenced alerts will be triggered every time the server restarts). Is there any easy way to configure an override.conf for the service to undo that?
<cole-h> `systemd.services.<servicename>.serviceConfig.DynamicUser = false;` maybe?
philr_ has joined #nixos
<infinisil> PrinceMachiavell: I'd recommend figuring out how to make it work properly with DynamicUser
<infinisil> Just setting DynamicUser to false would make the service run as root, which is really bad
<cole-h> Indeed. Better idea is to change where it stores data, probably