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
Acou_Bass has quit [Ping timeout: 256 seconds]
Acou_Bass has joined #nixos
<{^_^}> [nixpkgs] @jfroche opened pull request #100455 → [20.09] zope_filerepresentation: fix test → https://git.io/JTmIj
hashenas has joined #nixos
mog has quit [Ping timeout: 244 seconds]
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @maralorn opened pull request #100456 → treewide: De-inline uses of lib.boolToString → https://git.io/JTmL0
grant has quit [Remote host closed the connection]
<JJJollyjim> is it possible to use systemd-boot without having all my kernels/initrds on FAT?
hashenas has quit [Quit: Leaving]
<JJJollyjim> or do i need to switch to grub for that
<JJJollyjim> (asking both because of partition space issues and because I don't trust non-journaled filesystems with anything)
freezeboy has quit [Remote host closed the connection]
<aasg> You'd have to switch, afaik
dominikh1 has joined #nixos
ManiacOfMadness has joined #nixos
<g-w1> I am having trouble with fish. when i try to call command-not-found (type invalid command) i get this error:
<g-w1> DBI connect('dbname=/nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite','',...) failed: unable to open database file at /run/current-system/sw/bin/command-not-found line 13.
<g-w1> i looked this up and didn't find anything helpful
dominikh1 has quit [Client Quit]
<g-w1> it seems like sqlite is noot workin
dominikh1 has joined #nixos
<{^_^}> [nixpkgs] @taku0 opened pull request #100457 → [20.09] firefox, firefox-bin: 81.0 -> 81.0.2, firefox-esr: 78.3.0esr -> 78.3.1esr → https://git.io/JTmtS
<{^_^}> [nixpkgs] @taku0 opened pull request #100458 → [20.03] firefox, firefox-bin: 81.0 -> 81.0.2, firefox-esr: 78.3.0esr -> 78.3.1esr → https://git.io/JTmt9
cole-h has quit [Ping timeout: 260 seconds]
<waleee-cl> g-w1: how did you enable fish? Did you just do nix-env -iA fish for your user?
<g-w1> no
<g-w1> i did in my user shell = pkgs.fish;
<g-w1> configuration.nix
<waleee-cl> g-w1: adding programs.fish.enable = true;
<waleee-cl> s/adding/try adding/
<g-w1> yeah I also added that too
<bbigras> Any cachix cache has firefox with the pipewire patch? My computer runs out of hard drive space (or maybe it's ram) while trying to build it.
<g-w1> could this be a sqlite error?
<g-w1> i think this is the issue https://github.com/NixOS/nixpkgs/issues/12044 from 2015 tho?
<{^_^}> #12044 (by akavel, 4 years ago, closed): command-not-found requirements aren't documented
<g-w1> got it. had to do sudo nix-channel --update
growpotk- has joined #nixos
<waleee-cl> you hadn't updated the channels since installing?
<waleee-cl> (or only updated the non-root channels?)
<g-w1> yeah. i installed today
<waleee-cl> it's fairly important to use sudo so the root channels is updated, otherwise a rebuild will be a noop
<g-w1> ok
tmciver has joined #nixos
ManiacOfMadness has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #100455 → [20.09] zope_filerepresentation: fix test → https://git.io/JTmIj
<{^_^}> [nixpkgs] @jonringer pushed commit from @jfroche to release-20.09 « zope_filerepresentation: fix test »: https://git.io/JTmmf
acarrico has joined #nixos
bbarker has quit [Remote host closed the connection]
<g-w1> I am trying to intsall home manager and getting this error when i try to install error: attribute 'formats' missing, at /nix/store/xjm3gk5jk6m3wa00dkg6scc31x6xqjxg-home-manager/home-manager/modules/programs/pet.nix:9:12
<g-w1> i just ran nix-shell '<home-manager>' -A install
<g-w1> i was on wrong home manager version
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #100459 → unqlite: init at 1.1.9 → https://git.io/JTmm7
<g-w1> it worked!
<bbigras> nice
<{^_^}> [nixpkgs] @GTrunSec closed pull request #100115 → apache-kafka: replace ParNew to G1 YoungGeneration → https://git.io/JTfsT
<{^_^}> [nixpkgs] @blaggacao opened pull request #100460 → stale bot: tune up a little → https://git.io/JTmYl
m0rphism has quit [Ping timeout: 260 seconds]
MmeQuignon has quit [Ping timeout: 240 seconds]
palo has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @maralorn merged pull request #99926 → Unbreak haskellPackages.hpack-dhall → https://git.io/JUxlY
<{^_^}> [nixpkgs] @maralorn pushed 2 commits to haskell-updates: https://git.io/JTmYD
ddellacosta has quit [Quit: WeeChat 2.8]
trulsa has quit [Quit: ZNC - http://znc.in]
ericsagnes has quit [Ping timeout: 260 seconds]
ddellacosta has joined #nixos
growpotk- has quit [Ping timeout: 256 seconds]
growpotk- has joined #nixos
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @berbiche closed pull request #89309 → mpvmenu: init at unstable-2018-10-23 → https://git.io/Jfikb
<{^_^}> [nixpkgs] @samuela opened pull request #100461 → vscode: chmod +x update-vscode.sh → https://git.io/JTmsT
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos
thc202 has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #100009 → python3Packages.google_cloud_asset: fix build, 2.0.0 -> 2.1.0 → https://git.io/JUhXv
<{^_^}> [nixpkgs] @jonringer pushed 4 commits to master: https://git.io/JTmsM
<g-w1> is there a way to do non xdg config files (.tmux.conf)
<g-w1> with home manager
ransom has joined #nixos
<{^_^}> [nixpkgs] @blaggacao opened pull request #100462 → stale bot: TL;DR → https://git.io/JTmGm
<bbigras> g-w1: I'm not sure what you mean by non-xdg config file. I'm guessing you saw https://rycee.gitlab.io/home-manager/options.html#opt-programs.tmux.enable
<{^_^}> [nixpkgs] @jonafato opened pull request #100463 → gnucash: 3.10 -> 4.2 → https://git.io/JTmGW
<infinisil> g-w1: home.file is the option for arbitrary files
<g-w1> thanks
cjpbirkbeck has quit [Quit: Goodbye, take care]
<g-w1> i saw that tmux option
palo has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #99401 → cmake: Tighten deps → https://git.io/JUHXd
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to staging: https://git.io/JTmZG
<g-w1> I can't install home manager
<g-w1> this is what happens
<g-w1> it is not getting in my path
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #99335 → makeRustPlatform: Put back in it's own file. → https://git.io/JU98U
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/JTmZ4
<bbigras> g-w1: did you try to logout and log back in?
<bbigras> or there's a file you can source I think
<g-w1> i tried both
<g-w1> ill try tmrw again
<bbigras> oh. good luck then
mkaito- has joined #nixos
echelon has joined #nixos
growpotk- has quit [Ping timeout: 258 seconds]
minicom7 has joined #nixos
Czen1 has joined #nixos
dredozubov has joined #nixos
mkaito has joined #nixos
mkaito is now known as Guest56248
<Orbstheorem> Is anybody using qtcreator on nixos ?
<Orbstheorem> I'm trying to play with qtquick (https://gitlab.com/roosemberth/playground-qtquick-testha). So far I've managed to build a simple application using nix-build. In my shell I've added qtcreator, but when I try to work on the interface using qtcreator, I get errors like `QML module not found (QtQuick.Window)` and `Cannot load library [...]/libwindowplugin.so: undefined symbol[...]`.
<{^_^}> [nixpkgs] @eadwu opened pull request #100465 → vscode-extensions: update 10 → https://git.io/JTmnf
growpotk- has joined #nixos
ericsagnes has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #100439 → wtf: 0.32.0 -> 0.33.0 → https://git.io/JTqHM
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JTmnM
rajivr has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #100430 → kopia: 0.7.2 -> 0.7.3 → https://git.io/JTqwB
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JTmn9
<{^_^}> [nixpkgs] @ryanorendorff opened pull request #100466 → agda-packages: add fla library at v0.1 → https://git.io/JTmn5
orivej has joined #nixos
<lcvass> Orbstheorem: have you added qt5full to your shell?
<echelon> is there a nix build for openssh?
<Orbstheorem> lcvass qt5Full is broken on 20.09. After trying on 20.03 (adding qt5full) and launching qtcreator I have the same issue :(
ericsagnes has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #100438 → googler: 4.2 -> 4.3.1 → https://git.io/JTqyI
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JTmc8
spacefrogg has joined #nixos
<{^_^}> [rfcs] @blaggacao opened pull request #77 → [RFC 0000] Stale Issues Amendement → https://git.io/JTmcu
spease has joined #nixos
Acou_Bass has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @penguwin opened pull request #100467 → glow: 1.0.1 -> 1.0.2 → https://git.io/JTmCf
<{^_^}> [nixpkgs] @marsam merged pull request #100404 → mamba: 1.5 -> 1.6 → https://git.io/JTtQe
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JTmC3
<{^_^}> [nixpkgs] @marsam merged pull request #100397 → bpytop: 1.0.25 -> 1.0.42 → https://git.io/JTtoc
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JTmCZ
Acou_Bass has joined #nixos
growpotk- has quit [Ping timeout: 258 seconds]
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #100349 → virt-manager: 2.2.1 -> 3.1.0 → https://git.io/JTLGr
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JTmCE
proofofkeags_ has joined #nixos
charukiewicz has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #100369 → upwork: 5.3.3-883 -> 5.4.7.1 → https://git.io/JTLDf
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JTmCi
<{^_^}> [nixpkgs] @jonringer merged pull request #100359 → rust-analyzer: 2020-10-05 -> 2020-10-12 → https://git.io/JTL2l
<{^_^}> [nixpkgs] @jonringer pushed commit from @oxalica to master « rust-analyzer: 2020-10-05 -> 2020-10-12 »: https://git.io/JTmCX
<{^_^}> [nixpkgs] @jonringer merged pull request #100345 → foot: 1.4.4 -> 1.5.1 → https://git.io/JTLtQ
<{^_^}> [nixpkgs] @jonringer pushed 4 commits to master: https://git.io/JTmC1
jlv has quit [Ping timeout: 240 seconds]
jlv has joined #nixos
ddellacosta has quit [Ping timeout: 258 seconds]
davetapley has quit [Ping timeout: 240 seconds]
davetapley has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #100415 → flashplayer: 32.0.0.433 -> 32.0.0.445 [Critical security fix] → https://git.io/JTtho
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JTmWZ
fresheyeball has quit [Quit: WeeChat 2.7.1]
fresheyeball has joined #nixos
sgo is now known as stigo
aswanson has joined #nixos
proofofkeags_ has quit [Quit: Leaving]
orivej has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @taku0 opened pull request #100468 → flashplayer: 32.0.0.433 -> 32.0.0.445 → https://git.io/JTm8L
<{^_^}> [nixpkgs] @taku0 opened pull request #100469 → [20.09] flashplayer: 32.0.0.433 -> 32.0.0.445 (Critical security fix) → https://git.io/JTm8t
jasom has joined #nixos
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
domogled has quit [Ping timeout: 272 seconds]
orivej has joined #nixos
CMCDragonkai has joined #nixos
CMCDragonkai has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @buckley310 opened pull request #100471 → powerline-go: 1.17.0 -> 1.18.0 → https://git.io/JTmBf
CMCDragonkai has joined #nixos
ransom has quit [Quit: Textual IRC Client: www.textualapp.com]
CMCDragonkai has quit [Ping timeout: 260 seconds]
ugubok has joined #nixos
<ugubok> How to calculate "recursive hash" for fetchFromGitHub?
CMCDragonkai has joined #nixos
<ugubok> Nevermind, I found it https://github.com/NixOS/nix/issues/1880
<{^_^}> nix#1880 (by ghost, 2 years ago, open): How to manually replicate/reproduce/obtain the sha256 hash specified in Nix with fetchgit or fetchFromGitHub?
ekleog has joined #nixos
Rusty1 has quit [Quit: WeeChat 2.3]
domogled has joined #nixos
palo1 has joined #nixos
domogled1 has joined #nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
domogled has quit [Ping timeout: 260 seconds]
domogled1 is now known as domogled
cantaloupe has joined #nixos
cantaloupe_ has joined #nixos
buovjag1 has joined #nixos
<cantaloupe_> I'm trying to run an application that's not available in Nixos channels and depends on gtk and gsettings-schemas
<cantaloupe_> when the app tries to display a file chooser it dies with "GLib-GIO-ERROR **: 18:19:37.083: Settings schema 'org.gtk.Settings.FileChooser' is not installed"
<cantaloupe_> I've seen this is a common problem but I haven't been able to find out how to correctly link GTK into my environment
<cantaloupe_> Can anybody give me a nudge in the right direction?
mog has joined #nixos
fresheyeball has quit [Ping timeout: 258 seconds]
zacts has joined #nixos
zacts has quit [Client Quit]
domogled has quit [Ping timeout: 265 seconds]
buovjag1 is now known as buovjaga
<{^_^}> [nixpkgs] @vbgl merged pull request #99925 → orpie: 1.5.2 → 1.6.1 → https://git.io/JUxca
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/JTm2t
james has joined #nixos
Sanchayan has joined #nixos
james is now known as Guest33976
<Guest33976> Hi all. I'm trying to work out why most of my X11 apps don't work?
<Guest33976> I'm using Pantheon and it seems like some (not all) can't find X11 or get blocked
<Ke> are you running on wayland without xwayland?
cantaloupe has quit [Remote host closed the connection]
zacts has joined #nixos
ransom has joined #nixos
<Guest33976> No not in wayland
cantaloupe has joined #nixos
zacts has quit [Client Quit]
<{^_^}> [nixpkgs] @SFrijters opened pull request #100472 → WIP terminator: 1.92 -> 2.0.1 → https://git.io/JTmaO
<{^_^}> [nixpkgs] @etu opened pull request #100473 → php: Fix pear path → https://git.io/JTmaG
<typetetris> Hi there! What do I need to do to turn nscd off with 20.09? It complains about `system.nssModules` if I simply try to set it to `false`.
<{^_^}> [nixpkgs] @vbgl opened pull request #100474 → ocamlPackages.opium_kernel: 0.17.1 → 0.18.0 → https://git.io/JTmad
Guest33976 has quit [Remote host closed the connection]
mog has quit [Quit: im quiting!]
mog has joined #nixos
mog has quit [Ping timeout: 260 seconds]
sangoma has joined #nixos
h0m1 has quit [Quit: WeeChat 2.9]
h0m1 has joined #nixos
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
cole-h has joined #nixos
alp has joined #nixos
sangoma has quit [Ping timeout: 258 seconds]
domogled has joined #nixos
jb55 has joined #nixos
<justanotheruser> gchristensen: did you ever resolve this issue with the device not being detected in stage 1? https://logs.nix.samueldr.com/nixos-chat/2020-02-23#3098998;
stree has joined #nixos
Chiliparrot has joined #nixos
<eyJhb> clever: What was the best way to find the job on Hydra? Seems like there should be a easy way to do so
buckley310 has quit [Quit: Connection closed for inactivity]
cantaloupe has quit [Ping timeout: 260 seconds]
greizgh has joined #nixos
ericsagnes has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Chili-Man opened pull request #100476 → minikube: 1.13.1 -> 1.14.0 → https://git.io/JTmoS
<{^_^}> [nixpkgs] @Lassulus merged pull request #99903 → super-slicer: 2.2.53.1 -> 2.2.54.0 → https://git.io/JUA7j
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JTmKC
hugolgst has joined #nixos
<hugolgst> hello
<hugolgst> I've been on that for weeks and still don't understand what's going on
m4tsa_ has joined #nixos
<eyJhb> hugolgst: shouldn't it be preDeviceCommands?
m4ts has quit [Ping timeout: 256 seconds]
<hugolgst> you think so? I will try
<eyJhb> Not 100% sure, but I am guessing so
<eyJhb> ,ping
<{^_^}> pong
<eyJhb> hugolgst: not 100% sure, but sounds like it
<{^_^}> [nixpkgs] @gebner merged pull request #100208 → libwebp: 1.0.3 -> 1.1.0 → https://git.io/JTUAC
<{^_^}> [nixpkgs] @gebner pushed 2 commits to staging: https://git.io/JTm62
ericsagnes has joined #nixos
zacts has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<eyJhb> ,ping
<{^_^}> pong
<eyJhb> hugolgst: did it work?
domogled has quit [Quit: domogled]
<hugolgst> I'm currently trying to to it
<eyJhb> Perfect :) I can see you need to be running 20.09 or unstable, but it is this option that I am referring to - https://search.nixos.org/options?query=preOpenCommands&from=0&size=30&sort=relevance&channel=20.09
justanotheruser has quit [Quit: WeeChat 2.9]
<hugolgst> for weeks I have been trying to setup LUKS with a yubikey and it's damn complicated on nixos
<eyJhb> I think quite some have got it working
<eyJhb> But I am not 100% sure
<hugolgst> I followed the wiki and it's not working for me neither, that's why I'm trying with predevicecommands
<hugolgst> yep and not working for me
<hugolgst> I made a post on the discourse also for this
D_ has joined #nixos
saschagrunert has joined #nixos
<{^_^}> [nixpkgs] @thefloweringash opened pull request #100478 → cli11: fix license and platforms → https://git.io/JTmP5
<eyJhb> Sadly I do not have a yubikey to test this myself :/
gciolli has joined #nixos
n9nes has quit [Quit: ZNC 1.8.2 - https://znc.in]
<hugolgst> it does not seem to work with preDeviceCommands neither... :/
<hugolgst> it waits for the devices to appear but nothing's happening
n9nes has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<eyJhb> Are you sure? Have you tried to insert debug statements to see if it is running your code at all, and maybe passing it?
charukiewicz has quit [Quit: leaving]
<eyJhb> I remember it being no fun to debug such things in general
<hugolgst> yes I will try
sangoma has joined #nixos
<hugolgst> maybe that comes from my luksOpen command?
konobi has joined #nixos
cr4y1 has joined #nixos
Chiliparrot has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<eyJhb> hugolgst: Maybe yes
<eyJhb> echo before/after
waleee-cl has quit [Quit: Connection closed for inactivity]
alp has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #100479 → tremc: 0.9.1 -> 0.9.2 → https://git.io/JTm1q
sangoma has quit [Quit: WeeChat 2.9]
lsix has joined #nixos
tldr32 has quit [Quit: ZNC 1.7.5 - https://znc.in]
rprije has quit [Ping timeout: 260 seconds]
rprije has joined #nixos
ManiacOfMadness has joined #nixos
<hugolgst> it tells me that the device is not found in luksOpen wtf
<eyJhb> Then I guess you can enjoy some fdisk -l before your command :p
<eyJhb> All the nice reboots...
<hugolgst> so amazing ahah
<eyJhb> (good thing to write down the working generation number, and keep a backup of your config of a known good state)
gthm has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #100480 → transmission-remote-cli: remove → https://git.io/JTmMu
<{^_^}> [nixpkgs] @BK1603 closed pull request #99915 → linuxPackages_5_7: added ext4 swap fix patch to the kernel → https://git.io/JUxT3
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cfricke has joined #nixos
sangoma has joined #nixos
Czen1 is now known as Czen
<hugolgst> I know why it's not working, it's because it is in preDeviceCommand and though it is before the devices appear
VulNix has quit [Quit: No Ping reply in 180 seconds.]
Chiliparrot has joined #nixos
<miyu-saki> Where are the binaries in stage-1 stored?
<miyu-saki> Does it depend on the bootloader too? lol. I use systemdboot
<miyu-saki> `cpio -ivt < boot/EFI/nixos/hash-*initrd.efi` just shows me microcode.
VulNix has joined #nixos
<eyJhb> preOpenCommand
<{^_^}> [nixpkgs] @vcunat closed pull request #100079 → thunderbird, thunderbird-bin: 78.3.1 -> 78.3.2 → https://git.io/JTv3c
<hugolgst> only in 20.09?
<eyJhb> Yeah, I added it because of my LUKS Key being on a ZFS mount
<eyJhb> And unstable of course
<Reventlov> Hey there.
<hugolgst> it's so annoying I can't find the solution for that
<Reventlov> I have a problem with my thunderbird: when I launch it, all the fonts are correctly set (sway), but If I unplug my external screen and relaunch it, all the fonts are broken
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hugolgst> I'm going to try preOpenCommand
<Reventlov> (i'm using sway)
<Reventlov> any idea what could be the cause of this behaviour ?
<Reventlov> (font being broken means they are too big, like twice too big)
zupo has joined #nixos
malook has joined #nixos
<miyu-saki> My bad. I found it.
<miyu-saki> Turns out `prepend` is evil
<hugolgst> Does someone have an idea for this also? https://discourse.nixos.org/t/nixos-luks-encryption-using-a-yubikey/9141
<hugolgst> It so annoying it has been weeks since I try to implement it
<miyu-saki> qnix run nixpkgs.python3Packages.binwalk -c binwalk --extract /boot/EFI/nixos/hash-initrd.efi
<miyu-saki> worked
<eyJhb> hugolgst: preOpenCommand didn't work?
<hugolgst> currently building
<hugolgst> hope it does
<hugolgst> I have tried so much things like I don't hope anymore
Ariakenom has joined #nixos
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
<hugolgst> not working with preOpenCommand
<eyJhb> Weird, I see no reason why it wouldn't. But then again, I have no way to test it :/
<hugolgst> currently I don't use a yubikey
<hugolgst> I only have a dummy password on my device with luks
<hugolgst> it can't just open the device
<eyJhb> Oh
civodul has joined #nixos
<hugolgst> it seems to open the device but after it waits for the device infinitely
thc202 has joined #nixos
bahamas has quit [Ping timeout: 265 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<eyJhb> hugolgst: https://termbin.com/sv4s is what I use
<eyJhb> To get my keyfile to show up first. It should really be the same
<hugolgst> yes but the luksroot module of nixos is not working
isHavvy has joined #nixos
bahamas has joined #nixos
isHavvyGhosting has quit [Ping timeout: 260 seconds]
zacts has quit [Quit: leaving]
<{^_^}> [nixpkgs] @danieldk opened pull request #100481 → sentencepiece: 0.1.91 -> 0.1.93 → https://git.io/JTm92
vidbina has joined #nixos
cole-h has quit [Ping timeout: 246 seconds]
<hugolgst> do you guys have a wiki to setup a YubiKey (without GPG) with LUKS on NixOS
<hugolgst> other than the wiki of nixos which is not working for me
Guest29927 has joined #nixos
Guest29927 has quit [Client Quit]
Guest29927 has joined #nixos
gciolli has quit [Remote host closed the connection]
n9nes has quit [Quit: ZNC 1.8.2 - https://znc.in]
Guest29927 is now known as kaba_
maxdevjs has quit [Ping timeout: 260 seconds]
n9nes has joined #nixos
nightmared has joined #nixos
saschagrunert has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
saschagrunert has joined #nixos
zupo has joined #nixos
<Reventlov> https://0x0.st/iGt7.mp4 here is the example of my bug
ris has quit [Ping timeout: 256 seconds]
czer00 has quit [Ping timeout: 260 seconds]
czer00 has joined #nixos
<{^_^}> [nixos-homepage] @garbas merged pull request #615 → made the complete dependencies paragraph in features.tt a lot clearer for new users → https://git.io/JTTZY
<{^_^}> [nixos-homepage] @garbas pushed 3 commits to master: https://git.io/JTm7l
zacts has joined #nixos
malook has quit [Remote host closed the connection]
max_alpine has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann closed pull request #98270 → foot: 1.4.4 → 1.5.0, fcft: 2.2.6 → 2.3.1, tllist: 1.0.2 → 1.0.4 → https://git.io/JUEGn
<max_alpine> Hi there! So I’m running nix on alpine and if I do nix-shell -p gtkwave and then launch gtkwave it has no icons (placeholders instead), what gives?
sigmundv has joined #nixos
tokudan has quit [Quit: Dunno.]
tokudan has joined #nixos
<max_alpine> ,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
<Dandellion> I'm writing a module and one of the options takes a listOf submodules
<Dandellion> I want to default one of the options in the submodule to a value in the same submodule
<Dandellion> something like `{x = 3; y = self.x}`
<Dandellion> but obviously not like that
<Dandellion> Is that possible?
<{^_^}> [nixpkgs] @Narice opened pull request #100482 → Added out-of-date package reports to github templates → https://git.io/JTmdc
alp has quit [Ping timeout: 272 seconds]
<miyu-saki> Dandellion: Yes. You use `default = config.foo.bar;`
<miyu-saki> Oh wait
<miyu-saki> Oh yep, that should work, yeah.
<miyu-saki> Submodules also accept the same set as normal modules
<Dandellion> maybe I've expressed it wrongly but
<Dandellion> it essentially looks like
zupo has quit [Ping timeout: 256 seconds]
<Dandellion> with y defaulting to the x in that submodule
<Dandellion> or attribute set rather
<{^_^}> [nixpkgs] @petabyteboy merged pull request #96616 → seabios: 1.13.0 -> 1.14.0 → https://git.io/JUL9z
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @r-ryantm to master « seabios: 1.13.0 -> 1.14.0 (#96616) »: https://git.io/JTmdp
cantaloupe_ has quit [Ping timeout: 272 seconds]
<miyu-saki> Right, and if the user overrides `x`, then `y` will also change?
<Dandellion> right
zupo has joined #nixos
spudly1 has quit [Ping timeout: 272 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alp has joined #nixos
fendor has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 61 commits to staging-next: https://git.io/JTmNd
risson[m] has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
alp has quit [Ping timeout: 272 seconds]
tv has joined #nixos
<{^_^}> [nixpkgs] @karolchmist closed pull request #100238 → devilutionx: 1.0.1 -> 1.1.0-nixpkg-static-sdl2 → https://git.io/JTTrq
m0rphism has joined #nixos
alp has joined #nixos
bahamas has quit [Ping timeout: 256 seconds]
spease has quit [Ping timeout: 260 seconds]
bahamas has joined #nixos
<{^_^}> [nixpkgs] @uvNikita opened pull request #100483 → pythonPackages.titlecase: fix missing dependencies → https://git.io/JTmp9
trulsa has joined #nixos
spudly has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @magnetophon opened pull request #100484 → Lv2 plugins → https://git.io/JTmhf
minicom7 is now known as minicom
<{^_^}> [nixpkgs] @aszlig pushed commit from @martinetd to master « confinement: fix assert for serviceConfig.ProtectSystem »: https://git.io/JTmhI
<{^_^}> [nixpkgs] @aszlig closed pull request #99000 → confinement: fix assert for serviceConfig.ProtectSystem → https://git.io/JUPOW
zupo has joined #nixos
<{^_^}> [nixpkgs] @aszlig pushed commit from @martinetd to release-20.09 « confinement: fix assert for serviceConfig.ProtectSystem »: https://git.io/JTmhl
zupo has quit [Client Quit]
fling has joined #nixos
arjen-jonathan has joined #nixos
meh` has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #100485 → iortcw: init at 1.51c → https://git.io/JTmhS
cosimone has joined #nixos
bahamas has quit [Ping timeout: 260 seconds]
daGrevis has joined #nixos
cosimone has quit [Read error: Connection reset by peer]
cosimone has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nix] @edolstra pushed to master « Create /etc/passwd *after* figuring out the sandbox uid/gid »: https://git.io/JTYvO
CptCaptain has quit [Quit: WeeChat 2.9]
noonien has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @nlewo merged pull request #100451 → open-policy-agent: 0.23.2 -> 0.24.0 → https://git.io/JTqjS
<{^_^}> [nixpkgs] @nlewo pushed 3 commits to master: https://git.io/JTYvH
ericsagnes has quit [Ping timeout: 260 seconds]
rprije has quit [Ping timeout: 260 seconds]
bbb has joined #nixos
bbb is now known as Guest42559
<{^_^}> [nixpkgs] @stigtsp merged pull request #100295 → perlPackages.AppMusicChordPro: init at 0.977 → https://git.io/JTICE
<{^_^}> [nixpkgs] @stigtsp pushed 6 commits to master: https://git.io/JTYfT
<{^_^}> [nixpkgs] @sengaya closed pull request #100273 → python3Packages.rich: init at 8.0.0 → https://git.io/JTkci
MmeQuignon has joined #nixos
MmeQuignon has quit [Client Quit]
__monty__ has joined #nixos
alp has joined #nixos
kaba_ has quit [Quit: Connection closed for inactivity]
cosimone has quit [Quit: cosimone]
bahamas has joined #nixos
cosimone has joined #nixos
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
ericsagnes has joined #nixos
Sanchayan has quit [Read error: No route to host]
bahamas has quit [Ping timeout: 265 seconds]
cosimone has quit [Quit: cosimone]
cosimone has joined #nixos
arzoc has joined #nixos
is_null has joined #nixos
<{^_^}> [nixpkgs] @uvNikita opened pull request #100487 → pythonPackages.umap-learn: 0.3.10 -> 0.4.5 → https://git.io/JTYUZ
Sanchayan has joined #nixos
<{^_^}> [nixpkgs] @JohnTitor opened pull request #100488 → nushell 0.20.0 -> 0.21.0 → https://git.io/JTYU5
berberman has joined #nixos
berberman_ has quit [Ping timeout: 272 seconds]
arzoc has quit [Quit: leaving]
MmeQuignon has joined #nixos
cosimone has quit [Quit: cosimone]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JTYkm
is_null has quit [Ping timeout: 264 seconds]
m0rphism has quit [Quit: WeeChat 2.7.1]
bbarker has joined #nixos
mananamenos has joined #nixos
<{^_^}> [nixpkgs] @uvNikita opened pull request #100489 → pythonPackages.pyatv: 0.7.2 -> 0.7.4 → https://git.io/JTYLu
Sanchayan has quit [Ping timeout: 246 seconds]
Sanchayan has joined #nixos
ikwildrpepper has joined #nixos
<betaboon> zimbatm: i got a question regarding terraform-nixos, I'm trying to integrate a private cachix binary-cache but i dont know what to look for. in the documentation there is just a note on usage of binary caches that "might be suprising" but i don't realy undestand what i would have to do to get it working. any pointers would be highly appreciated
CptCaptain has joined #nixos
stree has quit [Quit: Caught exception]
stree has joined #nixos
<zimbatm> betaboon: if I remember correctly, the binary caches are extracted from the NixOS configuration
<{^_^}> [nixpkgs] @garbas merged pull request #100488 → nushell 0.20.0 -> 0.21.0 → https://git.io/JTYU5
<{^_^}> [nixpkgs] @garbas pushed 2 commits to master: https://git.io/JTYqm
<{^_^}> [nixpkgs] @garbas merged pull request #100484 → Lv2 plugins → https://git.io/JTmhf
<{^_^}> [nixpkgs] @garbas pushed 6 commits to master: https://git.io/JTYqC
<zimbatm> so make sure to set nix.binaryCaches and nix.binaryCachePublicKeys in the target machine NixOS configuration
<zimbatm> since it's a private cache, you might also want to set the netrc file on the target machine so it can fetch from the cache itself
<{^_^}> [nixpkgs] @garbas merged pull request #100476 → minikube: 1.13.1 -> 1.14.0 → https://git.io/JTmoS
<{^_^}> [nixpkgs] @garbas pushed 2 commits to master: https://git.io/JTYqu
<{^_^}> [nixpkgs] @garbas merged pull request #100461 → vscode: chmod +x update-vscode.sh → https://git.io/JTmsT
<{^_^}> [nixpkgs] @garbas pushed 2 commits to master: https://git.io/JTYqr
<{^_^}> [nixpkgs] @garbas merged pull request #100463 → gnucash: 3.10 -> 4.2 → https://git.io/JTmGW
<{^_^}> [nixpkgs] @garbas pushed 2 commits to master: https://git.io/JTYqP
<zimbatm> betaboon: add `keys = { "netrc" = "machine yourcache.cachix.org password ${var.cachix_auth_token}" }` to the deploy_nixos module instance
<{^_^}> [nixpkgs] @garbas merged pull request #100465 → vscode-extensions: update 10 → https://git.io/JTmnf
<{^_^}> [nixpkgs] @garbas pushed 3 commits to master: https://git.io/JTYqD
<zimbatm> and `nix.extraOptions = "netrc-file = /var/keys/netrc";` to the NixOS configuration
<{^_^}> [nixpkgs] @garbas merged pull request #100481 → sentencepiece: 0.1.91 -> 0.1.93 → https://git.io/JTm92
<{^_^}> [nixpkgs] @garbas pushed 2 commits to master: https://git.io/JTYq7
<{^_^}> [nixpkgs] @garbas merged pull request #100471 → powerline-go: 1.17.0 -> 1.18.0 → https://git.io/JTmBf
<{^_^}> [nixpkgs] @garbas pushed 2 commits to master: https://git.io/JTYq5
<{^_^}> [nixpkgs] @garbas merged pull request #100467 → glow: 1.0.1 -> 1.0.2 → https://git.io/JTmCf
<{^_^}> [nixpkgs] @garbas pushed 2 commits to master: https://git.io/JTYqF
<Orbstheorem> Hello, I've posted a question on discourse about the problem with qtcreator I described a couple of hours ago, maybe some more people has awoken since ^^: https://discourse.nixos.org/t/qtcreator-cannot-find-qml-modules-for-qtquick/9470
* Orbstheorem should stop pulling all-nighters
<{^_^}> [nixpkgs] @garbas merged pull request #100459 → unqlite: init at 1.1.9 → https://git.io/JTmm7
<{^_^}> [nixpkgs] @garbas pushed 2 commits to master: https://git.io/JTYqj
alp has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @garbas merged pull request #100458 → [20.03] firefox, firefox-bin: 81.0 -> 81.0.2, firefox-esr: 78.3.0esr -> 78.3.1esr → https://git.io/JTmt9
<{^_^}> [nixpkgs] @garbas pushed 4 commits to release-20.03: https://git.io/JTYmT
<{^_^}> [nixpkgs] @garbas merged pull request #100457 → [20.09] firefox, firefox-bin: 81.0 -> 81.0.2, firefox-esr: 78.3.0esr -> 78.3.1esr → https://git.io/JTmtS
<{^_^}> [nixpkgs] @garbas pushed 4 commits to release-20.09: https://git.io/JTYmt
alp has joined #nixos
<{^_^}> [nixpkgs] @garbas merged pull request #78517 → mopidy-musicbox-webclient: 2.3.0 -> 2.4.0 → https://git.io/JvqDW
<{^_^}> [nixpkgs] @garbas pushed 2 commits to master: https://git.io/JTYm2
<{^_^}> [nixpkgs] @garbas merged pull request #100489 → pythonPackages.pyatv: 0.7.2 -> 0.7.4 → https://git.io/JTYLu
<{^_^}> [nixpkgs] @garbas pushed 2 commits to master: https://git.io/JTYmP
alp has quit [Remote host closed the connection]
<betaboon> zimbatm: thanks. i will try that :D
max_alpine has quit [Quit: Connection closed for inactivity]
alp has joined #nixos
<{^_^}> [nixpkgs] @garbas merged pull request #100480 → transmission-remote-cli: remove → https://git.io/JTmMu
<{^_^}> [nixpkgs] @garbas pushed 2 commits to master: https://git.io/JTYmN
<{^_^}> [nixpkgs] @garbas merged pull request #100483 → pythonPackages.titlecase: fix missing dependencies → https://git.io/JTmp9
<{^_^}> [nixpkgs] @garbas pushed 2 commits to master: https://git.io/JTYYL
<{^_^}> [nixpkgs] @garbas merged pull request #100469 → [20.09] flashplayer: 32.0.0.433 -> 32.0.0.445 (Critical security fix) → https://git.io/JTm8t
<{^_^}> [nixpkgs] @garbas pushed 2 commits to release-20.09: https://git.io/JTYYq
alp has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @garbas merged pull request #100468 → [20.03] flashplayer: 32.0.0.433 -> 32.0.0.445 (Critical security fix) → https://git.io/JTm8L
<{^_^}> [nixpkgs] @garbas pushed 2 commits to release-20.03: https://git.io/JTYYO
CptCaptain has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @garbas pushed 2 commits to master: https://git.io/JTYY8
<{^_^}> [nixpkgs] @garbas merged pull request #100422 → mtail: 3.0.0-rc36 -> 3.0.0-rc38 → https://git.io/JTqtX
<{^_^}> [nixpkgs] @garbas merged pull request #100411 → libayatana-appindicator: 0.5.4 -> 0.5.5, generate typelibs for gobject-introspection → https://git.io/JTtpa
<{^_^}> [nixpkgs] @garbas pushed 2 commits to master: https://git.io/JTYY0
<{^_^}> [nixpkgs] @garbas merged pull request #100409 → arc-theme: 20200819 -> 20201013 → https://git.io/JTtbn
<{^_^}> [nixpkgs] @garbas pushed 4 commits to master: https://git.io/JTYYV
<{^_^}> [nixpkgs] @garbas merged pull request #100401 → vuescan: init at 9.7 → https://git.io/JTtPE
<{^_^}> [nixpkgs] @garbas pushed 2 commits to master: https://git.io/JTYYy
<{^_^}> [nixpkgs] @garbas merged pull request #100395 → jamin: Put version into variable, use variable interpolation → https://git.io/JTtaA
<{^_^}> [nixpkgs] @garbas pushed 2 commits to master: https://git.io/JTYY9
<{^_^}> [nixpkgs] @garbas merged pull request #100391 → xorg.xf86inputlibinput: 0.28.2 -> 0.30.0 → https://git.io/JTtRr
<{^_^}> [nixpkgs] @garbas pushed 2 commits to staging: https://git.io/JTYYd
Chiliparrot has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @leenaars opened pull request #100490 → Sylk: 2.9.0 -> 2.9.1 → https://git.io/JTYOx
NinjaTrappeur has joined #nixos
zupo has joined #nixos
CptCaptain has joined #nixos
acarrico has quit [Ping timeout: 258 seconds]
NinjaTrappeur has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #100491 → resvg: init at 0.11.0 → https://git.io/JTY3F
NinjaTrappeur has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @p-h opened pull request #100492 → [20.09] trigger: 0.6.6 -> 0.6.6.1 → https://git.io/JTYsI
<{^_^}> [nixpkgs] @zimbatm merged pull request #100490 → Sylk: 2.9.0 -> 2.9.1 → https://git.io/JTYOx
<{^_^}> [nixpkgs] @zimbatm pushed commit from @leenaars to master « Sylk: 2.9.0 -> 2.9.1 (#100490) »: https://git.io/JTYsw
lorimer has joined #nixos
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/JTYG2
Chiliparrot has joined #nixos
mallox has joined #nixos
Chiliparrot has quit [Client Quit]
<exarkun> trying to switch from nixops to morph. `morph deploy` is failing with an error I've never seen before: https://gist.github.com/exarkun/b9be2a8f41c07eac07c4fd2d07232239
mallox has quit [Client Quit]
<{^_^}> [nixpkgs] @taku0 opened pull request #100493 → [20.03] thunderbird, thunderbird-bin: 78.3.1 -> 78.3.2 → https://git.io/JTYZU
<{^_^}> [nixpkgs] @taku0 opened pull request #100494 → [20.09] thunderbird, thunderbird-bin: 78.3.1 -> 78.3.2 → https://git.io/JTYZT
<gchristensen> exarkun: are you connecting to graviton as root?
zupo has joined #nixos
mallox has joined #nixos
knupfer has joined #nixos
knupfer1 has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 6 commits to master: https://git.io/JTYZ2
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to release-20.03: https://git.io/JTYZd
<exarkun> gchristensen: hm!
<exarkun> gchristensen: apparently not
<exarkun> do I have to mess with my ssh_config to get morph to do that or is there a better way?
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
<gchristensen> exarkun: I think there must be a way to do it from Nix ... https://github.com/DBCDK/morph/blob/master/nix/nix.go#L27
hugolgst has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @NeQuissimus pushed 9 commits to release-20.09: https://git.io/JTYnr
<{^_^}> [nixpkgs] @DianaOlympos opened pull request #100495 → riak-cs: delete → https://git.io/JTYnd
cosimone has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #100405 → xtuner: init at 1.0 → https://git.io/JTtQU
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JTYcB
<{^_^}> [nixpkgs] @penguwin opened pull request #100496 → charm: 0.8.3 -> 0.8.4 → https://git.io/JTYcR
<{^_^}> [nixpkgs] @Chickensoupwithrice opened pull request #100497 → python37Packages.tasklib: 2.2.0 -> 2.2.1 → https://git.io/JTYCe
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
Chiliparrot has joined #nixos
xd1le has joined #nixos
tldr32 has joined #nixos
sangoma has quit [Ping timeout: 260 seconds]
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @uvNikita opened pull request #100499 → [20.09] pythonPackages.pyatv: 0.7.2 -> 0.7.4 → https://git.io/JTYWH
meh` has quit [Read error: Connection reset by peer]
zupo_ has joined #nixos
<{^_^}> [nixpkgs] @uvNikita opened pull request #100500 → [20.09] pythonPackages.titlecase: fix missing dependencies → https://git.io/JTYlY
meh` has joined #nixos
zupo has quit [Ping timeout: 256 seconds]
tru_tru has joined #nixos
<exarkun> gchristensen: aha. very nice. thank you. :)
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
ddellacosta has joined #nixos
gustavderdrache has joined #nixos
sputny has joined #nixos
stree has quit [Quit: Caught exception]
stree has joined #nixos
CptCaptain has quit [Quit: WeeChat 2.9]
orivej has joined #nixos
n9nes- has joined #nixos
n9nes has quit [Ping timeout: 260 seconds]
MmeQuignon has quit [Quit: WeeChat 2.9]
cfricke has quit [Quit: WeeChat 2.9]
n9nes has joined #nixos
n9nes- has quit [Ping timeout: 246 seconds]
fendor has quit [Ping timeout: 260 seconds]
sputny has quit [Remote host closed the connection]
<duairc> I'm trying to extend a NixOS submodule sort of like here: https://gist.github.com/danbst/f1e81358d5dd0ba9c763a950e91a25d0
pumpy has joined #nixos
<duairc> What I'm trying to do is to add an option network.interfaces.*.neighbours, which, if set, will set up ndppd and/or parpd for ARP/NDP proxying queries for addresses that fall within the given subnets
<pumpy> on initial installation boot, before running nixos-install, i need to manually configure network so i can get internet. i don't wanna use dhcp. i can manually set the ip/netmask with ifconfig and the gateway, but how do i manually set the dns server?
<duairc> The issue is that I need to set config "globally" rather than strictly inside the submodule (which is what's happening in that example)
Acou_Bass has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @ckauhaus merged pull request #100354 → limesurvey: 3.23.0+200813 -> 3.23.7+201006 → https://git.io/JTL44
<{^_^}> [nixpkgs] @ckauhaus pushed 2 commits to master: https://git.io/JTYRM
<{^_^}> [nixpkgs] @danieldk merged pull request #100117 → vscodium: 1.49.3 -> 1.50.0 → https://git.io/JTfCX
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JTYR9
Acou_Bass has joined #nixos
fendor has joined #nixos
sangoma has joined #nixos
srhm has joined #nixos
pumpy has quit [Ping timeout: 260 seconds]
fendor has quit [Ping timeout: 272 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pumpy has joined #nixos
<pumpy> on initial installation boot, before running nixos-install, i need to manually configure network so i can get internet. i don't wanna use dhcp. i can manually set the ip/netmask with ifconfig and the gateway, but how do i manually set the dns server?
<gchristensen> pumpy: I think this should work: https://www.cyberciti.biz/faq/howto-linux-bsd-unix-set-dns-nameserver/
<pumpy> when i tried to edit those files i got error that permission denied, even if i run it with sudo
<gchristensen> /etc/resolv.conf ? hmm... that should be editable
<gchristensen> though /etc/resolveconf.conf is not
<niksnut> there is the "resolvconf" command
<niksnut> and resolvectl
<pumpy> maybe im messing my disk perms up or something. i noticed if i try doing fresh installs a few times in a row, there seems to be prior state left over. when fresh booting the installer, how can i format the disk before i use it? (/dev/vda in this case)
<{^_^}> [nixpkgs] @vbgl opened pull request #100502 → ocamlformat: refactor → https://git.io/JTYua
<{^_^}> [nixpkgs] @p-h closed pull request #100492 → [20.09] trigger: 0.6.6 -> 0.6.6.1 → https://git.io/JTYsI
m4tsa_ has quit [Ping timeout: 265 seconds]
<urkk> are there any fetchers via ssh? (not git over ssh, but simply scp)
<gchristensen> no. they'd have to be a builtin, because you can't otherwise securely give Nix's builder users access to SSH keys
orivej has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #nixos
Sanchayan has quit [Quit: leaving]
<betaboon> anyone knows if i can provide a nix.conf to be used by a nix-shell (in order to use specific binary-caches on a per-project basis). i tried export NIX_CONF_DIR but that doesnt seem to have the effect i was hoping for
<urkk> hmm I see
hugolgst has joined #nixos
costrouc has joined #nixos
kapil_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
<costrouc> ,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
<emmanuel_erc> So, I've got another question about removeReferencesTo. It seemed like I had to call removeReferencesTo on a dependency that depended on the thing I wanted to remove references to rather than the actual thing itself. Even the pandoc example that I was shown earlier (https://github.com/NixOS/nixpkgs/blob/91340aeea87aa25f8265b0a69af88d7d36fcf04f/pkgs/development/tools/pandoc/default.nix#L13-L28) did the same thing.
vidbina has quit [Ping timeout: 240 seconds]
<emmanuel_erc> In that case they wanted to remove the GHC dependency and not the dependency upon haskellPackages.pandoc-types or haskellPackages.HTTP
<emmanuel_erc> This is a bit strange no?
acarrico has joined #nixos
camsbury has joined #nixos
dumbuser has joined #nixos
<dumbuser> Help!!!! I made a very dumb mistake. I upgraded to 20.09 prematurely and now my whole nextcloud setup is broken. Is there anyway to go back to NixOS 20.03?
acarrico has quit [Quit: Leaving.]
<clever> dumbuser: just change the nix-channel back to 20.03, same way you changed it to 20.09
<dumbuser> I tried, but I got a segmentation fault when trying to nixos-rebuild switch
<dumbuser> I'm trying again now and will report results ASAP
<dumbuser> Thank you for responding already
<clever> dumbuser: nixos-rebuild --rollback will undo whatever you did last
a85 has joined #nixos
<clever> dumbuser: you can also just pick an older version from the grub menu
a85 is now known as gluonix
growpotkin has joined #nixos
<gluonix> Hi, I am new to nix and I am currently trying to figure out if given the store path of a derivation such as /nix/store/fbd9sr5lx1r5r9w3cl4d5p5hgwbhk9jj-hello-2.10, is it possible to know from that path, which nixpkgs version or channel contains it?
lordcirth_ has joined #nixos
<clever> gluonix: not easily, since its basically just a hash of the input
<pumpy> gchristensen destroyed vm disk, recreated, started nixos installer, /etc/resolvconf.conf is read only. i opened it with sudo vi, press i, get read only warning
<lewo> gluonix: this is not tracked by Nix. If this path has been build by Hydra, you could however seach for it on hydra.nixos.org
<dumbuser> clever: While troubleshooting I did nix-collect-garbage -d so rolling back isn't an option
Twey has joined #nixos
<clever> dumbuser: what error does nixos-rebuild give?
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #100503 → bup: use python3 → https://git.io/JTYaG
<dumbuser> clever: still waiting for the krops deploy to finish building all the necessary packages.
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #100479 → tremc: 0.9.1 -> 0.9.2 → https://git.io/JTm1q
<{^_^}> [nixpkgs] @rnhmjoj pushed 3 commits to master: https://git.io/JTYaz
<gluonix> @lewo ok thanks! I will try this. When installing the path in question, nix pulls from https://cache.nixos.org ... Does that imply that the package is on Hydra?
<lewo> gluonix: not necessary. Nix is binary/source transparent: it first tries to fetch the path on Hydra and if it can't find it, it builds it.
<pumpy> niksnut can those be used to set nameserver at runtime?
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to release-20.09: https://git.io/JTYVZ
hugolgst has quit [Ping timeout: 256 seconds]
fendor has joined #nixos
<dumbuser> clever: I'm getting `Segmentation fault (core dumped)`
<clever> dumbuser: what does `coredumpctl | tail` say?
<gluonix> @lewo ah ok. I found it on Hydra! Many thanks!
<niksnut> pumpy: yes (though I think resolvectl only works if you've enabled systemd networking)
<niksnut> but like gchristensen said, you can also edit /etc/resolv.conf directly
<niksnut> but then you risk changes being overwritten by other programs (e.g. dhcpcd or networkmanager)
<dumbuser> clever: `Wed 2020-10-14 15:16:36 UTC 31953 0 0 11 present /nix/store/hrpvwkjz04s9i4nmli843hyw9z4pwhww-bash-4.4-p23/bin/bash`
<dumbuser> Probably the relevant line
<clever> dumbuser: thats weird for even bash to be segfaulting
philr has quit [Ping timeout: 240 seconds]
<clever> dumbuser: try doing a `nix-store --verify --check-contents`
<pumpy> niksnut no it's permissions are denied i can't edit that file
<pumpy> can you verify that? maybe a 20.03 bug
<dumbuser> clever: Yeah, I think it got messed up somehow
<gchristensen> /etc/resolv.conf ? hmm... that should be editable
<gchristensen> though /etc/resolveconf.conf is not
<dumbuser> clever: nix-store --verify didn't result in anything
<{^_^}> [nixpkgs] @p-h reopened pull request #100492 → [20.09] trigger: 0.6.6 -> 0.6.6.1 → https://git.io/JTYsI
<clever> dumbuser: it also needs --check-contents
<pumpy> niksnut gchristensen ffs sorry it wasn't writable before but on this fresh installer boot it is. dunno wtf
<dumbuser> clever: Yeah sorry, didn't copy that in my message. I did run `nix-store --verify --check-contents`
noogie has quit [Remote host closed the connection]
<clever> dumbuser: since you GC'd, there may be no simple way to undo things, the next simplest option is to just boot the installer again, mount your filesystems under /mnt like when installing, and re-run nixos-install, to rebuild it from a working system
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #100504 → Treesitter lua → https://git.io/JTYwN
<lewo> gluonix: cool!
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<dumbuser> clever: How do I deal with disk encryption when doing that?
berberman_ has joined #nixos
<clever> dumbuser: luksopen, same as when you first installed it
<dumbuser> clever: Will that delete all my files?
<clever> dumbuser: nope, just dont run any format commands
<clever> dumbuser: nixos-install is just a script to run nixos-rebuild in a chroot for you
<clever> dumbuser: luksopen the device, mount it back to /mnt, and then nixos-install will rebuild it for you
proofofkeags has quit [Ping timeout: 240 seconds]
berberman has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @etu merged pull request #100473 → php: Fix pear path → https://git.io/JTmaG
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/JTYr3
berberman_ has quit [Max SendQ exceeded]
berberman has joined #nixos
<dumbuser> clever: Will do
berberman has quit [Max SendQ exceeded]
erasmas has joined #nixos
berberman has joined #nixos
berberman has quit [Max SendQ exceeded]
<dumbuser> clever: should I copy over the hardware-configuration.nix or the configuration.nix to nixos-install?
berberman has joined #nixos
<clever> dumbuser: nope, nixos-install will use whatever is in /mnt/etc/nixos/
<clever> dumbuser: if you mount your disk to /mnt, that will be your orignal config files
virus_dave has quit [Ping timeout: 256 seconds]
virus_dave_ has joined #nixos
berberman has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @etu opened pull request #100505 → [20.09] php: Fix pear path → https://git.io/JTYoI
berberman has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #100506 → _1password-gui: 0.8.9 -> 0.8.10 → https://git.io/JTYo8
<pumpy> gchristensen i narrowed bug down. on fresh installer boot, from nixos user i can sudo vi /etc/resolf.conf but i can't sudo echo "nameserver 8.8.8.8" >> /etc/resolv.conf without permission denied error. is that a nixos bug?
<clever> pumpy: sudo doesnt affect >
<clever> pumpy: thats just how bash and sudo work
<pumpy> oh!
<pumpy> ty
<gchristensen> you're just doing the echo part as a very privileged user :)
<clever> pumpy: try doing `sudo -i` first
kapil_ has joined #nixos
lordcirth_ has quit [Remote host closed the connection]
Ariakenom has quit [Read error: Connection reset by peer]
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
lordcirth_ has joined #nixos
hnOsmium0001 has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #100341 → php: move extension derivations to separate dirs → https://git.io/JTLTI
<{^_^}> [nixpkgs] @etu pushed 26 commits to master: https://git.io/JTYK1
virus_dave_ has quit [Ping timeout: 260 seconds]
virus_dave has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #84617 → rasm: remove -march=native from compilation flags → https://git.io/JvAy6
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/JTYPJ
fendor has quit [Remote host closed the connection]
grahamc[m] has quit [Quit: Idle for 30+ days]
proofofkeags has joined #nixos
<dumbuser> clever: Can you point me towards the correct luksOpen command?
<dumbuser> I'm having trouble mounting the resulting cryptroot
<clever> dumbuser: cryptsetup open --type luks
<pumpy> nixos 20.03 failed during install. "failed to check file system type of "/boot": no such file or directory"
toto[m] has quit [Quit: Idle for 30+ days]
<clever> pumpy: did you mount a filesystem to /mnt/boot/ ?
<{^_^}> [nixpkgs] @primeos pushed to master « nixos/doc: Fix one command to build the NixOS manual »: https://git.io/JTYXB
bahamas has joined #nixos
<dumbuser> clever: Command requires device and mapped name as arguments.
<pumpy> clever well i did `mount /dev/disk/by-label/BOOT /mnt/BOOT`. should i do `mount /dev/disk/by-label/BOOT /mnt/boot` instead?
<clever> dumbuser: yeah, you have to give it a device and name, like `cryptsetup open --type luks /dev/sda1 rootfs`
<clever> pumpy: yeah, its case sensitive
<pumpy> ok ty
wnklmnn has joined #nixos
cole-h has joined #nixos
<dumbuser> clever: I'm getting `/nix/store/m9wmv3snj6qwn9f1frdlbbkxkvja37vr-nixos-enter/bin/nixos-enter: line 72: 7 Segmentation fault (core dumped) LOCALE_ARCHIVE="$system/sw/lib/locale/locale-archive" chroot "$mountPoint" "$system/activate" >> $PIPE_TARGET 2>&1chroot: failed to run command ‘/run/current-system/bin/switch-to-configuration’: No
<dumbuser> such file or directory` now
<clever> dumbuser: have you ran a memtest recently?
<dumbuser> No, but the hardware is brand new
<clever> dumbuser: ive gotten PC's from walmart before that would bluescreen constantly until you reseat the ram
<clever> dumbuser: then it would be fine for years, until it receives a decent amount of vibration
patagonicus1381 has quit [Ping timeout: 260 seconds]
<dumbuser> clever: ok, I'll run a memtest
<dumbuser> clever: How could unseated ram be leading to segfaults?
<clever> dumbuser: the ram socket was bad, and the ram would sometimes come a bit loose
<clever> dumbuser: but just pushing the ram back into the socket all the way would fix it
<clever> which makes it rather hard to find out which socket it is, you would have to kick/drop the pc a few times for it to come loose again
<clever> and i'm not into abusing hardware like that :P
<dumbuser> clever: How does that lead to persistent segfaults on the same commands?
<clever> not sure how it could cause that though
<clever> but i have seen gcc segfault before, when the battery in one of my laptops got really low
<clever> and only gcc
<dumbuser> It's still taking things out of the system nix store, even when I'm in the installer.
<dumbuser> Is that normal?
dansho has joined #nixos
<clever> dumbuser: because nixos-install is just a shell script to run nixos-rebuild inside a chroot
<clever> dumbuser: most of the data comes from /mnt/nix/store
<clever> dumbuser: but if you did wipe /mnt/nix, it would re-download it all from the cache, and you would only loose the `nix-env -q` list and rollbacks
<clever> and rebuild the whole system from configuration.nix
<dumbuser> Ok, I'll try wiping /mnt/nix if the memtest comes out good
<pickfire> Hi, I am new to nix but I wanted to try porting lxde to nix, lxde have gtk2 and gtk3 but in arch they are packaged as different package, I noticed that nix could do a `gtk
kirc has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #100507 → php: Update some third party packages and extensions → https://git.io/JTYDH
<pickfire> ... gtk = gtk3` trick, I wonder if I could do the same for lxde?
xd1le has quit [Ping timeout: 260 seconds]
<simpson> Yes, probably.
<{^_^}> [nixpkgs] @jfroche opened pull request #100508 → devpi-server: fix tests → https://git.io/JTYDj
<{^_^}> [nixpkgs] @p-h opened pull request #100509 → [20.09] opencl-info: fix build → https://git.io/JTYyL
noonien has joined #nixos
kirc has quit [Client Quit]
<noonien> hello
bahamas has quit [Ping timeout: 260 seconds]
dansho has quit [Ping timeout: 256 seconds]
<noonien> does anyone have pppoe setup on nixos?
sangoma has quit [Ping timeout: 258 seconds]
dansho has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #100448 → rep: init at 0.2.1 → https://git.io/JTqNT
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JTYy5
<betaboon> can anyone point me in the right direction on how to use a binary cache (cachix) on a per-project basis (eg in a nix-shell that we use to run deployment tools) ?
knupfer has quit [Ping timeout: 265 seconds]
<domenkozar[m]> betaboon: do you mean how to configure a binary cache?
<pumpy> when i install a fresh 20.03 it says "setting up /etc..." twice in a row. that's a bug right?
mallox has quit [Quit: WeeChat 2.9]
<betaboon> domenkozar[m]: kinda. i dont want to require all our teammembers to globally configure usage of a binary-cache on their systems, but just for when they are in a deployment-shell
mallox has joined #nixos
<domenkozar[m]> that's not that easy at the moment
mallox has quit [Client Quit]
<domenkozar[m]> I think Nix 3 will allow you to point to an arbitrary nix.conf file
<domenkozar[m]> that `cachix use` can generate
<dumbuser> memtest passed
<domenkozar[m]> betaboon: so something like NIX_CONF_DIR=$PWD/nix
<dumbuser> clever: memtest passed
<domenkozar[m]> and then if I add a flag you could do `cachix use --nix-conf-dir=$pwd/nix`
<pumpy> i start a fresh 20.03 installer in a guest vm, set up the disk and my configuration.nix, run nixos-install, reboot, screen is black with a white underscore blinking in top left. anyone know what's up?
<betaboon> domenkozar[m]: i tried `export NIX_CONF_DIR=$PWD/.nix` before and added two files to that place: `nix.conf` (containing substitute = true, substituters = cache.nixos... and mycache, trusted-public-keys) and a netrc with my cachix credentials. but it doesnt seem to get picked up
<domenkozar[m]> maybe it would be better to set XDG_CONFIG_HOME
<domenkozar[m]> so that it picks up still the system nix.conf
<domenkozar[m]> so XDG_CONFIG_HOME=$PWD
<domenkozar[m]> and then nix/nix.conf
<domenkozar[m]> (note that cachix use flag don't exist, but I can add it easily)
sangoma has joined #nixos
<domenkozar[m]> betaboon: I can play around with this next week and let you know exactly what works
<betaboon> domenkozar[m]: is the --nix-conf-dir in that comment something new? it doesnt seem to exist in 0.3.8 ?
<domenkozar[m]> betaboon: if you leave me an email or something
<domenkozar[m]> betaboon: yeah that flag doesn't exist yet, but it's easy for me to add it.
<domenkozar[m]> I'm not saying this works, but it could work with a few changes
<betaboon> domenkozar[m]: exporting XDG_CONFIG_HOME and then running `cachix authtoken` + `cachix use` seems to work. atleast nix-build then picks it up :D
<domenkozar[m]> yeah although that will pick it up from ~/.config/nix/nix.conf
<domenkozar[m]> I think currently the best way is to enable it globally for the user
<domenkozar[m]> I do plan to make that easier for per-project setup
<domenkozar[m]> betaboon: I've added a note to take a look at this next week
<betaboon> domenkozar[m]: what do you mean by "pick it up from ~/..." ?
<domenkozar[m]> cachix use wrote to that file and that's why nix-build works ;)
<betaboon> domenkozar[m]: looking forward to it. thanks for the pointers atm tho. seems to somewhat work :D
<domenkozar[m]> hehe
<betaboon> domenkozar[m]: it actually wrote to $PWD/nix after exporting XDG_CONFIG_HOME=$PWD
<domenkozar[m]> ah cool!
<domenkozar[m]> nice
<betaboon> domenkozar[m]: didnt write to ~/.config/nix/nix.conf. just checked again
<domenkozar[m]> yeah it does respect XDG_CONFIG_HOME
<domenkozar[m]> forgot about that ^^
<domenkozar[m]> glad we got it to work :)
<betaboon> domenkozar[m]: so does nix if i read that correctly. i must have misinterpreted the documentation, seems like $NIX_CONF_DIR/nix.conf does not get loaded on demand, but $XDG_CONFIG_HOME/nix/nix.conf does
sputny has joined #nixos
<betaboon> domenkozar[m]: only thing that now was somewhat "unexpected" is that the new nix.conf that cachix wrote did include the additional caches that i have in /etc/nix/nix.conf as well
<domenkozar[m]> that mostly depends on the setting and if you're using multi-user setup
<{^_^}> [nixpkgs] @trepetti opened pull request #100510 → noaa-apt: 1.2.0 -> 1.3.0 → https://git.io/JTYH0
<domenkozar[m]> betaboon: oh don't forget to add nix/netrc and nix/nix.conf to gitignore
<domenkozar[m]> betaboon: ah yeah that's because nix.conf isn't able to merge the two options
<pumpy> i start a fresh 20.03 installer in a guest vm, set up the disk and my configuration.nix, run nixos-install, reboot, screen is black with a white underscore blinking in top left. anyone know what's wrong or how i can debug it?
<domenkozar[m]> from two nix.conf files
<betaboon> domenkozar[m]: ofc :D though i think i will include them in the repo but using git-crypt !?
<domenkozar[m]> yeah that works as well
<domenkozar[m]> make sure to remove your binary caches then, they won't be needed for the project :)
<betaboon> domenkozar[m]: yeah. thanks :D
<lordcirth_> pumpy, what hypervisor? Using any virtio hardware? You may need to add some kernel modules
ris has joined #nixos
<pumpy> bhyve
dumbuser has quit [Remote host closed the connection]
<betaboon> domenkozar[m]: i think it would be somewhat preferable to not be required to override XDG_CONFIG_HOME tho
<pumpy> host system has nvidia and i use nvidia-nomodeset for that. i don't think guest needs that tho does it?
ManiacOfMadness has quit [Ping timeout: 272 seconds]
<domenkozar[m]> betaboon: yeah I think Nix 3 has a way to avoid that
<pumpy> lordcirth_ ^
<betaboon> domenkozar[m]: btw: after running `cachix use` the netrc-file in the resulting nix.conf is not strictly required. it picks the netrc up when its in the same directory as the nix.conf. which is an advantage for me when i want to check it into git as it no longer contains a path that is specific to my system
<domenkozar[m]> yeah maybe it would be better to just make sure it's unset
<lordcirth_> pumpy, Well I've never used it - you are hosting on BSD? What bootloader are you installing NixOS with?
<pumpy> efi
<pumpy> ill just skip the desktop environment and use ssh
<pumpy> ty
<lordcirth_> pumpy, ssh does work?
bahamas has joined #nixos
<pumpy> ya
<lordcirth_> I would look in dmesg then
<pumpy> oh, not now, but i didn't configure it yet
<pumpy> im reinstalling
lsix has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @thiagokokada opened pull request #100511 → mons: 20200107 -> 20200320 → https://git.io/JTY5L
<{^_^}> [nixpkgs] @conferno opened pull request #100512 → chromium: fix build on i686 → https://git.io/JTY5w
iceypoi has joined #nixos
<gluonix> Are there known cases, in which it is absolutely necessary to pull dependencies from different nixpkgs versions/channels?
Darkmatter66_ has joined #nixos
nicoo has quit [Remote host closed the connection]
Darkmatter66 has quit [Ping timeout: 260 seconds]
icey_ has quit [Ping timeout: 256 seconds]
<exarkun> gluonix: dependencies of what
nicoo has joined #nixos
<gluonix> to build a derivation
acarrico has joined #nixos
alp has joined #nixos
<exarkun> a derivation is arbitrary, so I'm sure you could come up with a case
<exarkun> why?
alexherbo2 has quit [Ping timeout: 260 seconds]
tarruda has quit [Ping timeout: 256 seconds]
tarruda has joined #nixos
<gluonix> I am working from a Dockerfile, that I did not write, and it installs dependencies using `nix-env -i /nix/store/...` such that many are from different `nixpkgs` versions. When I try to build the derivation using buildInputs coming from the same `nixpkgs` version, the build fail.
<emmanuel_erc> So I'm using "nix why-depends" to understand what depends on upon my dependencies. So I'm trying to get rid of the dependency upon the ghc compiler in my build by using removeReferencesTo. Here's the output I get when I utilize "nix why-depends" https://gist.github.com/emmanueldenloye/810b50613616f4251fe08073cbc5d9b0
<exarkun> gluonix: nixpkgs is just a collection of packages. different versions of nixpkgs are different collections. it's entirely possible to have a piece of software that depends on a piece of software that exists in one revision of nixpkgs and not in another.
<emmanuel_erc> I initially tried to use removeReferencesTo on gargoyle-postgresql-nix. I mistakenly thought that would only get rid of the references to ghc. But gargoyle-postgresql-nix is a runtime dependency.
<exarkun> gluonix: that doesn't mean pulling in multiple versions of nixpkgs is the _best_ solution but it's a solution
<lordcirth_> gluonix, you might be able to figure out the failures and get it all working on one release?
<LnL> emmanuel_erc: you can't just remove references to libraries, removeReferences is intended for cases where things like the docs reference an absolute path resulting in an unneeded runtime dependency
<gluonix> lordcirth_ I have been trying but so far I still encounter errors. The errors are actually what led me to find out that the builtInputs were from different nixpkgs revisions.
<{^_^}> [nixpkgs] @romildo merged pull request #99980 → marwaita-ubuntu: init at 1.5 → https://git.io/JUhJC
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JTYFa
bahamas has quit [Ping timeout: 272 seconds]
<gluonix> exarkun yes I understand. Is there a way to specify `builtInputs` such that they are not bound to a specific pinned down `nixpkgs` version.
justanotheruser has joined #nixos
<simpson> No, and it sounds like the offending Dockerfile should be rewritten.
<lordcirth_> gluonix, are the errors like, services refusing to start due to config options (where you should fix the configs) or what?
<emmanuel_erc> LnL: Yeah, I really just want to remove the reference to the GHC compiler
<LnL> you need static linking for that
<exarkun> gluonix: It sounds like you did that already
<exarkun> gluonix: And it broke stuff
<exarkun> gluonix: because you needed the pinned versions
<emmanuel_erc> I've tried doing something like "${pkgs.removeReferencesTo}/bin/remove-references-to -t ${pkgs.haskelll.compiler.ghc843} $out/bin/${component}"
<gluonix> lordcirth_ last error I got is `/nix/store/304rig0g637ynwxc23cr791cp3lril66-gcc-8.3.0/include/c++/8.3.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory #include_next <stdlib.h>`
<LnL> emmanuel_erc: with haskell specifically theres support for building static binaries from a package instead of libraries
<LnL> emmanuel_erc: to enable that use haskell.lib.justStaticExecutables backend instead of backend directly (which I assume contains the main executable you want)
<lordcirth_> gluonix, what is this dockerfile supposed to do?
<clever> gluonix: are you building in nix-shell? or nix-build?
<justanotheruser> anyone failing in stage 1 with a thinkpad t15? "Timed out waiting for device"
<LnL> emmanuel_erc: if remove references worked you'd end up with a broken binary
<justanotheruser> same drive works fine on a t580, multiple different drives fail for t580
<gluonix> so, I am trying to write a derivation and to build it with `nix-build` but when troubleshooting, I work in a `nix-shell` "session"
<justanotheruser> fail for t15*
<clever> ,libraries gluonix
<{^_^}> gluonix: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<clever> gluonix: installing things like gcc and make with nix-env isnt supposed to work, and will only cause problems
dumbuser has joined #nixos
<dumbuser> clever: It worked!
<dumbuser> clever: Thank you so much for your help
<clever> dumbuser: yay!
<simpson> gluonix: Hilarious. Cheered me up immensely; thanks for this joke. A better way forward is to install Nix as normal for the developing user, and then use nix-shell more plainly, with a shell.nix and possibly direnv.
<gluonix> clever ah ok, I see. I am totally new to `nix` and I have written the linked Dockerfile. What I want is the derivation to build on top of.
<clever> gluonix: line 24 of the Dockerfile, that is going to copy things weirdly and break a lot of stuff, you need to give it a derivation not a path
<simpson> gluonix: `FROM nixos/nix` will help a lot.
<clever> gluonix: make, autoconf, and gcc are in the stdenv by default, but stdenvNoCC forces them to not be there
<clever> gluonix: if you use plain stdenv.mkDerivation it will work a lot better, without a lot of that code
<gluonix> clever I see. Ok will try!
<ugubok> I can't build a simple plugin for mcabber: http://sprunge.us/dkPLI6
<ugubok> It says /nix/store/2a9lyngnya57rhvjni6km1zp8xwhs3g9-mcabber-1.1.0/include/mcabber/logprint.h:4:10: fatal error: glib.h: No such file or directory
<clever> ugubok: did you try adding glib to the buildInputs?
<ugubok> clever: Sure
rajivr has quit [Quit: Connection closed for inactivity]
bbarker has quit [Remote host closed the connection]
hllizi has joined #nixos
<gluonix> @simpson thanks. That is more or less what I am trying to do! :)
marcy__ has quit []
<simpson> gluonix: `FROM nixos/nix` will let you skip having to set up Nix inside the container. You can then `RUN nix-channel --update` or otherwise pin channels, before invoking `nix-env -i my-awesome-package` or whatever.
<pumpy> im trying to promote nixos at work and someone said the logo looks like an anus. what are those symbols so i can have an explanation?
<simpson> (Assuming that it's a design requirement that you're using Docker for portability. Otherwise, just force people to install Nix~)
<tilcreator> I'm trying to get a Valve Index working on my PC. When trying to start a game I get the error (trom steam):
<tilcreator> `ERROR: ld.so: object '/home/tilcreator/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.`
<tilcreator> That seams possibly nixos related, any idea how to fix it?
zupo has joined #nixos
<simpson> pumpy: I think that it's a snowflake made from Greek letter lambdas. The lambda represents functions and functional programming; the snowflake shape represents the precise reproducible nature of Nix. DigitalKiwi, I think, could tell you more.
<gchristensen> simpson: samueldr too
<pumpy> ty
<pumpy> makes sense
<gluonix> simpson ok thanks! My end goal is to actually build the dockerfile with nix instead. I am more or less setup in terms of development environment on my own machine, but the derivation I wrote so far did not work, meanwhile the Dockerfile works. So I have trying to figure out what is missing, and just today, realilzed the dependencies were from
<gluonix> different nixpkgs revisions.
<simpson> tilcreator: You need to set `hardware.opengl.driSupport32bit = true;` to have 32-bit games working on 64-bit chips, I think; see https://nixos.org/manual/nixos/stable/index.html#sec-x11 for more.
<pumpy> after a fresh nixos install vi is no longer found. is that because i didn't make it a package so it was removed?
<pumpy> make it a package = add it to configuration.nix
<tilcreator> simpson: thx, I will have a look
alp has quit [Remote host closed the connection]
<simpson> gluonix: Like, with dockerTools? You can of course install the traditional `docker` command with Nix, but eventually it'll be easier to treat the container image itself as something which Nix builds.
hllizi has quit [Ping timeout: 260 seconds]
alp has joined #nixos
dumbuser has quit [Remote host closed the connection]
<gluonix> @simpson yes, with `dockerTools`. But currently it's not my priority. I am trying to figure out whether I can build the thing with *one* pinned down nixpkgs revision.
g-w1 has quit [Quit: WeeChat 2.3]
g-w1 has joined #nixos
<pumpy> do ppl install text editors system wide or just in user accounts?
<pumpy> seems bad to not have a system wide text editor like vi
<gchristensen> I think you should have at least nano installed
<pumpy> ty
costrouc has quit [Quit: costrouc]
bahamas has joined #nixos
<simpson> `vi` the command is provided by several different packages, too. Folks usually want vim's vi, but there's no accounting for taste.
<simpson> ,locate bin/vi
<{^_^}> Found in packages: vim, busybox, vimHugeX
<g-w1> what is ,
<gchristensen> those with a discerning pallet prefer vimHugeX of course
<g-w1> i have seen it a lot
<gchristensen> palate*
<simpson> g-w1: It's an escape sequence for the bot {^_^} to ask it to do stuff.
<g-w1> oh
<simpson> > elvis # we have elvis packaged, but it doesn't have a bin/vi alias. Go figure.
<{^_^}> "<derivation /nix/store/x6xa5cbwdikcw5n1mnvj1j02ljr80bd2-elvis-2.2_0.drv>"
<lordcirth_> I just use home-manager to do the alias
<lordcirth_> (nvim, in my case)
costrouc has joined #nixos
<lordcirth_> I add vi and nvim to system packages but only alias per user
costrouc has left #nixos [#nixos]
<pumpy> gchristensen what's vimHugeX?
costrouc has joined #nixos
<pumpy> some sizequeen slang?
<simpson> It's vim built with all the bells and whistles; notably, it has X11 support.
<gchristensen> I dunno, I was making a silly joke without any knowledge of the actual situation
<pumpy> oh
<simpson> ...! Oh! And *that* is why my vimConfigurable doesn't have X11 clipboard support! I can fix an infelicity in my configuration now.
orivej has joined #nixos
ugubok[m] has joined #nixos
<pumpy> i followed https://nixos.wiki/wiki/Neovim but neovim isn't installed, what did i do wrong?
saschagrunert has quit [Quit: Leaving]
<simpson> Might have to add neovim to systemPackages? Not sure, I don't use it.
<LnL> that only configures the neovim package to include vi and vim commands, you still need to add it to environment.systemPackages
<pumpy> seems weird to not include that
<LnL> indeed :)
<LnL> he vim section does
waleee-cl has joined #nixos
<simpson> The wiki is imperfect. Feel free to improve it.
<emmanuel_erc> LnL: I've tried this. It doesn't work. The dependency is still there
<simpson> (Feel free to improve the official docs, too, but that is a more involved task!)
<LnL> emmanuel_erc: strange, you had to rebuild it right?
<emmanuel_erc> I mean the binary works. I've also tried to impose justStaticExecutables on gargoyle-postgresql-nix to no avail.
<emmanuel_erc> LnL: Yes
<LnL> and the why-depends output of the new version didn't change?
stree has quit [Quit: Caught exception]
stree has joined #nixos
<pumpy> ok neovim works now ty. btw is it possible to use a latest/master build of neovim? their upcoming 0.5 has changes i need
<ugubok[m]> I need help building mcabber plugin: http://sprunge.us/dkPLI6
<ugubok[m]> It says `/nix/store/2a9lyngnya57rhvjni6km1zp8xwhs3g9-mcabber-1.1.0/include/mcabber/logprint.h:4:10: fatal error: glib.h: No such file or directory` (glib is in buildInputs)
<emmanuel_erc> No it didn't. It looks exactly the same as before.
<emmanuel_erc> I'm going to try to use removeReferences over my gargoyle-postgresql-nix dependency
<emmanuel_erc> to be clear
<emmanuel_erc> I'll remove references to ghc in the post install attribute of that dependency's derivation.
yjftsjthsd has joined #nixos
__Sander__ has joined #nixos
bbarker has joined #nixos
noudle has joined #nixos
yjftsjthsd has quit [Remote host closed the connection]
yjftsjthsd has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
__Sander__ has joined #nixos
__Sander__ has quit [Client Quit]
__Sander__ has joined #nixos
<abathur> ugubok[m]: have you seen any other successfully-packaged mcabber plugins?
alp has quit [Remote host closed the connection]
alp has joined #nixos
sbetrium has joined #nixos
<ugubok> abathur: No, there is no mcabber plugins in repo, but there is very similar nix file for deadbeef plugins (like pkgs/applications/audio/deadbeef/plugins/mpris2.nix)
<{^_^}> [nixpkgs] @1000101 closed pull request #93789 → hyx: 0.1.5 -> 2020.06.09 → https://git.io/JJ4S8
<abathur> ugubok[m]: (I don't know anything about this; I did a naive search and didn't see any; if there aren't it's possible the mcabber package is causing the problem)
<pumpy> is https://github.com/gilligan/nix-neovim-nightly/issues/2#issuecomment-649531153 look like good nix code to enable neovim-nightly?
sangoma has quit [Quit: WeeChat 2.9]
CyberManifest has joined #nixos
CyberManifest has quit [Client Quit]
hllizi has joined #nixos
fendor has joined #nixos
<sphalerite> ugubok: it's a bug in the program's makefile, it only gets the cflags for mcabber with pkg-config but should also get them for glib https://github.com/kovetskiy/mcabber-external-editor/blob/master/Makefile#L3
<abathur> sphalerite: do you know enough about with-plugin patterns to know if that's also an essential component, here?
<sphalerite> abathur: not for building it, at least.
<ugubok> sphalerite: Thanks! I'll patch that
<abathur> nod :)
<sphalerite> abathur: I actually implemented the initial version of weechat's with-plugins x) but I have no idea how mcabber plugins work.
<tilcreator> When starting HL Axyl (here example for a generic SteamVR game) I'm getting these errors: https://bpa.st/QDRQ
<tilcreator> Are those possibly NixOS related, expecialy the lsusb and QT ones? (I already enabled 32bit support)
<abathur> guess that makes you an infinitely better reference than me :]
<sphalerite> if it's a little less obtuse than weechat, maybe you can point it to ~/.nix-profile/lib/mcabber or something
<sphalerite> I'm not sure if the weechat with-plugins thing is actually a good thing though x)
maxdevjs has joined #nixos
<sphalerite> ugubok: since it's actually a bug in general, not nixos-specific, I'd suggest submitting the patch upstream as well :)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kreyren has quit [Remote host closed the connection]
shibboleth has joined #nixos
kreyren has joined #nixos
berberman_ has joined #nixos
berberman has quit [Ping timeout: 260 seconds]
is_null has joined #nixos
kreyren has quit [Remote host closed the connection]
zupo_ has joined #nixos
kreyren has joined #nixos
leungbk has joined #nixos
knupfer has joined #nixos
<pumpy> how do i modify https://github.com/gilligan/nix-neovim-nightly/issues/2#issuecomment-649531153 so that viAlias and vimAlias are true?
kapil_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @FRidh merged pull request #100428 → 20.09: pythonPackages: use latest qt version instead of 5.14 → https://git.io/JTqud
<{^_^}> [nixpkgs] @FRidh pushed 45 commits to release-20.09: https://git.io/JTOvc
<{^_^}> [nixpkgs] @FRidh merged pull request #99709 → Staging next → https://git.io/JUNoN
<{^_^}> [nixpkgs] @FRidh pushed 466 commits to master: https://git.io/JTOv0
is_null has quit [Ping timeout: 240 seconds]
ikwildrpepper has quit [Changing host]
ikwildrpepper has joined #nixos
kapil_ has joined #nixos
fendor has quit [Quit: Leaving]
endformationage has joined #nixos
<jasom> why does this seem to fail? nix-env -iA nixos.pinentry-qt && which pinentry-qt
<jasom> and yet /nix/store/m8c2g7an4j16c1w93cnap5j3qwjvwd8i-pinentry-1.1.0-qt/bin/pinentry-qt exists
<clever> jasom: because pinentry-qt is an alias to pinentry.qt
zebrag has quit [Remote host closed the connection]
<clever> jasom: and nix-env prefers installing the .out of things
zebrag has joined #nixos
<jasom> ah
<clever> `nix-env -i $(nix-build '<nixpkgs>' -A pinentry-qt)` would trick it into installing -qt instead
gluonix has quit [Remote host closed the connection]
bahamas has quit [Ping timeout: 258 seconds]
noogie has joined #nixos
gxt has quit [Remote host closed the connection]
<jasom> I think I'll settle for building to e.g. ~/pinentry-qt and using that path in my gpg config
gxt has joined #nixos
<clever> jasom: programs = { gnupg.agent = { pinentryFlavor = "gtk2";
<jasom> clever: can I do that in my user configuration?
<clever> jasom: with home-manager, maybe
<jasom> not using home-manager
<clever> then youll just need to configure it the old way
is_null has joined #nixos
shibboleth has quit [Quit: shibboleth]
dansho has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @magnetophon opened pull request #100514 → flameshot: 0.6.0 -> 0.8.4 → https://git.io/JTOfj
mananamenos has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
whatisRT has joined #nixos
is_null has quit [Ping timeout: 260 seconds]
camsbury has quit [Ping timeout: 240 seconds]
fendor has joined #nixos
alp has quit [Ping timeout: 272 seconds]
dansho has joined #nixos
<pinpox> Hi, I'm trying to create a list of attributesets from a list of strings that is read from a file
<pinpox> I got the file-reading part working: lib.splitString "\n" (builtins.readFile ./all-subscriptions.opml)
elibrokeit has joined #nixos
<pinpox> how do I create a list like this from it: [ { url = "line 1 of input"; } { url = "line 2 of input";} .... ]
zimbatm has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
zimbatm has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
alexherbo2 has joined #nixos
camsbury has joined #nixos
<cransom> pinpox: use map, for something like: map (x: { url = x; }) (lib.splitString "\n" (builtins.readFile ./all-subscriptions.opml))
<pinpox> map (x: { url = x; } ) (lib.splitString "\n" (builtins.readFile ./all-subscriptions.opml))
<pinpox> cransom: oh you where faster :D
<pinpox> nice, let me try that out
<pinpox> cransom: I get: error: stack overflow (possible infinite recursion)
<{^_^}> [nixpkgs] @roberth opened pull request #100515 → haskellPackages.optparse-applicative: Fix for compgen error → https://git.io/JTOTY
cosimone has quit [Quit: cosimone]
<pinpox> cransom: This is what I'm trying: https://gist.github.com/pinpox/d834adb8e580d98947c75fab1b5f4173
<ugubok> If some library's Makefile simply does `install -D lib.so /usr/lib/...` what is a best way to workaround that?
<cransom> pinpox: i think you want to append lists. urls = [ <the staticly set stuff ] ++ (map etc ));
davidv7_ has joined #nixos
<pinpox> cransom: same error
<pinpox> i can take out the static ones to try if that works
<{^_^}> [nixpkgs] @risicle merged pull request #87293 → python27Packages.cma: 2.7.0 -> 3.0.3 → https://git.io/Jfcxv
<{^_^}> [nixpkgs] @risicle pushed 2 commits to master: https://git.io/JTOTM
<pinpox> cransom: nope, even with urls = map (x: { url = x; } ) (lib.splitString "\n" (builtins.readFile ./youtube.txt));
<pinpox> I get the same error
rprije has joined #nixos
<pinpox> cransom: it works in the repl for me aswell, but not in my configuration.nix
nature has joined #nixos
<pinpox> I copied your gist
<cransom> is that a custom module?
<cransom> i don't see anything related to newsboat in unstable for a module.
<pinpox> cransom: it's in my home-manager configuration https://rycee.gitlab.io/home-manager/options.html#opt-programs.newsboat.enable
<pinpox> it works fine without the file-reading part (with just the static ones)
<{^_^}> [nixpkgs] @JohnTitor opened pull request #100516 → cargo-update: 4.1.1 -> 4.1.2 → https://git.io/JTOkO
<pinpox> cransom: seems to be related to the file, it works with a different one
<pinpox> cransom: could 323 lines be really too much for the stack?
leungbk has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
<pumpy> how do i modify https://github.com/gilligan/nix-neovim-nightly/issues/2#issuecomment-649531153 so that viAlias and vimAlias are true?
<{^_^}> [nixpkgs] @risicle opened pull request #100517 → [20.09] pythonPackages.cma: 2.7.0 -> 3.0.3 → https://git.io/JTOkQ
zacts has quit [Quit: leaving]
<pinpox> cransom: It seems I can only read 279 lines. When the file is >=280 lines, the error occurs: ""
<pinpox> error: stack overflow (possible infinite recursion
<pinpox> Is this a bug in the readFile function?
<pinpox> or in map?
costrouc has quit [Quit: costrouc]
meh` has quit [Ping timeout: 256 seconds]
knupfer has quit [Ping timeout: 244 seconds]
knupfer1 has joined #nixos
tmciver has quit [Ping timeout: 240 seconds]
costrouc has joined #nixos
knupfer1 is now known as knupfer
tmciver has joined #nixos
<{^_^}> [nixpkgs] @bachp opened pull request #100518 → tautulli: 2.2.4 -> 2.5.6 → https://git.io/JTOIQ
simonpe^^ has joined #nixos
<simonpe^^> I'm trying to build some old example code with ghc 7.10 (lts-3.15), is that stuff deprecated? I can't find anything in nixos-unstable
<{^_^}> [nixpkgs] @bachp closed pull request #92588 → tautulli: 2.2.4 -> 2.5.2 → https://git.io/JJt89
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
whatisRT has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #nixos
knupfer1 is now known as knupfer
sbetrium has quit [Quit: sbetrium]
<pinpox> Anyone got an idea on how to fix the stack overflow?
shibboleth has joined #nixos
srhm has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Baughn opened pull request #100519 → nvidia: Preliminary nVidia/AMD PRIME and dynamic power management support → https://git.io/JTOLE
arjen-jonathan has quit [Ping timeout: 272 seconds]
<pinpox> Guess I'll open an issue for it
evanjs has quit [Ping timeout: 258 seconds]
evanjs has joined #nixos
<noonien> i'm having a problem running a nixos-container. i've added the following line in my container, `bindMounts."/run/thelounge" = { isReadOnly = false; };`, however, /run/thelounge does not exist on the host yet, and it does not seem to be created
<noonien> is this a bug? or should i create the path myself somehow?
justanotheruser has quit [Ping timeout: 272 seconds]
costrouc has quit [Quit: costrouc]
knupfer has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @hyperfekt opened pull request #100520 → nixos-install: add passthrough --keep-going flag → https://git.io/JTOqU
fendor has quit [Quit: Leaving]
<aswanson> there a quick and easy way to bump the version of a python application via an overlay? I tried doing a simple `super.<packageName>.override { version = <newversion>};` but nix is not happy with that
<aswanson> I'm seeing a reference to "unexpected argument 'version'" in the returned error
costrouc has joined #nixos
kdlv has joined #nixos
Twey has quit [Quit: WeeChat 2.9]
seku has joined #nixos
<pie_> davidak[m]: i saw you doing lots of container building IIRC, do you know any way to make them faster? i have to wait annoyingly long for squashfs when im trying to iterate
<risson> aswanson: the syntax is
<risson> super.package.override (old: {
<risson> version = "newversion";
<risson> });
<gchristensen> pie_: https://github.com/grahamc/netboot.nix has fast squashes
<pie_> newversion is not a string here risson ?
<aswanson> risson: thanks, I'll give that a shot
<pie_> risson: its the argument to the mkderivation or whatever and so needs to be a derivation
<risson> pie_: yeah they will replace it with whatever is needed
<pie_> aswanson: what you probably want to look at it .overrideAttrs or .overridePythonAttrs, but i dont actually know how it works for python packages
<pie_> and you generally need to override the src attribute with a fetcher for the new version
<pie_> does that make sense?
<pie_> risson: so, no easier or harder than doing it for other packages, i think.
<aswanson> yeah I think I can stumble through it now with that key bit of including the old: argument
<pie_> :thinking: there are probably scripts somewhere that can generate something for you but i dont know any
<pie_> gchristensen: thanks ill take a look
<pie_> gchristensen: wut.
<gchristensen> wut?
stree has quit [Quit: Caught exception]
stree has joined #nixos
<pie_> thats a big improvement. how is recursive nix even relevant?
<pie_> - and i still dont even know why squashfs happens at all in the first place
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #100521 → pythonPackages.libsass: init at 0.20.1 → https://git.io/JTOm4
webframp has joined #nixos
nbathum has left #nixos [#nixos]
<pumpy> how do i modify https://github.com/gilligan/nix-neovim-nightly/issues/2#issuecomment-649531153 so that viAlias and vimAlias are true pls?
<gchristensen> pie_: sounds like you have some research ahead of you :)
<pie_> well im gonna try to peek through the source but i figured its easier for you to summarize:p
<pie_> maybe im just remembering wrong;
<pie_> do or do not containers do a squashfs run?
<{^_^}> [nixpkgs] @jfroche opened pull request #100522 → python{2,3}Package.pytest-bdd: 3.2.1 -> 4.0.1 → https://git.io/JTOmN
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #100523 → dnscontrol: 3.3.0 -> 3.4.2 → https://git.io/JTOmp
zupo_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @06kellyjac opened pull request #100524 → starboard: 0.5.0 -> 0.6.0 → https://git.io/JTOY0
<aswanson> still not having luck overriding that version. I too a look at the entry in top-level/all-packages.nix and it seems that this one is defined kind of strangley. should that matter? https://github.com/NixOS/nixpkgs/blob/420f89ceb267b461eed5d025b6c3c0e57703cc5c/pkgs/top-level/all-packages.nix#L7710
zupo has joined #nixos
lorimer has quit [Quit: NAE TROOSERS]
<pie_> newscope is scary
<pie_> i had a hard time with that one
<pie_> sheesh x
<pie_> xD
<pie_> aswanson: check if you can tab complete something like .extend in the repl
lorimer has joined #nixos
jb55 has quit [Ping timeout: 240 seconds]
<pie_> ...why the heck does that even use newscope
<aswanson> yeah, it doesn't seem to be doing anything all that weird that would warrant it...
<pie_> hm no extend, how did this work again...
<pie_> maybe look for the pr / commit that introduced it?
<aswanson> at this point I'm tempted to just override the whole damn package, can that be done?
<pie_> i _think_ ths is where newscope comes from https://github.com/NixOS/nixpkgs/blob/master/lib/customisation.nix#L208
jb55 has joined #nixos
simonpe^^ has quit [Ping timeout: 272 seconds]
<pie_> ok michaelraskin wrote that so its probably like that for a good reason :p
<pie_> so what this does is add the python3 packages to the auto arguments of callPackage
<pie_> i havent seen this pattern in all-packages yet but it might make sense
<pie_> i have no idea how that definition is not an immediate infrec but apparently `newscope something somethingelse` is similar to `callpackage somethingelse`
<pie_> so its like callpackage ../applications/misc/visidata {};
<aswanson> neat?
<aswanson> haha
<pie_> not an infrec / not a no-op
<pie_> clever: halp im stuck understanding the same thing again ;_; ^
<pie_> if i do a substitution on: newScope = scope: newScope (self // scope);
<pie_> like newScope {}
<pie_> thats newScope (self // {});
<clever> pie_: newScope adds an .overrideScope for you
<pie_> which is newScope (self)
<clever> that allows mutating the package set
<pie_> which is newScope (self // self)
<clever> it takes an overlay as input, and re-does the fixpoint
<pie_> and so on...
proofofkeags has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jfroche opened pull request #100525 → python3Package.pytest-flask: remove support for python 2.7 → https://git.io/JTOO1
<pie_> clever: yeah so overridescope is like .extend
ugubok has quit [Quit: Konversation terminated!]
<clever> yep
<pie_> but newScope makes no sense to me
fendor has joined #nixos
<aswanson> I have a feeling I'll need something like that, because right now nix is complaining that visidata is being called without required argument 'buildPythonApplication' which I shouldn't have touched with overridePythonAttrs, (I think?)
<pie_> > let newScope = scope: newScope (self // scope); in newScope {}
<{^_^}> error: stack overflow (possible infinite recursion)
<pie_> clever: so im not dumb, it is absolutely useless and im missing something
<clever> self = pkgs.lib.makeScope pkgs.newScope packages;
<clever> packages = with pkgs.lib; self: {
<clever> nix-repl> pkgs.newScope
<clever> «lambda @ /nix/store/1v1jczwm2d4wff3yq5j3zrknifpk8m77-nixos-21.03pre243434.e0759a49733/nixos/pkgs/top-level/splice.nix:132:14»
<clever> 132 newScope = extra: lib.callPackageWith (splicedPackagesWithXorg // extra);
<pie_> ok so its a different newscope from splice *rolls eyes*, gets me every time
<pie_> but still what the heck is this newscope doing?
<clever> pie_: you pass it a set, and it will create a custom callPackage, that searches an extra place
<clever> so when you run the new callPackage on `{ a }: ...`, it will look for extra.a first, then splicedPackagesWithXorg.a
<pie_> or is the problem that im passing it a set and not a function
seanparsons has quit [Quit: ZNC 1.7.5 - https://znc.in]
mrueg has joined #nixos
<pie_> aswanson: i think you should be able to use whichever override variant is appropriate
dansho has quit [Quit: Leaving]
<clever> pie_: and makeScope will create another newScope within that new scope
<clever> pie_: so you can put a scope within a scope
<mrueg> Hi, can anyone help me out how the rendered yml config here in this one looks like? https://github.com/NixOS/nixpkgs/pull/68496/files#diff-f687d95cb22392a9058d1877caca3a5264dc6380eb17cde881879bc209903b82
hyper_ch2 has quit [Read error: Connection reset by peer]
seanparsons has joined #nixos
<pie_> clever: youre explaining everything except the immediate thing i dont get :P
<pie_> ugh theres also an argument called newScope there
<pie_> is there some name shadowing happening somewhere
<clever> pie_: thats the newScope function, from the parent scope
noonien has quit []
<clever> pkgs.newScope in my simple-test.nix example
jb55 has quit [Ping timeout: 240 seconds]
<pie_> clever: the link shows:
<pie_> newScope = scope: newScope (self // scope);
<pie_> immediately on the next line:
<pie_> callPackage = self.newScope {};
<pie_> but:
<pie_> > let newScope = scope: newScope (self // scope); in newScope {}
<{^_^}> error: stack overflow (possible infinite recursion)
<clever> let blocks are recursive, sets arent
<pie_> doh
<pie_> i cant read
<pie_> i still think someone should rename that argument
<pie_> clever: thanks
<pie_> aswanson: do you know how to use the repl
<pie_> i was able to tab complete here:
<pie_> nix-repl> visidata.override
<pie_> visidata.override visidata.overrideAttrs visidata.overrideDerivation visidata.overridePythonAttrs
<aswanson> basically I know how to start it haha
<pie_> yeah so
helithumper[m] has joined #nixos
<pie_> you can just do nix repl '<nixpkgs>' and then tab complete stuff
<pie_> and also do stuff like
<pie_> > visidata.overridePythonAttrs (old: lib.traceValSeqN 2 old)
<{^_^}> "<derivation /nix/store/wznm9ndqygjd01xpapfg94b1rmzxgcc0-visidata-1.5.2.drv>"
<pie_> ok right, you dont actually get the trace output here
<aswanson> I'll have to play with that
<pie_> so you should try that in your repl
<pie_> doesnt really show what src is but it shows that its there so its the right override call
<pie_> well. overrideAttrs also has it
<pie_> so eh?
mallox has joined #nixos
noonien has joined #nixos
<pie_> aswanson: since we're here, do you know about show-derivation?
<aswanson> sounds familiar but I seem to only find myself this deep in the guts of nixpkgs about every 6 months so I spend a lot of time relearning things
jb55 has joined #nixos
<pie_> heh
<pie_> ikr
<pie_> aswanson: so did you manage to make progress or am i poking you too often? :p
<aswanson> jury's out on the progress
<aswanson> I'm getting different problems which is a good sign
<aswanson> no worries about the pokes
mallox has quit [Quit: WeeChat 2.9]
<pie_> i keep thinking we need a cloud thingy where people can collab in a shell
proofofkeags has joined #nixos
<aswanson> this is the thing that's weirding me out about this package, I'm able to get it to take these overridden attributes I'm passing in, but when I install it nix doesn't seem to pull down the new src I'm pointing it at
<gchristensen> pie_: you need a nix which supports recursive nix
euandreh has joined #nixos
<aswanson> success! I can never keep clear when nix chooses to redownload things haha. Turns out keeping the old SHA256 value meant it didn't actually get anything new
<pie_> aswanson: did you change the hash
<pie_> yeah
<pie_> trips people up all the time
<pie_> i really thing we should do something abut that
<pie_> gchristensen: *thumb*
<clever> aswanson: if you claim the hash and name are the same, then nix will trust you, and reuse the old thing by that name&hash
vandenoever has quit [Quit: Konversation terminated!]
<aswanson> yeah, I probably appreciate how much re-downloading that logic cuts out 99% of the time without realizing it, but in this case my magic brain thinks that nix will realize that since the version is different I want new files
BlessJah has quit [Ping timeout: 246 seconds]
<clever> aswanson: previously, the version was included in the name, so the name+hash would have differed
<clever> aswanson: but the name has since been set to "source" for most things, breaking that
hllizi has quit [Ping timeout: 240 seconds]
<aswanson> that must be part of it. I could have sworn that version bumps triggered it before, but like I said I only ever do this stuff every six months or so lol
<pie_> clever: does it even make sense to ignore changes in the version
<{^_^}> [nixpkgs] @jtojnar pushed to release-20.09 « ufraw: mark broken »: https://git.io/JTOGr
<pie_> its not that nix trusts you its just that all it cares about is the hash?
<clever> pie_: usually, if the version# changes, the contents definitely changed
<pie_> clever: well, thats what people intend. but then re: forgetting to change the sha
<clever> but it re-checking was more of an accidental feature, because /nix/store/hash-package-1 wont make a search for /nix/store/hash-package-2 happy
<clever> so it would try to download package-2, and then discover the hash is wrong
<clever> but now its hash-source and hash-source, and it finds the old copy more easily
<jared-w> awscli2 doesn't seem to have its completions working... Trying to figure out how much I care about this
<pie_> hm. *nod*
<pie_> i still think the ux is terrible
<pie_> gchristensen: why _Are_ you using recursive nix here though? btw does recursive nix let you use different nix versions inside the builder? (i imagine thats part of whats going on here)
<pumpy> what is the nixos pastie service? i have something to show
<pie_> i dont think we have one actually heh
* clever heads off to bed
Darkmatter66_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
<pie_> clever: gnight ^.^
Darkmatter66 has joined #nixos
noonien has quit [Remote host closed the connection]
<pumpy> niet
<pumpy> nite
noudle has quit []
thc202 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #99276 → awscli: 1.18.138 -> 1.18.150 → https://git.io/JUSzs
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/JTOZv
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JTOZI
<pumpy> how do i modify https://github.com/gilligan/nix-neovim-nightly/issues/2#issuecomment-649531153 so that viAlias and vimAlias are true? i tried https://dpaste.org/W0S2 but it gives syntax errors
BlessJah has joined #nixos
__monty__ has quit [Quit: leaving]
Guest42559 has quit [Quit: WeeChat 2.7.1]
TheNumb has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to release-20.03 « Revert "nixos/display-managers: install sessionData.desktops" »: https://git.io/JTOZn
patrickod has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<jasom> anyone have suggestion for the most reasonable way for configuring nixos to do periodic tasks? systemd timers, anacron, something else?
justanotheruser has joined #nixos
fendor has quit [Remote host closed the connection]
dmj` has quit [Ping timeout: 272 seconds]
ajmcmiddlin has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
victorbjelkholm_ has joined #nixos
englishm has joined #nixos
<ToxicFrog> I just use systemd timers
manveru has joined #nixos
<{^_^}> [nixos-homepage] @samueldr pushed 5 commits to redesign-donate: https://git.io/JTOZX
patrickod has quit [Ping timeout: 272 seconds]
diamondman has quit [Ping timeout: 272 seconds]
jackdk has joined #nixos
chriscoffee has joined #nixos
sgraf has joined #nixos
dmj` has joined #nixos
kdlv has quit [Quit: Leaving]
diamondman has joined #nixos
<{^_^}> [nixos-homepage] @samueldr pushed 2 commits to redesign-donate: https://git.io/JTOnU
cjpbirkbeck has joined #nixos
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
teozkr_ has quit [Ping timeout: 272 seconds]
SrPx has joined #nixos
teozkr_ has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #100526 → go_1_15: 1.15.2 -> 1.15.3 → https://git.io/JTOn3
Izorkin has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #100527 → go_1_14: 1.14.9 -> 1.14.10 → https://git.io/JTOnG
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jasom> Aha, just found the systemd.services.<name>.startAt to automatically generate a timer along-side the service. That simplifies things a lot
zebrag has quit [Quit: Konversation terminated!]
patrickod has joined #nixos
Izorkin has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d3784204ba1 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
zebrag has joined #nixos
<abathur> has anyone used a RAM-backed TMPDIR for Nix builds? curious 1) did it have a worthwhile performance impact? and 2) how much space did it need to be viable?
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
ericsagnes has quit [Ping timeout: 260 seconds]
anderslu1dstedt has quit [Quit: leaving]
noonien has joined #nixos
alp has joined #nixos
jbo has quit [Remote host closed the connection]
anderslundstedt has joined #nixos
philr has joined #nixos
zupo has joined #nixos
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @mweinelt opened pull request #100528 → linuxPackages_latest: update to linuxPackages_5_9 → https://git.io/JTOc3
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2020-10-13 -> 2020-10-14 »: https://git.io/JTOcB
sbetrium has joined #nixos
<{^_^}> [nixpkgs] @magnetophon closed pull request #96579 → qmidinet: 0.6.2 -> 0.6.3 → https://git.io/JUL41
back25[m] has joined #nixos
BlessJah has quit [Ping timeout: 240 seconds]
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @mweinelt merged pull request #99529 → python3Packages.zeroconf: enable tests → https://git.io/JU5cm
BlessJah has joined #nixos
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JTOch
<{^_^}> [nixpkgs] @jfroche opened pull request #100529 → pythonPackages.pytest-cram: 0.2.0 -> 0.2.2 → https://git.io/JTOCv
tmciver has quit [Ping timeout: 272 seconds]
Rusty1 has joined #nixos
tmciver has joined #nixos
<{^_^}> [nixpkgs] @erictapen opened pull request #100530 → osrm-backend: 5.22.0 -> 5.23.0 → https://git.io/JTOCw
<cirno999> how do i use libvirt-manager with nixos? I've enabled libvirtd, still getting `Could not detect a default hypervisor. Make sure the appropriate qemu/kvm virtualization packages are installed to manage virtualization on this host.`
<cirno999> virt-manager*
erasmas has quit [Quit: leaving]
<colemickens> cirno999: did you add "libvirt" to your user's extraGroups?
<cirno999> yep!
<colemickens> or it might be libvirtd
<colemickens> did you re-login after doing that?
<cirno999> ah yeah i did add libvirtd actually
<cirno999> i did a reboot
<colemickens> hm
<colemickens> it's possible that I hit that and then just added the qemu connection manually
<cirno999> mhm
<colemickens> this is what I use to enable libvirtd : https://github.com/colemickens/nixcfg/blob/main/mixins/libvirt.nix
<cirno999> i think that just looks like my options
<cirno999> ` virtualisation.libvirtd.enable = true;`
<cirno999> ` pkgs.virt-manager`
<colemickens> the security wrapper thing is to get usb devices working with virt-manager
<cirno999> ` extraGroups = ["wheel""libvirtd"]; `
bqv has joined #nixos
<colemickens> you cna try adding the connection manually: `qemu:///system`
<cirno999> hmm, i think it connected!
<cirno999> took a few seconds though
<colemickens> sounds normal
<cirno999> thanks ^^
wnklmnn has quit [Quit: Leaving]
<cirno999> do i need to install spice-gtk?
<jasom> cirno999: if you want USB passthrough you will need to
<cirno999> let me try.
<jasom> cirno999: at least according to the comments in my nix configuration
<jasom> cirno999: it should be in systemPAckages
<jasom> cirno999: but I remember that just "virtualisation.libvirtd.enable = true" was enough to let me run it without USB passthrough
<jasom> (well plus libvirtd in my user's groups)
<cirno999> a lot of pings ^^
<cirno999> okay thanks for the help
Serus has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #98059 → scrypt: 1.3.0 → 1.3.1, build library, enable tests → https://git.io/JUBmd
<{^_^}> [nixpkgs] @thoughtpolice pushed 3 commits to master: https://git.io/JTOWj
nature has quit [Ping timeout: 246 seconds]
<davidak[m]> <pie_ "davidak: i saw you doing lots of"> building get's a lot faster when you disable the manuals and use the same nixpkgs
<davidak[m]> especially the more containers you have
cr4y1 has quit [Ping timeout: 260 seconds]
<gchristensen> is there a way to go from the module system's .config and produce a JSON document of the full configuration -- defaults and all?
bbarker_ has joined #nixos
bbarker has quit [Ping timeout: 246 seconds]
<edef> gchristensen: no, you'd need .options for that
<{^_^}> [nixpkgs] @bhipple merged pull request #100500 → [20.09] pythonPackages.titlecase: fix missing dependencies → https://git.io/JTYlY
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to release-20.09: https://git.io/JTOla
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
bbarker has joined #nixos
bbarker_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @panurg opened pull request #100531 → pawn: init at 4.0.5749 → https://git.io/JTOl9
ManiacOfMadness has joined #nixos
<{^_^}> [nixpkgs] @bhipple merged pull request #100529 → pythonPackages.pytest-cram: 0.2.0 -> 0.2.2 → https://git.io/JTOCv
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JTO8f
<cole-h> gchristensen: Though it's written in C++, maybe you could use nixos-option for inspiration
<gchristensen> thanks!
<gchristensen> to both of you, cole-h and edef!
aquarial has joined #nixos
<gchristensen> hey not bad
sigmundv has quit [Ping timeout: 256 seconds]
sputny has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bhipple merged pull request #100509 → [20.09] opencl-info: fix build → https://git.io/JTYyL
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to release-20.09: https://git.io/JTO8R
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @piegamesde opened pull request #100532 → various packages: Fix broken desktop files and mark packages as broken → https://git.io/JTO81
<Cadey> what are some good NixOS friendly laptops?
<{^_^}> [nixpkgs] @mweinelt opened pull request #100533 → pythonPackages.flake8-future-import: fix build → https://git.io/JTO8A
<gchristensen> Cadey: I like the xps 13
<gchristensen> but it runs such a new kernel pretty much any linux friendly laptop is nixos friendly
<Cadey> eww it caps out at 512 GB storage?