andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2019 || For best support,
erasmas has quit [Quit: leaving]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kleisli has quit [Ping timeout: 268 seconds]
m0rphism has quit [Ping timeout: 240 seconds]
mexisme has quit [Ping timeout: 245 seconds]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 268 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f4b4c66a083 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @marsam opened pull request #78393 → flexget: 3.1.10 -> 3.1.11 → https://git.io/JvtVc
tokudan has quit [Quit: Dunno.]
chiefgoat has joined #nixos
chiefgoat has quit [Client Quit]
chiefgoat has joined #nixos
tokudan has joined #nixos
<pie_[bnc]> clever: im trying to get the value of this https://github.com/NixOS/nixpkgs/blob/0d97ef510bdc9d66f1023f970be58fdab2eb87fa/nixos/modules/system/boot/loader/grub/grub.nix#L607 but nixos-option doesn seem to see it
<clever> pie_[bnc]: system.build is a single option, of type attr set
<clever> pie_[bnc]: nixos-option may not let you view attrs of it, only the whole thing
lorimer has joined #nixos
<pie_[bnc]> seems to be easier to look at whatever calls it in /run/current-system/bin/switch-to-configuration but it still bothers me
<pie_[bnc]> clever: thats...weird? i can tab complete on it and it doesnt have that attr
<clever> [root@amd-nixos:~]# nixos-option system.build
<clever> Value:
<clever> installBootLoader = «derivation /nix/store/rj5ccb5cj332qhdlpy1384nxz9zjq4i5-install-grub.sh.drv»;
<clever> pie_[bnc]: yeah, it only works for system.build
<pie_[bnc]> oh what thats weeeeeird
<pie_[bnc]> whaaat
<clever> the option is system.build, thats why its like that
<pie_[bnc]> looking at the value of system.build does what i want
pjan has quit [Remote host closed the connection]
<pie_[bnc]> i can guess at whats going on but its still weird
<pie_[bnc]> id have figured that if you have an attrset as an argument, all the attribs of it are config options
<pie_[bnc]> but this makes sense
<clever> they exist in config, but not in options
<pie_[bnc]> im still super weirded out by it for some reason
<clever> which may confuse nixos-option
<pie_[bnc]> oh
<clever> could be worthy of a bug report
<{^_^}> [nixpkgs] @marsam opened pull request #78394 → nodejs-13_x: 13.6.0 -> 13.7.0 → https://git.io/JvtV0
<pie_[bnc]> but...how could it even fail on that
<pie_[bnc]> nixos-option doesnt do anything complicated iirc
sondr3 has quit [Quit: WeeChat 2.7]
<pie_[bnc]> An error occurred while looking for attribute names. Are you sure that 'system.build.installBootLoader' exists?
<pie_[bnc]> $ nixos-option system.build.installBootLoader
<pie_[bnc]> error: At 'installBootLoader' in path 'system.build.installBootLoader': Attribute not found
<clever> it checks if the thing exists in the options tree first
<pie_[bnc]> oh
<pie_[bnc]> ok thats kind of awkward
chagra has quit [Ping timeout: 268 seconds]
chiefgoat has quit [Quit: ZNC 1.7.5 - https://znc.in]
werner291 has quit [Remote host closed the connection]
chiefgoat has joined #nixos
<evanjs> so I have a nix function that checks against a list of channels for a given package, and gets the newest one. Does anybody have an example of that but for hydra?
<evanjs> e.g. just get me the last version of X that was build/evaluated on hydra
<infinisil> Can't do that in nix directly (well, without hacks at least)
<infinisil> The hydra API should be useful for this
erictapen has quit [Ping timeout: 265 seconds]
<infinisil> But I don't know of an example of something like this
<{^_^}> [nixpkgs] @marsam opened pull request #78395 → mutagen: 0.10.2 -> 0.10.3 → https://git.io/JvtVu
shibboleth has quit [Quit: shibboleth]
erictapen has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #78281 → aws-sam-cli: 0.34.0 -> 0.40.0 → https://git.io/JvLrF
<{^_^}> [nixpkgs] @jonringer pushed commit from @lo1tuma to master « aws-sam-cli: 0.34.0 -> 0.40.0 »: https://git.io/JvtVz
drakonis1 has joined #nixos
<pie_[bnc]> clever: im trying to figure out what actually creates /boot/grub/x86_64-efi/*modulesgohere* >_>
o1lo01ol1o has quit [Remote host closed the connection]
<clever> pie_[bnc]: the grub-install program, from grub itself
yhager has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e6391b4389e (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
orivej has quit [Ping timeout: 258 seconds]
<yhager> I'm very new to nix, so please bear with me. I'm trying to build my project with cmake, which requires downloading and building packages from the internet (e.g. openssl). The build starts fine, but then cmake fails downloading files because it cannot resolve hosts like openssl.org and github.com. I have no problem resolving them outside of nix-build, or in nix-shell, and I'm not sure what might be the issue.
<pie_[bnc]> clever: oh :V
<pie_[bnc]> clever: i was lookign at install-grub,pl but that explains why i couldnt find it
<pie_[bnc]> clever: too many moving parts :
<pie_[bnc]> :P
<yhager> On `nsswich.conf` the hosts line is `hosts: files dns myhostname`
<simpson> yhager: Instead of building your project by hand, with Nix, you'll write a Nix expression for your project and use nix-build to put it together.
thc202 has quit [Ping timeout: 268 seconds]
<simpson> Can you show us what you've tried so far?
<yhager> Yes, that's what I'm doing. I have a nix expression and I'm calling `nix-build`
<infinisil> yhager: You can't access the network in the nix-build sandbox
<yhager> Oh!
kvda has joined #nixos
<simpson> Oh, okay, awesome. In your build, rather than asking cmake to do network stuff, you'll want to put `openssl` and others into your derivation's `buildInputs`.
<pie_[bnc]> clever: ok so now the thing is that grub2_full has i386-pc modules and my system has as you saw above x86_64-efi, and im not sure why
<pie_[bnc]> is it the .override that sets efi?
kvda has quit [Client Quit]
<clever> pie_[bnc]: one sec
<pie_[bnc]> well i can just test that actually
<yhager> hmm.. I see. I understand this would be the natural way to do stuff with nix. The problem is I have a system that is already downloading and building everything it needs, and I'm trying to move it to nix. So I would rather if it worked out of the box for now, and with time I can phase out the downloading and building outside of nix. Is there any way to allow network access within `nix-build`?
<pie_[bnc]> clever: yay that seems to have done it \o/
<pie_[bnc]> clever: @ nix-repl> :b (grub2_full.override { efiSupport = true; }) , things seem to match up now
<pie_[bnc]> clever: yeah but i doubt grub is recompiling itself
<clever> pie_[bnc]: grub.nix is grabbing the overridden version, and putting that into the grubEfi var
<clever> but if you disable efi support, grubEfi = null
kleisli has joined #nixos
<pie_[bnc]> clever: yeah i see it now
<qyliss> /go
<pie_[bnc]> well, i dont really like this but i dont have any better ideas and im not gonna rewrite it :p
<qyliss> I really need to do something to stop me doing that
<clever> pie_[bnc]: i would just add a custom module to the dir by hand, for testing
leotaku has joined #nixos
<simpson> yhager: Like, how much time? Hopefully it'd be done in a single commit of a few hundred lines. Does your cmake configuration only download packages conditionally, when it can't find them locally? You could go put everything into buildInputs as a first step and then figure out how much of your cmake stuff should be removed.
<evanjs> infinisil: mmkay figured as much. I could also just build some things off master, and for a majority of them (jetbrains, gitkraken, postman), they're just binary packages anyway, so I guess it probably won't matter in the end?
<pie_[bnc]> clever: thats kind of what im trying to do
kleisli has quit [Client Quit]
<evanjs> Like I won't really suffer any serious performance hits/extended rebuild times
kleisli has joined #nixos
<pie_[bnc]> clever: im trying to figure out how to remove a module and splice it in after the fact
turona has quit [Ping timeout: 272 seconds]
turona_ has joined #nixos
turona_ has quit [Max SendQ exceeded]
turona has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #78397 → uberwriter: add shared-mime-info to environment → https://git.io/JvtwT
leotaku has quit [Ping timeout: 260 seconds]
doyougnu has joined #nixos
KeiraT has quit [Remote host closed the connection]
KeiraT has joined #nixos
leotaku has joined #nixos
simukis_ has joined #nixos
simukis__ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #78398 → cascadia-code: add variants → https://git.io/Jvtwz
<yhager> simpson: no, it builds everything it needs (and links statically). That is what I've been doing so far, but now I want to nix it (for lack of a better word), and was hoping to first build it as usual under nix, as a proof of concept. I guess there's no choice and I need to go and change my cmake files though
alex`` has quit [Ping timeout: 268 seconds]
<pie_[bnc]> clever: protip: you can look at the contents of partitions with testdisk without mounting them
<clever> pie_[bnc]: grub testdisk or linxu testdisk?
<pie_[bnc]> photorec testdisk
<NemesisD> how good or bad of an idea is it to enable autoUpdate?
<clever> NemesisD: i tend to avoid it
leotaku has quit [Ping timeout: 268 seconds]
Rusty1 has quit [Remote host closed the connection]
leotaku has joined #nixos
sigmundv__ has quit [Ping timeout: 260 seconds]
judson has quit [Ping timeout: 265 seconds]
Rusty1 has joined #nixos
is_null has quit [Ping timeout: 260 seconds]
is_null has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvtrC
tpanum has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @veprbl merged pull request #78335 → buildbot: 2.5.1 -> 2.6.0 → https://git.io/JvLNV
<{^_^}> [nixpkgs] @veprbl pushed commit from @lopsided98 to master « buildbot: 2.5.1 -> 2.6.0 (#78335) »: https://git.io/JvtrW
tpanum has joined #nixos
tabasko has quit [Ping timeout: 265 seconds]
tabasko has joined #nixos
<pie_[bnc]> clever: help zfs won go away https://bpaste.net/GCIA xD
<pie_[bnc]> wont
fusion809 has joined #nixos
YellowOnion has quit [Read error: Connection reset by peer]
YellowOnion has joined #nixos
leotaku has quit [Ping timeout: 265 seconds]
<clever> 15 realGrub = if cfg.version == 1 then grubPkgs.grub
<clever> 16 else if cfg.zfsSupport then grubPkgs.grub2.override { zfsSupport = true; }
<clever> pie_[bnc]: i think its using pkgs.grub2, not pkgs.grub2_full
michaelpj has quit [Ping timeout: 264 seconds]
<clever> 3779 grub2 = grub2_full;
<clever> ah, which is an alias
michaelpj has joined #nixos
ragge[m] has quit [Ping timeout: 264 seconds]
Pasha[m] has quit [Ping timeout: 264 seconds]
softinio[m] has quit [Ping timeout: 264 seconds]
puzzlewolf has quit [Ping timeout: 264 seconds]
seb314[m] has quit [Ping timeout: 264 seconds]
worldofpeace has quit [Ping timeout: 264 seconds]
<clever> pie_[bnc]: why not name your custom module something unique?
<pie_[bnc]> clever: oh, derp maybe. i thought grub2 was an alias to grub2_full though
<clever> it is, line 3779 above
<pie_[bnc]> oh yeah you already said so
TwoNicToupper has joined #nixos
<pie_[bnc]> what do you mean <clever> pie_[bnc]: why not name your custom module something unique?
<pie_[bnc]> oh
<clever> pie_[bnc]: why bother removing zfs?
<pie_[bnc]> the commented out stuff?
<pie_[bnc]> well, i figured i can test my system with that, i dont actually have a building custom module that i can try to import yet
<pie_[bnc]> but now its also just bothering me that i cant tell why this is happening
mexisme has joined #nixos
wildtrees has quit [Quit: Leaving]
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 248 seconds]
knupfer1 is now known as knupfer
erictapen has quit [Ping timeout: 260 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
leotaku has joined #nixos
ayerhart has joined #nixos
<pie_[bnc]> clever: something weird is going on, setting zfs = null in an override doesnt even fail the assert
rogue_koder has quit [Ping timeout: 272 seconds]
rogue_koder has joined #nixos
<pie_[bnc]> and zfsSupport is indeed false anyway
frhun[m] has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #78338 → libsForQt5.qtutilities: 6.0.2 -> 6.0.3 → https://git.io/JvLAy
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvtrX
<pie_[bnc]> it does manage to fail if i set efiSuporrt and xenSupport at the same ime
<pie_[bnc]> time
<{^_^}> [nixpkgs] @marsam opened pull request #78399 → libredirect: fix build on darwin → https://git.io/Jvtr7
<pie_[bnc]> duh -> means it fails if true -> false, not false -> *
<pie_[bnc]> so thats fine, but then why does it still have the zfs modules 0_o
<pie_[bnc]> clever: maybe grub just builds with zfs by default now?
<clever> 6 , zfsSupport ? true
<clever> 3787 grub2_light = grub2.override {
<clever> 3788 zfsSupport = false;
<clever> pie_[bnc]: you want grub2 = self.grub2_light;
<pie_[bnc]> clever: but why dont the overrides work :P
* pie_[bnc] checks out that def
<clever> pie_[bnc]: grub.nix (the module) will do its own override
<clever> 16 else if cfg.zfsSupport then grubPkgs.grub2.override { zfsSupport = true; }
<clever> 458 zfsSupport = mkOption {
<clever> 459 default = false;
<clever> based on that
<clever> nixos/modules/tasks/filesystems/zfs.nix: zfsSupport = true;
<clever> which can happen based on supportedFilesystems
<pie_[bnc]> _light just does zfsSupport = false; im already dong that manually
kvda has joined #nixos
iyzsong has joined #nixos
<pie_[bnc]> clever: 1) i dont have zfs in supportedfilesystems, 2) that should give me a conflict error when i try to set that to false, which I do, and get no error?
<clever> it may already be false then
<clever> not sure whats going on
<pie_[bnc]> right
<pie_[bnc]> so its not true
<pie_[bnc]> so why does it have the zfs modules still :D
<pie_[bnc]> im going to check upstream
leotaku has quit [Quit: ZNC 1.7.4 - https://znc.in]
rogue_koder has quit [Remote host closed the connection]
rogue_koder has joined #nixos
leotaku has joined #nixos
mac10688 has joined #nixos
smatting has quit [Ping timeout: 265 seconds]
<aanderse> can anyone share with me the best way to deal with bin/prog collisions? package A has bin/prog and so does package B. I want to make sure if both A and B are in my environment.systemPackages that bin/prog from package B always wins out
<NemesisD> i'm setting up an entry in the `fileSystems` attribute on nixos. i want this mounted volume to be available to all users. should i be doing that declaratively in the `fileSystems` entry somehow or do i just imperatively mount and chown the mount point?
<evanjs> well there's priority in the meta, https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes but I figure it's impractical to just override a package's meta.priority, right?
<evanjs> I guess you can handle that with nix-env --set-flag priority
<noonien> is it possible to make `nix search` only search one channel by default?
<evanjs> e.g. nix-env --set-flag priority 5 binutils
h0m1 has quit [Ping timeout: 252 seconds]
<evanjs> noonien++ I had this same issue and I just removed my other channels from the path for the time being :D
yhager has quit [Quit: leaving]
<{^_^}> noonien's karma got increased to 2
<noonien> i don't even have any channels on the user i'm doing `nix search` on
<noonien> it seems to use root's channels
<evanjs> but yeah aanderse from what I can tell it looks like priority is the way to go, just not sure how to do that outside of nix-env without overriding
<evanjs> but from `man nix-env` "If there are multiple derivations matching a name in args that have the same name (e.g., gcc-3.3.6 and gcc-4.1.1), then the derivation with the highest priority is used. A derivation can define a priority by declaring the meta.priority attribute. This attribute should be a number, with a higher value denoting a lower priority. The default priority is 0."
h0m1 has joined #nixos
<evanjs> noonien: yeah that's expected behavior
<{^_^}> [nixpkgs] @jabranham opened pull request #78400 → R: Update CRAN and bioconductor packages → https://git.io/JvtoX
<noonien> this is pretty new, it didn't happen like a month ago
<evanjs> the search behavior?
<noonien> yes
<evanjs> okay maybe that's why I only noticed it lately
<aanderse> <noonien "yes"> evanjs: thanks. nix-env not desired. priority it is.
<aanderse> uh... ignore that "in reply to" bit
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c857a24d2e0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
kaliumxyz has joined #nixos
qubasa_ has joined #nixos
oborot has joined #nixos
qubasa has quit [Ping timeout: 258 seconds]
kvda has quit [Ping timeout: 260 seconds]
kvda has joined #nixos
<noonien> does anyone use i3 with no DE and have issues with icons?
<noonien> i managed to fix it by running `lxappearance` and setting a theme, it seems to work for now
AYD has joined #nixos
AYD has left #nixos [#nixos]
YellowOnion has quit [Read error: Connection reset by peer]
kyren has quit [Quit: ZNC 1.7.4 - https://znc.in]
kyren has joined #nixos
<evanjs> noonien: might be something with nixpkgs.hicolor-icon-theme. If I don't have that installed, for example, taffybar will crash when I open chrome or etc
f0i has quit [Ping timeout: 265 seconds]
<kaliumxyz> how does one use flakes ATM?
<kaliumxyz> I want to run dwarffs
<pie_[bnc]> clever: ls $(nix-build -E 'with import <unstable> {}; (grub2_full.override { zfsSupport = false; zfs = null; }).overrideAttrs (old: { configureFlags = [ "--disable-libzfs" ]; })')/lib/grub/i386-pc/z*
<pie_[bnc]> clever: ok so at this point im pretty sure its not my fault, though im not sure if --disable-libzfs really is a thing or not
<{^_^}> [nixpkgs] @kamadorueda opened pull request #78401 → pythonPackages.fluidasserts: 20.1.28253 -> 20.1.33141 → https://git.io/JvtK0
<clever> pie_[bnc]: *looks*
<{^_^}> [nixpkgs] @zowoq opened pull request #78402 → runc: 1.0.0-rc9 -> 1.0.0-rc10 → https://git.io/JvtKE
kleisli has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #77962 → vscode-extensions.ms-python.python: 2019.10.44104 update language server to 0.4.127 → https://git.io/JvThm
<{^_^}> [nixpkgs] @jonringer pushed commit from @tbenst to master « vscode-extensions.ms-python.python: 2019.10.44104 update language server to 0.4.127 »: https://git.io/JvtKa
<pie_[bnc]> im doing a manual nix-shell build now
<pie_[bnc]> ```With libzfs support: No (explicitly disabled)```
<pie_[bnc]> from configure
Maxdamantus has joined #nixos
Maxdaman1us has quit [Ping timeout: 265 seconds]
<pie_[bnc]> clever: yeah it still built them..
<pie_[bnc]> this is gonna end up being some big misunderstanding on my par
<pie_[bnc]> like, maybe it builds everything but fails at runtime if its not linked against libzfs or something
<pie_[bnc]> that seems like it would be bad though
<clever> pie_[bnc]: what is the filename the last cmd found?
<clever> ah, i see it on this end
<clever> $ nix-shell -E 'with import <nixpkgs> {}; (grub2_full.override { zfsSupport = false; zfs = null; }).overrideAttrs (old: { configureFlags = [ "--disable-libzfs" ]; })'
<clever> $ unpackPhase
<pie_[bnc]> the alternative is patching the perl file to take extra arguments for grub-install https://www.systutorials.com/docs/linux/man/8-grub-install/
<clever> grub-core/Makefile.core.def: name = zfs;
<clever> pie_[bnc]: and now i'm lost, ive never seen a file like that in make before!
f0i has joined #nixos
<NemesisD> hey folks. i'm trying to set up an LVM for an external drive enclosure. i named the VG ProBox, got it all mounted and then set up an entry in my configuration.nix. however upon reboot, /dev/ProBox is not there. but `vgs` sees it. should i be using a different device path for the `fileSystems` entry?
<clever> NemesisD: did you include usb drivers in the initrd?
<clever> NemesisD: boot.initrd.availableKernelModules
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
<NemesisD> clever: i did not! what would i put in there?
spacefrogg has joined #nixos
kleisli has joined #nixos
<clever> NemesisD: the usb related modules from `lsmod`
<{^_^}> [nixpkgs] @hedning merged pull request #78303 → webkitgtk: 2.26.2 -> 2.26.3 → https://git.io/JvLPH
<{^_^}> [nixpkgs] @hedning pushed to master « webkitgtk: 2.26.2 -> 2.26.3 (#78303) »: https://git.io/Jvt6t
<clever> NemesisD: xhci_hcd, ohci_hcd, ehci_pci, ehci_hcd, xhci_pci,ohci_pci
<clever> NemesisD: i think those are the main ones
<NemesisD> clever: i see usb_common, usbcore, btusb, usb_storage, usbhid. i don't know if those are needed or not though
<clever> NemesisD: theres not much harm in adding too many things, it just makes the initrd file bigger
iqubic has joined #nixos
<iqubic> So, I use a gui chat program called Discord. When I click on a link in this program, nothing happens. No link is opened, and no ouput is sent on stdout/stderr
<iqubic> Anyone know how I might fix this?
f0i has quit [Ping timeout: 268 seconds]
<ivan> iqubic: use strace to investigate what it is trying to execute
<pie_[bnc]> clever: something about autogen templates https://stackoverflow.com/questions/46055110/makefile-def-vs-makefile-am
<ivan> there may be a problem with environmental variables being set or not set to whatever is needed to launch your real browser
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<NemesisD> clever: ok so i commented out the fstab entry because it keeps arresting my startup, but i added those available kernel modules. `vgs` still sees my `ProBox` vg but it isn't in dev
<pie_[bnc]> theres no tpl tho
felixfoertsch23 has joined #nixos
<clever> NemesisD: `vgchange -a y`
<clever> NemesisD: there is also a flag under options to make systemd shut up
<clever> NemesisD: i think it was nofail?
<NemesisD> clever: is that a one-time thing i need to run or do i need to put vgchange in a config somewhere?
<clever> NemesisD: noauto is also of use
<clever> NemesisD: `vgchange -a y` has to be ran every time you boot, normally the initrd automates it, but ive only really used lvm on the boot disks
felixfoertsch has quit [Ping timeout: 268 seconds]
<NemesisD> clever: ooh what about this? https://nixos.org/nixos/manual/options.html#opt-boot.initrd.preLVMCommands
<clever> NemesisD: preLVMCommands is literally ran right before a `vgchange -a y`
<NemesisD> oh, thats obnoxious. i wonder what's going on then. when i ran vgchange -a y on my machine the device showed up
<clever> NemesisD: line 226 might be ran before usb is online
<clever> NemesisD: so the device doesnt exist yet
<NemesisD> oh, the comment says `# XXX: Use case usb->lvm will still fail, usb->luks->lvm is covered` :( so am i hosed then?
<clever> NemesisD: line 78-101, will re-run vgchange -ay, in a loop, until a given device appears
<clever> NemesisD: and thats ran, for every device flagged as neededForBoot
<iqubic> ivan: I ran the program once with strace, and URLs just worked.
<NemesisD> clever: so this device isn't needed for boot, but it'd be nice if it eventually showed up
<iqubic> And then I ran it without strace, and URLs are still being opened up.
<NemesisD> clever: i've set filesystem options for nofail and nowaitboot
<clever> NemesisD: i think setting neededForBoot = true; is your only fix
<clever> though nofail and some manual vgchange would also work
kvda has joined #nixos
<pie_[bnc]> clever: YEAH NO IDEA HOW TO FIND WHICH PART OF THIS BUILD SYSTEM BUILDS THE MODULES
<pie_[bnc]> whoops, heh
<NemesisD> clever: the latter option sounds attractive. whenever boot halts i have to haul a TV into the room to see what's going on on this otherwise headless machine. where would i put the vgchange though?
<pie_[bnc]> clever: is usually everything generated from configure.ac?
<clever> pie_[bnc]: usually
<clever> NemesisD: id just do it manually at that point
kvda has quit [Client Quit]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<NemesisD> man this is silly
<NemesisD> i mean i guess i can say this is needed for boot, this is a media server
<pie_[bnc]> clever: ok and maybe Makefile.am I guess?
<pie_[bnc]> idk how this stuff works argh
<NemesisD> clever: it worked! thank you i would have been dead in the water without your help!
<pie_[bnc]> clever: > gentpl.py
<pie_[bnc]> clever: > # This is the python script used to generate Makefile.*.am
<pie_[bnc]> mfw
f0i has joined #nixos
<iqubic> If you include python as build input, you might be able to add something to the prebuild hook.
sb0 has joined #nixos
<pie_[bnc]> these guys need some damn developer docs for their build system
<pie_[bnc]> or I didnt see them
<pie_[bnc]> I saw it but it didn't register because my memory sucks and I wasn't looking for this specifically at the time
<pie_[bnc]> clever: some explanation of the def files there
bhipple has joined #nixos
delli3_ has joined #nixos
delli3_ has quit [Max SendQ exceeded]
tooeasy2do has joined #nixos
<tooeasy2do> Hey guys, i kinda need help with something, i am very new to nixos
<bhipple> tooeasy2do: fire away
<tooeasy2do> Does anyone knows how to install pip for python
<tooeasy2do> I tried just installing the package but when i want to install something using pip i get an error for setup tools
<bhipple> If you're on NixOS, generally you want to be installing Nix packages, so you install the packaged python + packages all via Nix
<bhipple> There's a lot of documentation on it on the Python chapter of the manual: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.section.md
<pie_[bnc]> tooeasy2do: plan B is using virtualenv
<bhipple> It *is* possible to install pip and setuptools and use them to build python packages in your homedir, but it's much easier to swim
delli3 has quit [Ping timeout: 248 seconds]
<bhipple> with the nix ecosystem and do something like python.withPackages(p: [p.numpy])
<tooeasy2do> Ok, so i just found the package i need on nix a nix package will try to see if it works
<pie_[bnc]> bhipple: oh hey, didn't know you hang out here now. did you make any progress on the setuptools reproducibility thing, or whatever it was we were talking about using rr for at nixcon?
<bhipple> https://r13y.com/ the setuptools build I was looking at magically turned out to be reproducbile (though the sdist apparently isn't now).
<bhipple> I recall it was fixed upstream in setuptools itself
<bhipple> ah yes this was it: https://github.com/pypa/setuptools/pull/1690
<{^_^}> pypa/setuptools#1690 (by jaraco, 48 weeks ago, merged): Honor declared ordering for Provides-Extra entries in package metadata.
<bhipple> was merged right around NixCon :)
<tooeasy2do> Ok, i am back guys, so i installed the package i need but when i import it on python it says there is no module named like the library
<tooeasy2do> :(
<bhipple> what package is it?
<tooeasy2do> libtcod is the name on nix
<tooeasy2do> and tcod the real name
<bhipple> tooeasy2do: one that that's confusing at first about python libraries in nix is that you don't just imperatively install libraries, instead you install a "wrapped" python interpreter that can see exactly some list of libraries and nothing else
<tooeasy2do> wait you got me there what you mean and how i do it?
<bhipple> libtcod looks like it's C++, not Python
endformationage has quit [Quit: WeeChat 2.6]
<tooeasy2do> They have a python version
<tooeasy2do> py -m pip install tcod
<iqubic> Don't use pip install on nixos. Please don't.
<pie_[bnc]> clever: so I guess the question is now...what does --enable-libzfs even change in the output
<tooeasy2do> Sorry i had no idea :(
<bhipple> ah I see, in Nix we just have the C++ core library packaged, but not the python component. If you're up for a challenge you could look at how apache arrow and pyarrow work to see how we split C/C++ libs and their separately packaged Python FFI modules
<bhipple> it's a little hard to grasp at first tho, so it might take some experimentation to get it right
<tooeasy2do> that sounds way more compicated than what i can get rn
<clever> pie_[bnc]: yeah, thats what i was wondering too, but the makefiles arent easy to read while multi-tasking
<pie_[bnc]> tooeasy2do: try virtualenv and then look at the rest
<pie_[bnc]> tooeasy2do: youll still need to enter an environment with the appropriate libraries, if you need any, though
<pie_[bnc]> well, AFAIK, bhipple seems to have an actual clue about how the python stuff works
<tooeasy2do> Yep, he SMART also thanks everyone for the help
is_null_ has joined #nixos
TwoNicToupper has quit [Ping timeout: 265 seconds]
is_null has quit [Ping timeout: 260 seconds]
[Leary] has joined #nixos
Lears has quit [Ping timeout: 260 seconds]
bhipple has quit [Ping timeout: 240 seconds]
bhipple has joined #nixos
<notgne2> I'm a bit confused by this
<notgne2> is this in the right place?
knupfer has quit [Ping timeout: 245 seconds]
<evanjs> rather than pip, lorri + pipenv is what I’ve been using and seems to work well. It still uses pip in the back but doesn’t get messy or make you manage anything yourself
<clever> notgne2: that doesnt look right at all
<clever> infinisil: ^^
<gchristensen> clever: oops :D
bhipple has quit [Ping timeout: 260 seconds]
mexisme has quit [Ping timeout: 272 seconds]
bhipple has joined #nixos
<infinisil> notgne2: Oh yeah my mistake, was done in a recent pr
kvda has joined #nixos
<infinisil> #61570
<{^_^}> https://github.com/NixOS/nixpkgs/pull/61570 (by Infinisil, 36 weeks ago, merged): Move renames to their appropriate places
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/e6391b4389e (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
ddellacosta has quit [Ping timeout: 268 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis1 has quit [Quit: WeeChat 2.6]
bhipple has quit [Remote host closed the connection]
magnetophon has left #nixos [#nixos]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/554d3a239ae (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
iqubic` has joined #nixos
oborot has quit [Ping timeout: 260 seconds]
iqubic has quit [Ping timeout: 245 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
growpotkin has joined #nixos
iqubic` has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
<pie_[bnc]> is there some trivial builder for getting the .src of a derivatoin as an unpacked result?
<clever> pie_[bnc]: fetchzip, will both download and unpack in one go
domogled has joined #nixos
<clever> pie_[bnc]: https://github.com/input-output-hk/cardano-explorer/blob/master/docker/default.nix#L12-L19 and maybe some unpackPhase if you expect $src to be compressed, you may need `unpackPhase ; mv $sourceRoot $out`
<pie_[bnc]> meh. so basically no. we should get that.
<pie_[bnc]> I ended up with nix-build -E 'with import <unstable> {}; (stdenv.mkDerivation { name = "ffs"; src = [ pkgs.grub.src ]; phases = [ "unpackPhase" "buildPhase" ]; buildPhase = "cp -r . $out"; }) ' right now
<pie_[bnc]> (im actually using the snippet in a bigger context)
<pie_[bnc]> fetchzip will probably be better if it can handle .tar.gz ?
<clever> pie_[bnc]: you can also use `runCommand "name" { src=...; } "unpackPhase ; mv $sourceRoot $out"`
<clever> pie_[bnc]: fetchzip has a misleading name, and handles both zip and tar
<pie_[bnc]> i was thinking of doing that but i didnt realize i get unpackPhase as a command
<pie_[bnc]> so thats a bit better
<clever> all of the default phases, are just bash functions
<clever> so you can just run them yourself
<pie_[bnc]> yeah
<pie_[bnc]> i know, just smol brain
palo1 has joined #nixos
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
cdepillabout has joined #nixos
domogled has quit [Ping timeout: 272 seconds]
aiverson has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<aiverson> How do I figure out what to set the sha256 hash that the fetchFromGithub function accepts to so that it can successfully validate them?
<clever> ,tofu aiverson
<{^_^}> aiverson: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<{^_^}> [nixpkgs] @Lassulus merged pull request #78130 → teleprompter: init at 2.3.4 → https://git.io/JvI66
<{^_^}> [nixpkgs] @Lassulus pushed commit from @Scriptkiddi to master « teleprompter: init at 2.3.4 »: https://git.io/JvtXq
<aiverson> I tried doing that, and it's still fail... *double checks* I was editing the wrong hash. Thanks.
mexisme has joined #nixos
<clever> aiverson: it can help to number each hash uniquely, just replace a 0
chagra has joined #nixos
veske has joined #nixos
zeta_0 has joined #nixos
cdepillabout has quit [Ping timeout: 260 seconds]
mexisme has quit [Ping timeout: 265 seconds]
cdepillabout has joined #nixos
chagra has quit [Ping timeout: 265 seconds]
xantoz_ is now known as xantoz
hyper_ch2 has joined #nixos
kleisli has quit [Ping timeout: 240 seconds]
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
mexisme has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
smatting has joined #nixos
lsix has joined #nixos
gkmngrgn has joined #nixos
domogled has joined #nixos
Tucky has joined #nixos
hyper_ch2 has joined #nixos
cfricke has joined #nixos
doyougnu has quit [Ping timeout: 246 seconds]
chagra has joined #nixos
floscr has joined #nixos
chagra_ has joined #nixos
chagra has quit [Ping timeout: 265 seconds]
floscr has quit [Remote host closed the connection]
floscr has joined #nixos
floscr has quit [Remote host closed the connection]
floscr has joined #nixos
m0rphism has joined #nixos
gxt has joined #nixos
chloekek has joined #nixos
gagbo has joined #nixos
aiverson has quit [Ping timeout: 265 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nlewo merged pull request #78402 → runc: 1.0.0-rc9 -> 1.0.0-rc10 → https://git.io/JvtKE
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/JvtMa
iqubic has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
zupo has joined #nixos
smatting has quit [Ping timeout: 240 seconds]
Chiliparrot has joined #nixos
nihh has joined #nixos
is_null_ has quit [Read error: Connection reset by peer]
<nihh> Hi. Which regex "engine" does nix's builtins.match use? I want to use some of the more advanced capturing groups that you see in e.g. PHP but so far it has been a hit or miss
<nihh> Looking for a name or something s.t. I can look up the available constructs
chagra has joined #nixos
chagra_ has quit [Ping timeout: 268 seconds]
<nihh> Nevermind I just found it in nixpkgs :-)
civodul has joined #nixos
dansho has joined #nixos
revtintin has joined #nixos
smatting has joined #nixos
is_null has joined #nixos
<chloekek> nihh: FYI what PHP uses is called PCRE.
zeta_0 has joined #nixos
<nihh> chloekek: Thanks. I found the specification for builtins.match; it uses posix ERE
zeta_0 has quit [Client Quit]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thc202 has joined #nixos
cosimone has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/05626cc86b8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
wavirc22 has quit [Ping timeout: 248 seconds]
<chagra> can I pass variables down to my imports in configuration.nix without specifying them each? for example if I specify that nixosConfDir="/etc/nixos", is there a way I can have the other nix expressions I import from configuration.nix respect that?
cosimone has quit [Quit: Terminated!]
chagra has quit [Quit: WeeChat 2.6]
wavirc22 has joined #nixos
fendor has joined #nixos
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
wavirc22 has quit [Read error: Connection reset by peer]
euandreh has joined #nixos
wavirc22 has joined #nixos
fendor has quit [Ping timeout: 272 seconds]
<Rovanion> How do I install a specific version of a package with nix-env -i?
<Rovanion> That line is empty in the cheatsheet: https://nixos.wiki/wiki/Cheatsheet
<{^_^}> [nixpkgs] @jonringer merged pull request #78295 → maintainers: add arnoldfarkas → https://git.io/JvL6V
<{^_^}> [nixpkgs] @jonringer pushed commit from Farkas, Arnold to master « maintainers: add arnoldfarkas »: https://git.io/JvtD9
fendor has joined #nixos
euandreh has quit [Remote host closed the connection]
<wedens[m]> Rovanion: nix doesn't really know about versions
chagra has joined #nixos
<wedens[m]> so, if there are multiple versions in the same nixpkgs revision, they'll just have different attribute names like "ghc864", "ghc865", etc
<chagra> you can override the version attribute or the src attribute to a previous specific version
<chagra> if the attribute is not already in nixpkgs
<wedens[m]> chagra: to answer your question: you probably want to put such values in nixos module
<Rovanion> I'm new to Nix so I'm not sure I follow. Nix has no understanding of version numbers, but packages are still built from a specific version of the source code. So if I were to modify the package declaration in the nixpkg repo I can change the version that is built into the package `ncdu` for example?
<Shoubit> Rovanion, if said version isn't in Nixpkgs (because it's older) you can probably import and old revision of Nixpkgs and use the package through that.
<{^_^}> [nixpkgs] @jonringer merged pull request #78401 → pythonPackages.fluidasserts: 20.1.28253 -> 20.1.33141 → https://git.io/JvtK0
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JvtDx
<Shoubit> Rovanion, yup, and in fact often the version number dictates the package downloaded as well so it's often enough to _just_ change the version.
<Rovanion> But there is no way of, on a multi-user system, user1 having `ncdu-1.12` in their environment and user2 having `ncdu1.14` in their environment? Because that multi-user system will use one and only one version of the nixpkgs repo.
chagra has quit [Ping timeout: 260 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Rovanion> I'm not sure why that would be desireable in the context of a multi-user system though. One usually wants every user to have the latest version of each package with the relevant security patches applied.
<wedens[m]> you can define 2 attributes. for example ncdu_1_12 and ncdu_1_14 and use different versions for them
chagra has joined #nixos
<Shoubit> Rovanion, you can use both for different users -- even for the same user, e.g. per package. Users can have different Nixpkgs channels even
<wedens[m]> or override ncud attribute for each user
floscr has quit [Ping timeout: 268 seconds]
<Rovanion> Attribute is a weird word in the context of packaging, to me. Is there a Nix dictionary somewhere I can use?
chagra has quit [Client Quit]
<Rovanion> I sort of guess that it is equivalent to "package name". But the manual has no definition for it, just examples.
<{^_^}> [nixpkgs] @jonringer closed pull request #68014 → dnnl: init at 1.0.2 → https://git.io/fjhvz
<{^_^}> [nixpkgs] @jonringer merged pull request #74893 → dnnl: init at 1.1.2 → https://git.io/JeMSz
<{^_^}> [nixpkgs] @jonringer pushed commit from @bhipple to master « dnnl: init at 1.1.2 »: https://git.io/Jvtyt
smatting has quit [Ping timeout: 272 seconds]
chagra has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #75755 → manta: init 1.6.0 → https://git.io/JeQxY
<{^_^}> [nixpkgs] @jonringer pushed commit from @jbedo to master « manta: init 1.6.0 »: https://git.io/JvtyY
<{^_^}> [nixpkgs] @jonringer merged pull request #78395 → mutagen: 0.10.2 -> 0.10.3 → https://git.io/JvtVu
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « mutagen: 0.10.2 -> 0.10.3 »: https://git.io/Jvtyn
<{^_^}> [nixpkgs] @jonringer merged pull request #78393 → flexget: 3.1.10 -> 3.1.11 → https://git.io/JvtVc
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « flexget: 3.1.10 -> 3.1.11 »: https://git.io/JvtyW
<chagra> Rovanion: the nix pills are a great guide to the basics of the nix language https://nixos.org/nixos/nix-pills/
<{^_^}> [nixpkgs] @jonringer merged pull request #78374 → light: 1.2 -> 1.2.1 → https://git.io/Jvt8a
<{^_^}> [nixpkgs] @jonringer pushed commit from @dtzWill to master « light: 1.2 -> 1.2.1 »: https://git.io/Jvtyl
<chagra> Rovanion: basically packages are just functions that are stored in """variables""" that are immutable. Those are called attributes
<chagra> Rovanion: when you tell nix-env to run `nix-env -Ai nixos.ncdu` it will build this nix expression
<chagra> it will take the attributes at the top as inputs
<chagra> and then run the function stdenv.mkDerivation with the correct src, version, buildInputs attributes
vidbina_ has joined #nixos
<chagra> Rovanion: if you're having a tough time understanding things ts fine, these youtube videos from nixcon help a lot
<Rovanion> Just a quick aside: Do you happen to know why they are called "attributes" and not "names" or "symbols"? But thank both of you for your help!
<{^_^}> [nixpkgs] @jonringer merged pull request #78357 → jetbrains.*: 2019.3.x -> 2019.3.x+1 → https://git.io/JvtsQ
<{^_^}> [nixpkgs] @jonringer pushed 9 commits to master: https://git.io/Jvtyr
<Shoubit> Rovanion, attribute is like a field in a set/map/record/object/dict, e.g. in { version = "1.2"; }, version is an attribute.
<{^_^}> [nixpkgs] @cust0dian opened pull request #78404 → glances: fix darwin build → https://git.io/JvtyK
<chagra> Rovanion: you can't call them variables because while that's what they're technically are, they are immutable and they don't vary because it's a functional programming language
<chagra> so attribute is a decent substitute, it's just semantics really
<chagra> but I guess variables in the maths sense could workd, it works for haskell
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @arnoldfarkas closed pull request #78297 → pythonPackages.mimesis: init at 3.3.0 → https://git.io/JvLiI
<{^_^}> [nixpkgs] @arnoldfarkas reopened pull request #78297 → pythonPackages.mimesis: init at 3.3.0 → https://git.io/JvLiI
<{^_^}> [nixpkgs] @arnoldfarkas closed pull request #78297 → pythonPackages.mimesis: init at 3.3.0 → https://git.io/JvLiI
cdepillabout has quit [Remote host closed the connection]
cdepillabout has joined #nixos
cdepillabout has quit [Client Quit]
<{^_^}> [nixpkgs] @arnoldfarkas opened pull request #78405 → pythonPackages.mimesis: init at 3.3.0 → https://git.io/Jvty7
<{^_^}> [nixpkgs] @arnoldfarkas closed pull request #78405 → pythonPackages.mimesis: init at 3.3.0 → https://git.io/Jvty7
<{^_^}> [nixpkgs] @Mic92 merged pull request #78392 → Merge pull request #78392 from Mic92/kresd-doh → https://git.io/Jvt2j
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JvtST
euandreh has joined #nixos
domogled has quit [Ping timeout: 268 seconds]
cust0dian has joined #nixos
logzet has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
domogled has joined #nixos
vidbina_ has quit [Ping timeout: 268 seconds]
<rauno> Is there a good way to see whats changed with new nixops build ? For example if dry-activate says it will restart docker service ?
Christian[m]1 is now known as chris|
<rauno> How determine to reason of that
smatting has joined #nixos
jlpeters has quit []
jlpeters has joined #nixos
<tilpner> rauno: What did you change between the last nixops build and this one?
v88m has joined #nixos
<tilpner> A nixpkgs update, or any changes to docker configuration could be responsible
<Taneb> rauno: could https://github.com/Gabriel439/nix-diff help you?
chris| has joined #nixos
chris| has joined #nixos
chris| has quit [Changing host]
<rauno> tilpner, thats what im trying to find out, what changed :)
<tilpner> rauno: systemctl cat docker on the old system, then compare to the new unit file
<rauno> yeah, sometimes have done that way indeed, hoped that there some fancy tool or cmd for that :)
o1lo01ol1o has joined #nixos
<tilpner> Taneb mentioned nix-diff, which might help (but might print a lot in some cases)
phreedom has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos
<rauno> checking it out indeed
<MasseR> Hey guys, I'm having trouble keeping gpg-agent alive. It's complaining about pinentry not found. The discussion at https://discourse.nixos.org/t/updated-after-3-week-vacation-gnupg-says-no-pinentry/4731/3 points to this being fixed by adding programs.gnupg.agent.enable = true, which I do have
<{^_^}> [nixpkgs] @yorickvP closed pull request #77784 → Sort the maintainer-list → https://git.io/JvUwP
<MasseR> It works *once* after I do a gpg-agent restart, but any subsequent calls try to use the non-existing pinentry from the gnupg folder
sigmundv__ has joined #nixos
<tlater[m]> MasseR: Anything in ~/.gnupg/gpg-agent.conf that could confuse it?
<MasseR> I don't think. default-cache-ttl, max-cache-ttl and extra-socket
<MasseR> no results for pinentry if I do 'grep pinentry .gnupg/*.conf'
Makaveli7 has joined #nixos
pitch has joined #nixos
<{^_^}> [nixpkgs] @dasJ opened pull request #78406 → wine: Look for root certs at $NIX_SSL_CERT_FILE → https://git.io/Jvt90
<MasseR> ... now it works..? I don't think I did anything, unless the grep on the gnupg folder had some unintended side-effect
<{^_^}> [nixpkgs] @aanderse merged pull request #77300 → rsyslog: include libmaxminddb → https://git.io/Jvezz
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/Jvt9r
<{^_^}> [nixpkgs] @0x450x6c opened pull request #78407 → Added a new package: Punch clock program. (time tracker) → https://git.io/Jvt9K
rogue_koder has quit [Ping timeout: 268 seconds]
waleee-cl has joined #nixos
vidbina_ has joined #nixos
<tlater[m]> MasseR: I've experienced similar things while playing around with `gpg --homedir` - I suspect it has something to do with running gpg-agent as a systemd unit vs manually invoking it
chagra has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #78399 → libredirect: fix build on darwin → https://git.io/Jvtr7
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvtHT
chagra has joined #nixos
chagra has quit [Client Quit]
veske has joined #nixos
veske has quit [Client Quit]
bvdw has quit [Read error: Connection reset by peer]
veske has joined #nixos
bvdw has joined #nixos
cfricke has quit [Ping timeout: 268 seconds]
chagra has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #78042 → Pr scala out dir cleaned → https://git.io/Jvkhg
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/JvtHZ
orivej has quit [Ping timeout: 265 seconds]
chagra has quit [Ping timeout: 268 seconds]
captn3m0 has quit [Quit: ZNC 1.7.5 - https://znc.in]
captn3m0 has joined #nixos
chagra has joined #nixos
abbec has joined #nixos
<abbec> hi, is it possible to inherit all from a set?
<abbec> like `inherit (set) attrA attrB` but rather `inherit (set) ...`?
alex`` has joined #nixos
<Shoubit> abbec, you can probably just use `//` then, e.g. `({ fooArg = 1; barArg = true; } // set)`
<abbec> True
<abbec> Thanks :)
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @Synthetica9 closed pull request #49843 → [WIP] Post-RFC0035 cleanup → https://git.io/fpJJT
<{^_^}> [nixpkgs] @Synthetica9 closed pull request #63074 → nodePackages.scss-to-json: init @ 2.0.0 → https://git.io/fj2s0
fendor has quit [Quit: Leaving]
bitonic has quit []
bitonic has joined #nixos
jchw has quit []
gxt has quit [Ping timeout: 240 seconds]
jchw has joined #nixos
georgyo has quit []
georgyo has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
__monty__ has joined #nixos
TwoNicToupper has joined #nixos
<TwoNicToupper> I still cannot read how to fix up conflicting packages. Which drv or file path should I be looking at
ProofTechnique has quit []
erictapen has joined #nixos
ProofTechnique has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « cargo-make: 0.26.1 -> 0.26.2 »: https://git.io/JvtQU
<{^_^}> [nixpkgs] @bennofs closed pull request #66426 → jetbrains.rider: 2019.1.2 -> 2019.2 → https://git.io/fj7VY
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/05626cc86b8 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
fendor has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
veske has joined #nixos
<{^_^}> [nixpkgs] @hedning merged pull request #78359 → gnomeExtensions.gsconnect: 30 -> 31 → https://git.io/JvtG4
<{^_^}> [nixpkgs] @hedning pushed to master « gnomeExtensions.gsconnect: 30 -> 31 (#78359) »: https://git.io/JvtQs
zupo has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
mexisme has quit [Ping timeout: 260 seconds]
chagra has quit [Ping timeout: 265 seconds]
chagra has joined #nixos
mupf has quit [Quit: WeeChat 2.7]
<hyper_ch2> gchristensen: online?
chagra has quit [Client Quit]
<hyper_ch2> anyone on nixos master and using zfs?
chagra has joined #nixos
revtintin has quit [Quit: WeeChat 1.9.1]
chagra has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #78408 → iputils: Increase the priority to avoid collisions with inetutils → https://git.io/JvtQ5
werner291 has joined #nixos
mupf has joined #nixos
chagra has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #78409 → jetbrains-mono: 1.0.1 -> 1.0.2 → https://git.io/Jvt7T
<{^_^}> [nixpkgs] @marsam merged pull request #78394 → nodejs-13_x: 13.6.0 -> 13.7.0 → https://git.io/JvtV0
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvt7L
<eoli3n_> Hi how to list all user packages ?
chagra has quit [Quit: WeeChat 2.6]
<Shoubit> eoli3n_, `nix-env -q`
<{^_^}> [nixpkgs] @iblech opened pull request #78410 → dsniff: Unbreak the build → https://git.io/Jvt73
darkf has quit []
darkf has joined #nixos
chagra has joined #nixos
<eoli3n_> Shoubit: simply, thx
<eoli3n_> if a package is installed, system AND user side
<eoli3n_> which one is used ?
<Shoubit> eoli3n_, user packages will be used over system packages because of the order in the PATH variable afaik
<{^_^}> [nixpkgs] @lheckemann opened pull request #78411 → EmptyEpsilon: 2019.11.01 -> 2020.01.15 → https://git.io/Jvt7E
hyper_ch has quit [Quit: ZNC 1.7.5 - https://znc.in]
chagra has quit [Ping timeout: 272 seconds]
hyper_ch has joined #nixos
chagra has joined #nixos
Chiliparrot has joined #nixos
peel has quit []
peel has joined #nixos
psyanticy has joined #nixos
cfricke has joined #nixos
domogled has quit [Quit: domogled]
domogled has joined #nixos
<eoli3n_> Thx Shoubit
TwoNicToupper has quit [Ping timeout: 260 seconds]
veske has quit [Quit: This computer has gone to sleep]
Ox450x6c has joined #nixos
petrkr has joined #nixos
teej has quit []
jjakob has quit [Ping timeout: 246 seconds]
jjakob has joined #nixos
teej has joined #nixos
immae has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @primeos opened pull request #78413 → signal-desktop: 1.29.6 -> 1.30.0 → https://git.io/Jvt5c
lxsameer has joined #nixos
hyper_ch has quit [Quit: ZNC 1.7.5 - https://znc.in]
<lxsameer> hey folks, can i install packages without having nix-daemon runnnig ?
dansho has quit [Quit: Leaving]
hyper_ch has joined #nixos
avn has quit [Remote host closed the connection]
Rusty1 has joined #nixos
nihh has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @nagisa opened pull request #78414 → buildRustCrate: dont clobber src /w gen code → https://git.io/Jvt56
immae has joined #nixos
chagra has quit [Quit: WeeChat 2.6]
tooeasy2do has quit [Remote host closed the connection]
hyper_ch2 has quit [Remote host closed the connection]
veske has joined #nixos
chagra has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @sjau opened pull request #78415 → zfs: 0.8.2 -> 0.8.3 → https://git.io/Jvt5A
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
chagra has quit [Ping timeout: 272 seconds]
chagra has joined #nixos
<evanjs> oh boy. newest gitkraken (not in tree yet) fails to build. any thoughts?\
<evanjs> Error is "tar: ./usr/share/gitkraken/chrome-sandbox: Cannot change mode to rwsr-xr-x: Operation not permitted"
<pie_[bnc]> clever:
<pie_[bnc]> <cjwatson> pie_[bnc]: libzfs is only used for utilities that run on the host system, not for zfs.mod
<pie_[bnc]> <cjwatson> pie_[bnc]: modules that run in the boot loader environment can't generally use much in the way of libraries
<evanjs> I can replicate that when copying the tar to /tmp and running `ar x <tar>` on it there
<evanjs> wait
<evanjs> and then running `tar -xf control.tar.gz`
<evanjs> that's when I get it
* ar runs in the background
cfricke has quit [Quit: WeeChat 2.7]
<gchristensen> lol ar
<gchristensen> I'm glad you're here
<evanjs> right? Better than shell though. Can't image how often they're pinged. Or maybe that's just my mobile app :P
<ar> gchristensen: it's more fun when someone does a ,locate
<gchristensen> hah
<ar> gchristensen: surprisingly enough, most of the time that happens i'm at a local hackerspace
<evanjs> anyway, when running tar on control.tar.gz, in addition to a change mode error, I get a utime error as well. Both permissions based. Hrm
<ar> so, chrome now requires a suid bit?
<__monty__> What's this `s` permission?
<mkaito> sticky
<mkaito> aka sgid or suid
<evanjs> *shrugs* https://support.gitkraken.com/release-notes/current/#version-650 changelogs aren't helping much
gustavderdrache has joined #nixos
<mkaito> easy solution: use the git cli instead of weird things like gitkraken :P
<evanjs> >_>
<etu> magit <3
<qyliss> evanjs: I know that Shell only gets pinged if you match the case of her nick. So "shell" doesn't ping.
domogled has quit [Read error: Connection reset by peer]
<evanjs> not too familiar with deb format, but why is tar -xf failing in this case?
domogled has joined #nixos
<evanjs> qyliss: I figured as much. Probably my mobile client then (Igloo), which just displays "Shell" every time I type shell lol
<evanjs> like, I enter shell, and it shows Shell _after_ I send the message :P
<pie_[bnc]> does anyone know how to deal with this rust problem?: error: the lock file /build/modgrubrust/Cargo.lock needs to be updated but --frozen was passed to prevent this
rogue_koder has joined #nixos
<evanjs> pie_[bnc]: yeah that means the Cargo.toml is not synced with Cargo.lock
<evanjs> is this something you're packaging?
<{^_^}> [nixpkgs] @Ma27 merged pull request #78411 → EmptyEpsilon: 2019.11.01 -> 2020.01.15 → https://git.io/Jvt7E
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jvtd6
<lejonet> What would be the correct way to override a kernel feature? (I want to use linuxPackages_hardened, but it turns off IA32_EMULATION by default, but just enabling IA32_EMULATION with boot.kernelPatches isn't enough, because for example steam looks at the feature flag of the kernel, which still states IA32_EMULATION = false)
<pie_[bnc]> evanjs: im trying to build my own thing
<evanjs> pie_[bnc]: okay, can you run `cargo generate-lockfile` and try again?
<pie_[bnc]> evanjs: that doesnt even make any sense though? buildcargopackage or whatever makes the lock file?
<pie_[bnc]> ok
<evanjs> hrm
<lejonet> Atm I've made my own kernel derivation, based on the one that is used to create linuxPackages_hardened, but that feels like a hack
<evanjs> buildRustPackage, but IIRC it still takes that into account
<evanjs> has to vendor all the dependencies and etc
<pie_[bnc]> evanjs: https://bpaste.net/NMXQ
<pie_[bnc]> evanjs: https://bpaste.net/NMXQ
<pie_[bnc]> oops
higherorder has quit []
domogled has quit [Ping timeout: 265 seconds]
higherorder has joined #nixos
<NemesisD> i'm trying to install home-manager via https://nixos.wiki/wiki/Home_Manager via the git method. i add the fetchGit in a let and then added in the imports (import "${home-manager}/nixos"), but it fails to nixos-rebuild with "executing 'git': No such file or directory". i added git to `environment.systemPackages` but i'm wondering if that's not early enough?
<pie_[bnc]> evanjs: ok thats weird dthe cargo command seemed to work
jgeerds has joined #nixos
<pie_[bnc]> i dont get it. but ok.
<Shoubit> NemesisD, fwiw you can also use `fetchTarball` for Github, their URL format is something like: https://github.com/<owner>/<project>/tarball/<branch or commit sha256>
<Shoubit> (which should be faster than fetchGit, and fetchFromGitHub uses those tarballs for the same reason)
<NemesisD> Shoubit: yeah i might do that, but the wiki page itself says the git way should be more secure
<Shoubit> I'm not sure how, since you can provide a `sha256` argument to both and verify the contents of what you download
<NemesisD> oh yeah. i suppose that's good enough
<Shoubit> e.g. fetchTarball { url = "..."; sha256 = "..."; }
<evanjs> pie_[bnc]: yes, cargo will work because it generates the lockfile if not present
hyper_ch has quit [Quit: ZNC 1.7.5 - https://znc.in]
<evanjs> if not preset, buildRustPackage will complain because it needs the lockfile, but --frozen prevents it from creating it
Mic92 has quit [Quit: WeeChat 2.6]
<tlater[m]> I'd like to install https://github.com/Synthetica9/nix-linter in a `shell.nix`. That repository contains a default/shell.nix and recommends using the project with `$(nix-build -A nix-linter)/bin/nix-linter` - is there a way to include that process in a `shell.nix` so that I don't need to actually download and build the repository manually, i.e., can I depend on the `default.nix` in the remote git repository?
hyper_ch has joined #nixos
<evanjs> can be annoying how long it takes sometimes though... I try to use buildRustPackage whenever possible, or https://github.com/kolloch/crate2nix when I really have to
Mic92 has joined #nixos
chagra has quit [Ping timeout: 268 seconds]
veske has quit [Quit: This computer has gone to sleep]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @bennofs pushed 10 commits to release-19.09: https://git.io/JvtFT
<{^_^}> [nixpkgs] @bennofs closed pull request #73593 → Fix MySQL Include Path → https://git.io/JeKJA
Makaveli7 has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @B4dM4n opened pull request #78416 → snowman: use Qt mkDerivation → https://git.io/JvtFk
jboy has quit [Remote host closed the connection]
doyougnu has joined #nixos
<{^_^}> [nixpkgs] @bennofs closed pull request #72876 → [19.09] grass: fix build → https://git.io/Jeasy
angerman has quit []
angerman has joined #nixos
<{^_^}> [nixpkgs] @B4dM4n opened pull request #78417 → backport snowman: use Qt mkDerivation → https://git.io/JvtFq
jboy has joined #nixos
<Shell> evanjs: haha, yes, I fixed it in weechat after getting fed up enough :P
<evanjs> Shell: wait how did you "fix" it? Just disable all mentions? :P
jboy has quit [Client Quit]
<Shell> evanjs: there's a way to set a mention regex, and it's possible to make it case-sensitive :)
<evanjs> ohhhh okay. That makes sense then :P
<evanjs> hrm. what's the difference between using dpkg or ar for deb archives on nixpkgs?
17WAAKK40 is now known as jboy
ddellacosta has joined #nixos
<ar> i'd expect using ar x + tar to avoid a dep on dpkg to be a reasonable choice
<ar> (especially if you're not planning to extract dependency information from said .deb)
leotaku has quit [Ping timeout: 268 seconds]
<evanjs> ar: yeah so that's what I tried, but simply setting the unpack phase to use ar doesn't seem to produce the right output, or rather, $out seems to be empty
<evanjs> /s/unpack phase/unpackCmd/
<pie_[bnc]> evanjs: thanks that might help
<pie_[bnc]> my stuff seems to build for the moment though
<pie_[bnc]> clever: currently trying to figure out how to bindgen grub
<pie_[bnc]> (hopefully this will help me but i dunno lol)
<pie_[bnc]> i should start keeping project logs
<pie_[bnc]> well..irc *kind of* happens to be that 'xD
chloekek has quit [Quit: WeeChat 2.6]
<evanjs> ah right... data won't unpack itself :P
sb0 has quit [Quit: Leaving]
leotaku has joined #nixos
doyougnu has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #78058 → nixos/version: fix case where .git is a symlink → https://git.io/JvITU
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JvtFX
<{^_^}> [nixpkgs] @yorickvP opened pull request #78418 → build-rebar3: restore rebar3-nix-bootstrap path → https://git.io/JvtFp
kleisli has joined #nixos
<evanjs> okay, think I got it now. Knowing nothing about deb stuff, I'm assuming the control tarball is what was messing things up?
pingveno has quit []
pingveno has joined #nixos
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @utsl42 opened pull request #78419 → nixos/unifi: use systemd tmpfiles instead of preStart → https://git.io/JvtbZ
MasseGuillaume has joined #nixos
<MasseGuillaume> Hey, I'm getting `error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)` after I did `sudo nixos-rebuild switch --upgrade`
petrkr has quit [Remote host closed the connection]
<MasseGuillaume> I'm at 19.09.1590.d85e435b7bd
petrkr has joined #nixos
<MasseGuillaume> nix-channel --list nixos https://nixos.org/channels/nixos-19.09
ng0_ has joined #nixos
ng0_ has joined #nixos
ng0_ has quit [Changing host]
jbetz has quit []
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
jbetz has joined #nixos
ng0 has quit [Ping timeout: 272 seconds]
<NemesisD> Shoubit: so i've got fetchtarball working and i've added (import "${home-manager}/nixos") to the imports as per the wiki but i'm not sure how to make the `home-manager` executable available
<evanjs> MasseGuillaume: what does your $NIX_PATH look like?
<MasseGuillaume> echo $NIX_PATH nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<MasseGuillaume> warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos' does not exist, ignoring
<MasseGuillaume> I get this also
<MasseGuillaume> I think I know now
<clever> MasseGuillaume: and you did the above `nix-channel --list` as root?
<MasseGuillaume> sudo nix-channel --listnixos-unstable http://nixos.org/channels/nixos-unstable
<MasseGuillaume> yup there is no nixos
NekomimiScience has quit []
<MasseGuillaume> this is weird, it stoped working suddenly
<NemesisD> oh, i wonder if i should just install the `home-manager` package
NekomimiScience has joined #nixos
<MasseGuillaume> sudo nix-channel --add https://nixos.org/channels/nixos-19.09 nixos
<MasseGuillaume> I just added it
<MasseGuillaume> but same problem
<clever> MasseGuillaume: did you --update?
<MasseGuillaume> I did
<clever> MasseGuillaume: as root?
<MasseGuillaume> sudo nix-channel --update
<MasseGuillaume> sudo nixos-rebuild switch --upgrade
<MasseGuillaume> bingo
<MasseGuillaume> thanks
<evanjs> NemesisD: eh depends on what you want to do. On NixOS, the submodule is the way to go IMO. I just use the one from NUR
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<evanjs> if you import home-manager and use the nixos submodule, you will not use the home-manager package
<evanjs> it will be done on nixos-rebuild
digitalgrease has quit []
digitalgrease has joined #nixos
<Taneb> I'm trying to package a Python library and I'm getting a "cannot open shared object file: No such file or directory" error when I try to use it in a shell. Any ideas?
<MasseGuillaume> @Taneb you can run strace to find the missing file
<NemesisD> evanjs: i should step back. what i'm trying to do is declaratively make home-manager available in configuration.nix, then let individual users configure with their own home.nix. is there a way i can do the channel add declaratively?
<MasseGuillaume> strace -e trace=open command
<evanjs> It's going to be slightly different in your case, though
<evanjs> NemesisD: I'm assuming you have `imports = [ <home-manager/nixos> ];` somewhere, too?
<NemesisD> evanjs: i think i was doing that with fetchtarball. i fetchtarball'd home manager's master revision and then did (import "${home-manager}/nixos") which i think is equivalent
work_ has quit [Quit: Connection closed for inactivity]
sumner[m] has joined #nixos
<NemesisD> but it sounds like it'd be better to figure out how to set up NUR and then ...?
<evanjs> NemesisD: yeah that should be fine as well. Just make sure you import the nixos module from there... which it does look like you're doing
<NemesisD> evanjs: so when i did nixos-rebuild test, that didn't fail, it just also didn't make `home-manager` available to my user
<qyliss> Using the NixOS module isn't going to do what you want
<evanjs> ^
<qyliss> You just need to install the home-manager program
MasseGuillaume has quit [Remote host closed the connection]
knupfer has joined #nixos
<qyliss> The module will pull home.nix into your NixOS configuration.nix
<qyliss> And that would mean that an administrator would have to run nixos-rebuild every time a user changed something in their home.nix.
<DigitalKiwi> https://myfriendshate.me/files/glirc-otr/default.nix I recently made this; in the installPhase I'd like to put the glirc-otr.so somewhere static as I have to put the location in a config file so I'd like it to be the same no matter the version; I was thinking something like /var/lib/glirc-otr/glirc-otr.so might be appropriate. So a. would that be ok and b. how do I do that? what bash commands go in installPhase? is it just a mkdir cp?
<NemesisD> qyliss: should i not do the nixos module then? and should i not use home-manager from the packages db?
<qyliss> You can use the home-manager package
<qyliss> But if you want non-admin users to be able to rebuild their own home environments, they need to run home-manager for themselves
<DigitalKiwi> infinisil clever ^^
<evanjs> I mean, you can still do it from nixos-rebuild, but they'd have to be configured beforehand, and would only be reconfigured on nixos-rebuild
<evanjs> *from the nixos module
<NemesisD> evanjs: i definitely want the latter. so by running home-manager themselves what does that mean? they just need to run home-manager switch and all that? or do you mean like i have to install it for each user?
<evanjs> NemesisD: AFAIK you can just add home-manager to systemPackages
<NemesisD> evanjs: oh ok. and btw does that mean that it freezes all the packages and versions thereof available to whatever version is in the nixpkgs home-manager? or is there sort of a self-update i can do once its installed?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/93c7301338a (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
kenjis1 has joined #nixos
<evanjs> when using home-manager, whatever you add to home packages and etc will be sourced from the nix store
misuzu has quit [Quit: leaving]
<NemesisD> ohh got it. that makes sense. this sounds easier than i thought then
<NemesisD> so why does everyone recommend sourcing from git instead of just what's in nixpkgs?
misuzu has joined #nixos
jgeerds has quit [Ping timeout: 272 seconds]
wildsebastian has quit []
wildsebastian has joined #nixos
<{^_^}> [nixpkgs] @evanjs opened pull request #78420 → gitkraken: 6.4.1 -> 6.5.0 → https://git.io/JvtNu
<evanjs> bah. any good way to debug a nix-collect-garbage run? Seems to be stalled right now ...
<evanjs> *checks computer again* .... nevermind.... guess it just took forever
Tucky has quit [Quit: WeeChat 2.7]
<evanjs> I'm so used to getting _some_ kind of feedback... that, and strace hung on read for a min--oh. I didn't follow forks...
xkapastel has joined #nixos
opthomasprime has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #78421 → nixos/xfce: use sessionPackages → https://git.io/JvtNV
<evanjs> NemesisD: can't say for sure, but I'd assume it's so they're always up to date, as home-manager repo is always "up to date", and nur is the next best. Looks like master nixpkgs is ~20 days behind home-manager upstream, for example
<{^_^}> [nixpkgs] @edef1c opened pull request #78422 → fish: fix systemctl completion → https://git.io/JvtNw
pkral has quit []
teej has quit [Quit: Connection closed for inactivity]
pkral has joined #nixos
opthomasprime has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @edef1c opened pull request #78423 → nixos/gnupg: actually use the configured gpg package → https://git.io/JvtNX
opthomasprime has joined #nixos
ng0_ is now known as ng0
<hyper_ch2> I can't get nginx work with phpfpm anymore
<hyper_ch2> tried to use sockets now instead of port but no luck
opthomasprime1 has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/6b0212ae385 (from 89 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
opthomasprime has quit [Ping timeout: 260 seconds]
MasseGuillaume has joined #nixos
<MasseGuillaume> Hey I don't have auto-completion on zsh with kubectl anymore, how can I debug what's wrong ?
zeta_0 has joined #nixos
endformationage has joined #nixos
<infinisil> MasseGuillaume: Go back to where you had it, then figure out what installs it, then figure out why it's not installed anymore
hyper_ch has quit [Quit: ZNC 1.7.5 - https://znc.in]
<MasseGuillaume> hum, I deleted that machine already :p
hyper_ch has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78423 → nixos/gnupg: actually use the configured gpg package → https://git.io/JvtNX
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvtAZ
hyper_ch2 has quit [Remote host closed the connection]
<infinisil> MasseGuillaume: Well it's probably either kubectl itself or zsh-completions, so you could look at the output of those to find some _kubectl in $out/share/zsh
<{^_^}> [nixpkgs] @NeQuissimus closed pull request #77652 → zfs: 0.8.2 -> 0.8.3 → https://git.io/JvJaW
<infinisil> E.g. With nix-build '<nixpkgs>' -A kubectl
<infinisil> Or whatever the package is
<MasseGuillaume> yup I did build it and there is a share/zsh output
<evanjs> welp. as always, unsure if I'm doing the right thing. feel free to bash my changes to the unpackCmd :D re #78420
<{^_^}> https://github.com/NixOS/nixpkgs/pull/78420 (by evanjs, 25 minutes ago, open): gitkraken: 6.4.1 -> 6.5.0
<evanjs> Stupid binary/"closed-source" packages trying to break things and not giving info in the changelogs :P
<MasseGuillaume> infinisil /nix/store/l2d915zh8r7qjkw5xwykikzxzvs0n68r-kubernetes-1.16.5/share/zsh/site-functions/_kubectl
<infinisil> MasseGuillaume: oh and 'echo $fpath' shows you where zsh looks for completions
<MasseGuillaume> how those are loaded in zsh ?
<MasseGuillaume> ah cool
<MasseGuillaume> I didn't know about fpath
UndefinedIsNotAF has joined #nixos
orivej has joined #nixos
<evanjs> does borg add darwin-rebuild to all packages, and indicate 0 for linux-only packages?
<evanjs> got confused as it added darwin-rebuild to a linux only PR
<MasseGuillaume> infinisil so apparently it's from ls -lh /run/current-system/sw/share/zsh/site-functions | grep kube
ng0 has quit [Ping timeout: 260 seconds]
<MasseGuillaume> _kubectl -> /nix/store/l2d915zh8r7qjkw5xwykikzxzvs0n68r-kubernetes-1.16.5/share/zsh/site-functions/_kubectl
ng0 has joined #nixos
ng0 has joined #nixos
<MasseGuillaume> so that's good
<infinisil> MasseGuillaume: Do you have `which _kubectl`?
<MasseGuillaume> which _kubectl _kubectl () { # undefined builtin autoload -XUz}
<MasseGuillaume> weird
<MasseGuillaume> that's bad
<MasseGuillaume> it's different from /nix/store/l2d915zh8r7qjkw5xwykikzxzvs0n68r-kubernetes-1.16.5/share/zsh/site-functions
<infinisil> MasseGuillaume: You do have programs.zsh.enable = true right?
<MasseGuillaume> yup
<infinisil> And didn't turn off programs.zsh.enableCompletion
<MasseGuillaume> nope
<infinisil> Using home-manager?
<MasseGuillaume> never heard of this
<infinisil> Okay then don't mind that
<MasseGuillaume> i'm using oh-my-zsh
<infinisil> Kind of out of ideas now, maybe you can also ask in #zsh
<MasseGuillaume> hehe oki
<MasseGuillaume> thanks
<infinisil> :)
<MasseGuillaume> maybe the kubectl package is incorrect
<MasseGuillaume> or the output of the kubectl completion command
MasseGuillaume has quit [Remote host closed the connection]
drakonis has joined #nixos
<zeta_0> greetings everyone, i was wondering if you could help me with this issue that i am having? https://gist.github.com/zeta-00/acbe3dd19fa1400eb03a473750483fa2
MasseGuillaume has joined #nixos
<MasseGuillaume> oh-my-zsh is the problem
<MasseGuillaume> If I disable it, it works fine
tpanum- has joined #nixos
<tlater[m]> zeta_0: You'd use something like ${pkgs.ghc}/lib/ghc-*
tpanum has quit [Ping timeout: 265 seconds]
<tlater[m]> Which will resolve to the correct path - assuming that shell expansion works in that env variable
rajivr___ has quit [Quit: Connection closed for inactivity]
<tlater[m]> If not you might need to modify that every time the version number changes... Maybe there's a way to access the version number through the package?
<tlater[m]> Yep
<tlater[m]> zeta_0: You'd want NIX_GHC_LIBDIR="${pkgs.ghc}/lib/ghc-${pkgs.ghc.version}"
<evanjs> MasseGuillaume: I can't remember what exactly the issue was before, but I recall oh-my-zsh behaving differently between nixos and hm. One of them worked, and the other didn't :P
<evanjs> completion works for me with oh-my-zsh enabled
<MasseGuillaume> I'm creating a ticket
<MasseGuillaume> weird
<MasseGuillaume> with kubectl ?
<MasseGuillaume> it works fine with git
<evanjs> MasseGuillaume: are you using oh-my-zsh via home-manager or nixos?
<MasseGuillaume> programs.zsh.enableCompletion = mkForce false;
<MasseGuillaume> watt
<MasseGuillaume> I don't think so
cosimone has joined #nixos
<MasseGuillaume> no I don't have programs.home-manager in my configuration.nix
pitch has quit [Ping timeout: 260 seconds]
opthomasprime1 has quit [Remote host closed the connection]
<Miyu-saki> Do we need optimus-manager for NixOS? I wanna experiment with full GPU rendering and disabled GPU.
opthomasprime has joined #nixos
<Miyu-saki> I'm thinking we could use one of those subconfigurations(clones, IIRC?) to do the switching rather than use optimus-manager.
<infinisil> The zsh setup scripts in nixos and hm are a bunch of hacks tbh
<evanjs> ^
opthomasprime has left #nixos [#nixos]
mac10688 has quit [Ping timeout: 268 seconds]
<infinisil> Not surprised that interactions with all kinds of zsh plugin systems breaks
<Miyu-saki> So your base config is hardware.nvidiaOptimus.disable = true;, while you have clones that set that to false + your NVidia/Intel optimus setting.
<{^_^}> #78424 (by MasseGuillaume, 10 seconds ago, open): kubectl autocompletion does not work with ohMyZsh
<{^_^}> [nixpkgs] @NeQuissimus pushed 7 commits to master: https://git.io/JvtxI
<Miyu-saki> And rather use than optimus-manager, you use switch-to-configuration.
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to release-19.09: https://git.io/JvtxO
<Miyu-saki> Also, seems like clone is not the way to do it.
<Miyu-saki> What's NixOS's subconfiguration system again?
emilazy has quit []
<Miyu-saki> Oh, nesting, not clones.
emilazy has joined #nixos
erictapen has quit [Ping timeout: 268 seconds]
<Miyu-saki> Oh.
<Miyu-saki> nesting.clone inherits from parent, nesting.children does not.
justan0theruser has quit [Quit: WeeChat 2.6]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
justanotheruser has joined #nixos
<Miyu-saki> In theory, this should be the same as optimus-manager.
<Miyu-saki> Oh, we don't even have support for optimus-manager lol
cosimone has quit [Quit: Quit.]
chagra has joined #nixos
erasmas has joined #nixos
earldouglas has left #nixos [#nixos]
buc has joined #nixos
<buc> ciao
<buc> !list
buc has left #nixos [#nixos]
<Miyu-saki> mudri: I saw this, https://github.com/NixOS/nixpkgs/issues/68849 and was thinking you might be interested in my gist.
<{^_^}> #68849 (by mudrii, 18 weeks ago, closed): optimus-manager GPU switching on Optimus laptops with a dual Nvidia/Intel GPU configuration
<Miyu-saki> I still haven't tested it, but in theory, that should work.
<zeta_0> tlater[m]: thanks for the help, i'll try your solution to my environment variable issue out now
linkrage has joined #nixos
sondr3 has joined #nixos
<mudri> Miyu-saki: I think you got the wrong person. I'm laMudri on GitHub.
<Miyu-saki> Oh crap.
<Miyu-saki> Sorry!
<Miyu-saki> Oh.
<Miyu-saki> mudrii[m]: Would that be you, then?
linkrage has left #nixos [#nixos]
linkrage has joined #nixos
bvdw has quit [Quit: bvdw]
bvdw has joined #nixos
sigwinch28 has joined #nixos
<{^_^}> [nixpkgs] @bgamari opened pull request #78425 → sphinx: 2.2.2 -> 2.3.1 → https://git.io/JvtpL
fendor has quit [Ping timeout: 265 seconds]
pitch has joined #nixos
tokudan has quit [Quit: Dunno.]
<sigwinch28> Is this a good place to get support RE nixpkgs/writing my own packages, or am I better off on the discourse?
<gchristensen> yep! ask away!
<{^_^}> [nixpkgs] @Mic92 opened pull request #78426 → nixos/systemd: add all systemd tmpfiles files → https://git.io/Jvtpq
MasseGuillaume has quit [Remote host closed the connection]
<sigwinch28> I'm very new to Nix(OS) and I'm having trouble getting a font I want. I want the font to be managed in the same way every other bit of my system is (configuration.nix, imports, etc.) but I notice the font I want isn't available on 19.09: https://github.com/NixOS/nixpkgs/tree/master/pkgs/data/fonts/cascadia-code . My question is: is this a package? and if so, how can I build it? The contents of the
<sigwinch28> default.nix here look a little different to what I've been able to find online (which use mkDerivation etc.)
<{^_^}> [nixpkgs] @primeos merged pull request #78413 → signal-desktop: 1.29.6 -> 1.30.0 → https://git.io/Jvt5c
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/Jvtp3
tokudan has joined #nixos
<sondr3> sigwinch28: it's available on unstable so you could import that and install it from there
tokudan has quit [Remote host closed the connection]
<sondr3> depending on how you have unstable available, you could either import the channel or fetch the tarball for it
tokudan has joined #nixos
<sigwinch28> sondr3: I got the gist of that from some googling (it reminds me of enabling extra repos with apt and then pinning specific packages in distros like debian), but I'm looking for some understanding here about why I can't use this nix expression to build a deriviation and use it in my system. Is this something I can learn from the Nix pills?
<sondr3> if you follow the above link and do `unstable.cascadia-code` in the fonts declaration it should work
<sondr3> and you could, I've done it a few times I've added my own packages. Nix derivations in the `nixpkgs` repo are just the same as if you added them in your own configuration
<sondr3> there's many layers to peel and grokking Nix(OS) takes a while, so ask away :)
chagra has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @primeos merged pull request #78189 → rar2fs: init at 1.28.0 → https://git.io/JvLLj
<{^_^}> [nixpkgs] @primeos pushed 4 commits to master: https://git.io/Jvtpn
chagra has joined #nixos
chagra has quit [Client Quit]
Lears has joined #nixos
<sigwinch28> sondr3: thanks, that solves the problem of getting the font now. Instead, though, I'm struggling to understand what that cascadia-code/default.nix file _is_: it's not like anything I've seen in the pills, and doesn't appear to be a derviation. I can't call nix-build on it, for example.
lxsameer has quit [Quit: out]
[Leary] has quit [Ping timeout: 240 seconds]
v88m has quit [Ping timeout: 240 seconds]
<sigwinch28> it's a bit weird that the file is returning a function o.O
<sondr3> I mean, Nix is a functional language so everything is functions
kenjis1 has quit [Ping timeout: 248 seconds]
<sondr3> it's turtles all the way down
<sigwinch28> okay, I'll dig into the nixpkgs repo a little bit more to find out where this thing is actually used :)
<sigwinch28> thanks :)
zupo has joined #nixos
linkrage has quit [Quit: Leaving]
<sondr3> and you can build it locally, if you have cloned `nixpkgs`, you can do `nix-build -A cascadia-code` inside it and it'll build it
<symphorien> sigwinch28: you probably want to pass the function to pkgs.callPackage
<symphorien> or do as sondr3 said
mmlb has quit [Ping timeout: 272 seconds]
petrkr has quit [Quit: Leaving]
<sondr3> sigwinch28: most of the files in nixpkgs _declare_ how to get, build and install them, they are in a sense a recipe for building packages/services. AFAIK everything that declares how to build something is a derivation
smatting has quit [Ping timeout: 240 seconds]
<sondr3> you can see that the derivation for cascadia downloads the font and uses the `install` tool to copy the downloaded font to $out/blah. $out is basically Nix magic that places things where they should go lol
<sigwinch28> oh I think I get what's being said about what's /actually/ in the nixpkgs repo, now
<sigwinch28> I'll have a look at the Nixpkgs manual
<lucus16> https://nixos.wiki seems down?
<sondr3> works on my machine /shrug
chagra has joined #nixos
chagra has quit [Client Quit]
<{^_^}> [nixpkgs] @Infinisil merged pull request #78358 → Merge pull request #78358 from serokell/yorickvp/alertmanager-secret → https://git.io/JvtGs
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/Jvtpi
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/554ab637bf7 (from 67 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
Jackneill has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 260 seconds]
chagra has joined #nixos
<sondr3> my turn for a question, is there a good way to get the names and versions of packages in a repo/directory of derivations?
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<{^_^}> [nixpkgs] @bjornfor merged pull request #78217 → gavrasm: init at 4.5 → https://git.io/JvLnr
<{^_^}> [nixpkgs] @bjornfor pushed commit from @MarcFontaine to master « gavrasm: init at 4.5 »: https://git.io/Jvtp7
<infinisil> sondr3: Example?
<sondr3> I have a NUR-repo and want to list the versions and names of my packages for example
yhager has joined #nixos
fusion809 has quit [Remote host closed the connection]
<infinisil> You can use e.g. mapAttrs (name: value: value.name)
<infinisil> > mapAttrs (name: value: value.name) pkgs.gitAndTools
<{^_^}> { bfg-repo-cleaner = <CODE>; bitbucket-server-cli = <CODE>; darcsToGit = <CODE>; delta = <CODE>; diff-so-fancy = <CODE>; ghq = <CODE>; git = <CODE>; git-absorb = <CODE>; git-annex = <CODE>; git-annex-...
<infinisil> > :p mapAttrs (name: value: value.name) pkgs.gitAndTools
<{^_^}> value is a function while a set was expected, at (string):276:24
Synthetica has joined #nixos
<infinisil> > :p mapAttrs (name: value: value.name) (filterAttrs (name: isDerivation) pkgs.gitAndTools)
<{^_^}> [nixpkgs] @bjornfor merged pull request #78410 → dsniff: Unbreak the build (trivial pull request) → https://git.io/Jvt73
<{^_^}> [nixpkgs] @bjornfor pushed commit from @iblech to master « dsniff: Unbreak the build »: https://git.io/Jvtph
<infinisil> Something like that
<{^_^}> use gitAndTools.hub instead
<infinisil> Damnit
xkapastel has quit [Quit: Connection closed for inactivity]
<yhager> In a `mkDerivation` attribute set, I have `some_src = fetchurl {...}` and I want later to say `cmakeFlags = `[ "-DSOME_SRC=${some_src}" ... ]`. But `some_src` is not available. Is there a way to pass the result of `fetchurl` to a `cmakeFlags`?
<sondr3> and I'd import those package like `pkgs = import ./default.nix { inherit pkgs; };` and run something like that over it infinisil ?
<infinisil> sondr3: I don't know what your default.nix contains, you just need an expression to get an attribute set of packages
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<infinisil> yhager: Use `mkDerivation rec { ...` instead of `mkDerivation { ...`
<sondr3> alright, I'll give it a go and see what happens
<infinisil> yhager: Or `let some_src = fetchurl { ... }; in mkDerivation { ...`
<yhager> infinisil: perfect, that works. Thx!
<{^_^}> [nixpkgs] @yorickvP opened pull request #78427 → nixos/vault: add ExecReload entry → https://git.io/Jvthz
zeta_0 has joined #nixos
UndefinedIsNotAF has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @primeos merged pull request #78408 → iputils: Increase the priority to avoid collisions with inetutils → https://git.io/JvtQ5
<{^_^}> [nixpkgs] @primeos pushed to master « iputils: Increase the priority to avoid collisions with inetutils (#78408) »: https://git.io/JvthQ
<zeta_0> after setting this environment variable in my sessionVariables section of home.nix ghcide is still throwing the module not found error?
<zeta_0> NIX_GHC_LIBDIR="${pkgs.ghc}/lib/ghc-${pkgs.ghc.version}";
<zeta_0> tlater[m]: ^
dm9 has joined #nixos
<zeta_0> rycee: is this because the syntax is incorrect? https://rycee.gitlab.io/home-manager/options.html#opt-home.sessionVariables
<sondr3> zeta_0: what does `echo $NIX_GHC_LIBDIR` say?
fendor has joined #nixos
<sondr3> cause I think `NIX_GHC_LIBDIR="${pkgs.ghc.outPath}/lib/ghc-${pkgs.ghc.version}"; might work (?)
fendor_ has joined #nixos
wildtrees has joined #nixos
lsix has quit [Quit: WeeChat 2.6]
gagbo has quit [Quit: I'm out !]
chagra has quit [Quit: WeeChat 2.6]
<sondr3> our once kitten has grown large and now his hairs are long and stuck to my screen, everytime I scratch him I see black lines on my display lol
<sondr3> and he loves to play with my computer mouse and fingers, so I can't use that either
<sondr3> and now he wants to lie on top of my keyboard
<sondr3> cats man
chagra has joined #nixos
<gchristensen> pretty fun.
<sondr3> love 'em
<sondr3> is there a way to define recursive functions in `nix repl`? I just get a `name not defined` inside the body of itself
chagra has quit [Client Quit]
<gchristensen> maybe do a let in ... right there.
<tilpner> rec { } works too
<tilpner> (but let-in is better)
<sondr3> how'd I do that in the repl? Just `let func: a: ... in`?
<gchristensen> let a = foo: ...; in a
OmnipotentEntity has joined #nixos
chagra has joined #nixos
<notgne2> I use morph to deploy to my servers, and have pkgs set to a specific commit (with a script to update it), yet occasionally I will see some random other things being rebuilt, is there a way to track down these impurities?
<zeta_0> sondr3: it's showing the older path from before i did the rebuild:
<zeta_0> [zeta@nixos:/~]$ echo $NIX_GHC_LIBDIR
<sondr3> hmm, I just get a lambda function instead of a named one
fendor_ has quit [Ping timeout: 260 seconds]
v88m has joined #nixos
o1lo01ol1o has joined #nixos
<zeta_0> sondr3: ok i am going to try another rebuild with the path you recommended
zeta_0 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
zeta_0 has joined #nixos
zeta_0 has quit [Client Quit]
craige has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jvqv4
zeta_0 has joined #nixos
zupo has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #78428 → [19.09] signal-desktop: 1.29.6 -> 1.30.0 (backport) → https://git.io/JvqvK
magnetophon has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @nlewo closed pull request #78313 → docker-containers: add missing kubelet dependency for container systemd services → https://git.io/JvLSQ
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/554ab637bf7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
drakonis has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/93c7301338a (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
zupo has joined #nixos
<zeta_0> sondr3: that did not work either, i am guessing that it has something to do with the syntax because the whole thing is not being highlighted as a string?
<{^_^}> [nixpkgs] @nlewo merged pull request #78427 → nixos/vault: add ExecReload entry → https://git.io/Jvthz
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/JvqvS
<sondr3> oh, are you installing it as `ghc-with-packages`? That's different from just `ghc`
<sondr3> do you have your configuration available?
<sondr3> zeta_0:
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zeta_0> sondr3: ok, i pasted my home.nix file in this github gist: https://gist.github.com/zeta-00/acbe3dd19fa1400eb03a473750483fa2
<zeta_0> sondr3: the pastebin link to it
erictapen has joined #nixos
fendor_ has joined #nixos
<pie_[bnc]> clever: i just had a dumb idea: what if lisp module for grub
<sondr3> zeta_0: I think something like this might work https://hastebin.com/idolujojop.bash, it's close to how I've done it previously with Python + packages
<clever> pie_[bnc]: somebody already wrote python for grub
<pie_[bnc]> clever: ...that was actually my first thought
<pie_[bnc]> i didnt think to search it because "why would anyone ever do something like that"
<clever> pie_[bnc]: bios testing and such
<clever> pie_[bnc]: when you want to have a complex program, and no os in the way
<pie_[bnc]> i figured this would have some applications but i couldnt think of any
<clever> pie_[bnc]: it also lets you treat x86 much more like a c64
<{^_^}> [nixpkgs] @thefloweringash opened pull request #78429 → llfuse: darwin support, use in borgbackup → https://git.io/JvqfJ
<zeta_0> sondr3: i am using ghcide, so i am guessing that i need to paste this there as well?
<zeta_0> # ghcide-nix installation:
<zeta_0> (import (builtins.fetchTarball "https://github.com/hercules-ci/ghcide-nix/tarball/master") {}).ghcide-ghc865
<sondr3> zeta_0: maybe? I mostly use `cabal2nix` when developing in Haskell, so I only have HIE, brittany and some other utilities installed and install all packages locally in each repo as required
<{^_^}> [nixpkgs] @puckipedia opened pull request #78430 → nixos/stage-1: Do not allow missing kernel modules in initrd → https://git.io/Jvqfk
<kalbasit> are there any security risks to using cache.nixos.org over HTTP? Is the binary cache signature reliable enough?
<sondr3> zeta_0: your problem is basically that the derivation that is built with the packages is not `pkgs.ghc` but `pkgs.ghc-with-your-packages` so using the $PATH to `pkgs.ghc` does not include any of the packages you installed and you have no way of referencing this derivation
<{^_^}> [nixpkgs] @bjornfor pushed to master « eclipses.plugins.cdt: fix source hash »: https://git.io/Jvqfq
aveltras has joined #nixos
<{^_^}> [nixpkgs] @peti closed pull request #76883 → gi-gdkx11: Default to 3.X version → https://git.io/JexjF
<{^_^}> [nixpkgs] @peti pushed 16 commits to haskell-updates: https://git.io/Jvqfl
<{^_^}> [nixpkgs] @teto opened pull request #78432 → Lua for sile → https://git.io/JvqfR
dm9 has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @arcnmx opened pull request #78433 → youtube-dl: 2020.01.15 -> 2020.01.24 → https://git.io/Jvqfi
<{^_^}> [nixpkgs] @teto pushed commit from @B4dM4n to master « snowman: use Qt mkDerivation »: https://git.io/JvqfX
<{^_^}> [nixpkgs] @teto merged pull request #78416 → snowman: use Qt mkDerivation → https://git.io/JvtFk
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jvqf1
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 1.9.7 -> 1.9.8 »: https://git.io/JvqfM
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-hlint: update override for new ghc-lib-parser-ex dependency »: https://git.io/JvqfD
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update the list of broken packages »: https://git.io/Jvqf9
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvqfH
<{^_^}> [nixpkgs] @pingiun opened pull request #78434 → Update python telegram bot patch → https://git.io/JvqfQ
W1lkins has joined #nixos
cust0dian has left #nixos ["Leaving"]
psyanticy has quit [Quit: Connection closed for inactivity]
worldofpeace has joined #nixos
<worldofpeace> Hey, NixOS Office Hours is starting in 14 min https://zoom.us/j/120295959, and more details https://github.com/worldofpeace/events/tree/master/office-hours
neeasade has joined #nixos
<neeasade> any lorri users here? trying to get it working on nixos 19.09
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/62d86db5729 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
andreas303 has quit [Remote host closed the connection]
<sondr3> has Zoom fixed that hidden webserver that they used to run in their client?
<cransom> yeah, about a week after everyone realized there were 0 days for it.
<{^_^}> [nixpkgs] @peti pushed 20 commits to haskell-updates: https://git.io/JvqJL
zupo has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 9 commits to haskell-updates: https://git.io/JvqJq
<{^_^}> [nixpkgs] @peti merged pull request #78380 → Update Haskell package set to LTS 14.21 (plus other fixes) → https://git.io/Jvt0Z
<{^_^}> [nixpkgs] @peti pushed 10 commits to master: https://git.io/JvqJO
<{^_^}> [nixpkgs] @Profpatsch merged pull request #78372 → execline: wrap unconditionally; strip → https://git.io/JvtlO
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @alyssais to master « execline: wrap unconditionally; strip »: https://git.io/JvqJG
<{^_^}> [nixpkgs] @Profpatsch merged pull request #78337 → lib: improve cli module → https://git.io/JvLAK
<{^_^}> [nixpkgs] @Profpatsch pushed 8 commits to master: https://git.io/JvqJW
m0rphism has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @symphorien opened pull request #78435 → heaptrack: wrap with wrapQtAppsHook → https://git.io/JvqJ0
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yhager has quit [Quit: leaving]
<{^_^}> [nixpkgs] @wucke13 opened pull request #78436 → [WIP] Foxtrotgps → https://git.io/JvqJ6
zeta_0 has quit [Quit: rebuilding]
alex`` has quit [Ping timeout: 268 seconds]
zupo has joined #nixos
alex`` has joined #nixos
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @samlich opened pull request #78437 → pymol: 2.1.0 -> 2.3.0 → https://git.io/JvqJN
<zeta_0> on line 4 of my home.nix is throwing an error: undefined variable haskell? https://hastebin.com/uyohudusuv.bash
<zeta_0> sondr3: ^
<zeta_0> why is that?
<DigitalKiwi> try pkgs.haskell.
<{^_^}> [nixpkgs] @samlich opened pull request #78439 → lutris: fix gog integration → https://git.io/JvqUk
<{^_^}> [nixpkgs] @bbigras opened pull request #78440 → httplz: 1.6.0 -> 1.8.0 → https://git.io/JvqUm
<wucke13> Building a package that needs python with a fex python packages as interpreter for a script. How to do it?
jonten has joined #nixos
<aswanson> daw:
Chiliparrot has joined #nixos
noudle has joined #nixos
<NemesisD> has anyone used the `docker-containers` feature?
noudle has quit [Client Quit]
fendor_ has quit [Ping timeout: 268 seconds]
<wucke13> NemesisD: I guess I do?
<NemesisD> wucke13: is it supposed to automatically pull the image if you don't have it? i'm trying to set one up and the container never starts but also `docker images` returns empty
<wucke13> Yes of course it automatically pulls the image
<NemesisD> hmm something else must be going on then
<{^_^}> [nixpkgs] @jonringer merged pull request #78039 → sfizz: init at unstable-2020-01-19 → https://git.io/JvkpA
<{^_^}> [nixpkgs] @jonringer pushed commit from @magnetophon to master « sfizz: init at unstable-2020-01-24 »: https://git.io/JvqTv
<NemesisD> ah looks like its getting a manifest unknown error: docker pull plexinc/pms-docker:1.18.4.21 #=> Error response from daemon: manifest for plexinc/pms-docker:1.18.4.21 not found: manifest unknown: manifest unknown
<wucke13> NemesisD: https://paste.krebsco.de/seUCFEK9 This works for me
<NemesisD> nm their stupid website crops part of the tag
johnw has joined #nixos
zupo has quit [Ping timeout: 240 seconds]
<wucke13> To put my problem in other words: How can I ensure that there are some pythonPackages in the python interpreter that is used to patch the shebangs of utility scripts?
<NemesisD> wucke13: thanks, got it working :)
zupo has joined #nixos
<{^_^}> [nixpkgs] @ljli opened pull request #78441 → python: auto patch wheels with manylinux RPATH → https://git.io/JvqTB
<johnw> with nix copy, I can use --to ssh://host, and --to file:://path; is there a way to specify a specific store path on another host via ssh? does ssh://host/path do what I'd expect?
<{^_^}> [nixpkgs] @jonringer merged pull request #77981 → aria2p: init at 0.7.0 → https://git.io/Jvk3H
<{^_^}> [nixpkgs] @jonringer pushed commit from @k0ral to master « aria2p: init at 0.7.0 »: https://git.io/JvqT2
o1lo01ol1o has joined #nixos
<{^_^}> [nix] @edolstra pushed 3 commits to flakes: https://git.io/JvqTV
<johnw> ah, it is ssh://host?store=path
vidbina_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @delroth opened pull request #78443 → python3Packages.zodb: fix compatibility with transaction 3.0 → https://git.io/JvqTS
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
KeiraT has quit [Quit: KeiraT]
jmarin217 has joined #nixos
jmarin217 has left #nixos [#nixos]
chagra has quit [Ping timeout: 268 seconds]
tertl3 has quit [Quit: Connection closed for inactivity]
chagra has joined #nixos
andreas303 has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/62d86db5729 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @mmahut merged pull request #78440 → httplz: 1.6.0 -> 1.8.0 → https://git.io/JvqUm
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jvqkc
neeasade has quit [Ping timeout: 272 seconds]
__monty__ has quit [Quit: leaving]
ixxie has joined #nixos
neeasade has joined #nixos
<amanjeev> is anyone running latest kernel with 19.09? i am thinking of moving to latest kernel but decided to check in here if anyone saw issues with it.
o1lo01ol1o has quit [Remote host closed the connection]
<Yaniel> I'm using latest kernel on unstable, no problems so far
<amanjeev> thank Yaniel
<amanjeev> thank you*
<quiet_laika[m]> does `stdenv.mkDerivation` use CMake by default? im trying to build a simple project (not my own) that uses a Makefile, but not CMake, and im getting an error about CMakeLists.txt not being present
<infinisil> quiet_laika[m]: It doesn't. Only when you add something like `nativeBuildInputs = [ cmake ]` it should use cmake
justanotheruser has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #78443 → python3Packages.zodb: fix compatibility with transaction 3.0 → https://git.io/JvqTS
<{^_^}> [nixpkgs] @jonringer pushed commit from @delroth to master « python3Packages.zodb: fix compatibility with transaction 3.0 »: https://git.io/JvqkA
<quiet_laika[m]> ive got lua and luarocks in the buildinputs, but nothing else :/
<delroth> quiet_laika[m]: the default configurePhase will try multiple systems like autoconf/cmake by default
<quiet_laika[m]> let me see if i can tweak configurephase to get it happy
<delroth> you can use "dontConfigure = true;" to skip it
<quiet_laika[m]> ++
<{^_^}> [nixpkgs] @mkg20001 opened pull request #78445 → cinnamon.cinnamon-session: init at 4.4.0 → https://git.io/JvqIf
o1lo01ol1o has joined #nixos
jonten has quit [Ping timeout: 265 seconds]
<quiet_laika[m]> progress!
<{^_^}> [nixpkgs] @worldofpeace merged pull request #76321 → qpaeq: init at 13.0 → https://git.io/JvqIs
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to staging: https://git.io/JvqIG
<amanjeev> what a beautiful OS. added one line, took about 5 minutes and booted into latest kernel
<colemickens> Does anyone know what this meson dep maps to as far as a nixpkgs dep? https://github.com/Alexays/Waybar/blob/e9b03653277ef5d048f584839f0b4ca142305db5/meson.build#L69
fendor_ has joined #nixos
KeiraT has joined #nixos
JakeRake has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @jonringer merged pull request #78434 → python-telegram-bot: fix vendored urllib patches → https://git.io/JvqfQ
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvqIH
<quiet_laika[m]> this might be outside the scope of nix guidance, but the lua build is complaining about missing `.so` files in the luarocks dependencies. does that smell like anything specific?
zarel has quit [Ping timeout: 252 seconds]
<clever> quiet_laika[m]: are you using nix-shell?
<clever> quiet_laika[m]: are you using the pkgs.luarocks package?
pluggi61 has joined #nixos
zarel has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @mmahut merged pull request #78152 → digibyte: init at 7.17.2 → https://git.io/JvIxK
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JvqLs
<{^_^}> [nixpkgs] @mmahut closed pull request #78258 → safety: init at 1.8.5 → https://git.io/JvLzF
<{^_^}> [nixpkgs] @mmahut merged pull request #78156 → vertcoin: init at 0.14.0 → https://git.io/JvLeW
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JvqLn
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
JakeRake has left #nixos [#nixos]
<{^_^}> [nixpkgs] @mmahut merged pull request #78384 → frama-c: 19.1 -> 20.0 → https://git.io/Jvt01
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JvqL8
pluggi61 has quit [Remote host closed the connection]
aw has joined #nixos
aw has quit [Client Quit]
jonten has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
fendor_ has quit [Remote host closed the connection]
fendor_ has joined #nixos
<zeta_0> hello guys, why i am getting this error: attribute 'haskellWithPackages' missing, at /home/zeta/.config/nixpkgs/home.nix:398:25 https://hastebin.com/gakeludahi.bash
justanotheruser has joined #nixos
aw has joined #nixos
spacefrogg has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zeta_0> i included haskellWithPackages in both the let and in parts, as well in the environment variable, am i missing something?
<zeta_0> it's this line of code that is throwing the error:
<zeta_0> NIX_GHC_LIBDIR="${pkgs.haskellWithPackages}/lib/ghc-${pkgs.haskellWithPackages.version}";
<{^_^}> [nixpkgs] @flokli merged pull request #78428 → [19.09] signal-desktop: 1.29.6 -> 1.30.0 (backport) → https://git.io/JvqvK
<{^_^}> [nixpkgs] @flokli pushed 4 commits to release-19.09: https://git.io/JvqLr
<{^_^}> [nixpkgs] @mmahut closed pull request #53879 → fetchArchive: init → https://git.io/fhnim
<fendor_> ,locate libbrotlienc
<{^_^}> [nixpkgs] @mmahut closed pull request #40932 → nixos/nginx: make sslCertificate and sslCertificateKey nullable → https://git.io/vhJvI
<{^_^}> Found in packages: brotli.dev, brotli.lib
<{^_^}> [nixpkgs] @mmahut closed pull request #31025 → strip: --strip-all in libexec, bin, sbin → https://git.io/vFmUj
<sondr3> zeta_0: attempth without `pkgs` in the environment variable
<fendor_> ,locate iccuc
<zeta_0> DigitalKiwi: packages.haskell fixed the other error, but then the error moved down to the GHC_NIX_LIBDIR environment variable?
<fendor_> ,locate icuuc
<zeta_0> sondr3: ok
<{^_^}> Couldn't find in any packages
<{^_^}> Couldn't find in any packages
<quiet_laika[m]> clever: no and yes
<clever> quiet_laika[m]: not sure then
<quiet_laika[m]> oh wait, no and _no_
<sondr3> is there a good way from environment variables/something else to see what channels a user has installed?
<quiet_laika[m]> i was using lua53Packages.luarocks
<clever> quiet_laika[m]: that one should also be good
<quiet_laika[m]> nuts
zeta_0 has quit [Remote host closed the connection]
tertl3 has joined #nixos
zeta_0 has joined #nixos
knupfer has quit [Ping timeout: 248 seconds]
eacameron has joined #nixos
<eacameron> Is there an iso with NixOS already configured that would be suitable as a starting point for a vultr server?
<samueldr> eacameron: I think vultr has a nixos iso already
<eacameron> ohh
<samueldr> eacameron: though it may be a bit older
* samueldr checks
<samueldr> though even if older, it's upgradable
<eacameron> Dang it does! It's 19.09 even!
<eacameron> That's awesome.
<eacameron> Curious to try their new high frequency cpus
<samueldr> oh, amazing
<samueldr> I seem to recall having to use what was the previous stable last time I installed
bvdw has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
bvdw has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #78398 → cascadia-code: add variants → https://git.io/Jvtwz
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvqtu
ng0 has quit [Quit: leaving]
<zeta_0> sondr3: ok i set NIX_GHC_LIBDIR env var and it seems like it fixed ghcide, all the package modules are now being recognized and all the ghcide features are now working as well
fendor_ has quit [Ping timeout: 268 seconds]
<scheming_around> How exactly are "nix search" and "nix-env -qa" different?
<quiet_laika[m]> zeta_0: https://gitlab.com/matthewess/haskell-project/blob/master/%7B%7B%20cookiecutter.name%20%7D%7D/fix-ghcide.sh this is a haskell project template i set up with a little bash script to fix the path and a Makefile that invokes vscode with the proper environment
<quiet_laika[m]> its probably a little inflexible because i just made it with my own projects in mind but it was working well for me for my haskell stuff
<zeta_0> but now, i am getting this weird message: there are over 15000 files in folder /home/zeta so watching the repo may slow down emacs, do you want to watch all files in /home/zeta ? yes or no
<scheming_around> btw, if there is a package on nixpkgs that has been updated since, what is the correct procedure to bring the nixpkgs version up-to-date?
<quiet_laika[m]> scheming_around: PR the nix expression for the package :)
<zeta_0> quiet_laika[m]: thanks for the, info, ghcide seems to be working correctly but i need to make sure that all the features are activated
<{^_^}> [nixpkgs] @marsam opened pull request #78446 → flow: 0.116.1 -> 0.117.0 → https://git.io/JvqtV
<scheming_around> quiet_laika[m]: ty, i'll check that out
<{^_^}> [nixpkgs] @marsam merged pull request #78409 → jetbrains-mono: 1.0.1 -> 1.0.2 → https://git.io/Jvt7T
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvqto
<{^_^}> [nixpkgs] @marsam merged pull request #78174 → groovy: 2.5.8 -> 2.5.9 → https://git.io/JvLTF
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvqtP
<{^_^}> [nixpkgs] @marsam merged pull request #78173 → guitarix: 0.38.1 -> 0.39.0 → https://git.io/JvLT1
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvqtX
<{^_^}> [nixpkgs] @marsam merged pull request #78259 → pdsh: 2.33 -> 2.34 → https://git.io/JvLgJ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvqtD
<{^_^}> [nixpkgs] @primeos opened pull request #78447 → range-v3: Disable on AArch64 due to internal compiler errors → https://git.io/JvqtS
<{^_^}> [nixpkgs] @snicket2100 opened pull request #78448 → irqbalance: systemd service config aligned with upstream → https://git.io/Jvqt9
<{^_^}> [nixpkgs] @marsam merged pull request #78262 → plantuml: 1.2019.13 -> 1.2020.0 → https://git.io/JvLgQ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvqtH
neeasade has quit [Ping timeout: 272 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @marsam merged pull request #78207 → languagetool: 4.7 -> 4.8 → https://git.io/JvL3q
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvqtb
<{^_^}> [nixpkgs] @marsam merged pull request #78221 → libpst: 0.6.72 -> 0.6.74 → https://git.io/JvLCO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvqqf
<quiet_laika[m]> clever: im realizing now that the files its complaining about are _project_ files, not from a dependency.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/40a03a8c6d7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<quiet_laika[m]> for some reason its searching in the dependency folders for a file that should be in the derivation source
pjan has joined #nixos
chagra has quit [Ping timeout: 240 seconds]
chagra has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos