gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<{^_^}> [nixpkgs] @jonringer opened pull request #67140 → Update fabric → https://git.io/fjbEB
mexisme has joined #nixos
ris has quit [Ping timeout: 245 seconds]
paileyb has quit [Ping timeout: 260 seconds]
<NemesisD> nDuff: i wonder if there's a way to reverse this? i'm looking for what depends on this particular package in the closure. for some reason something is dragging *ghc* into my docker image
<nDuff> Sure. Do you have that 165,000 lines of json? Do a textual search for the hash of the thing that's referencing ghc.
<nDuff> ...find the key the references are contained in; if you don't know why that thing is included, recurse.
<nDuff> if I weren't busy, I could probably write some jq to automate the task.
mexisme has quit [Ping timeout: 252 seconds]
jtojnar has quit [Ping timeout: 245 seconds]
<iqubic> Firefox is acting weird right now.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67141 → sonarr: 2.0.0.5322 -> 2.0.0.5338 → https://git.io/fjbEV
<samueldr> NemesisD: additionally, `nix why-depends` serves this purpose
<samueldr> its --help may help
<iqubic> Anytime I play a fullscreen video and I don't give any keyboard inputs or move the mouse for about 15 minutes, the screen goes black. I thought being in full screen was supposed to stop this from happening.
<samueldr> no, the software has to hold the screen off from suspending
<samueldr> I guess some WM could use the fullscreen hints and do the deed
<iqubic> I see. So why doesn't Firefox do this?
<samueldr> possibly because it's software, software that knows it has to hold the screen from suspending
<samueldr> ah, I misread your sentence
<samueldr> possibly because it's software, software that doesn't know it has to hold the screen from suspending
<iqubic> No I mean, why doesn't Firefox hold off the screen from suspending when in fullscreen.
<iqubic> How can I fix thi?
<iqubic> *this
<samueldr> that's not a nixos specific issue, if this help your search
<samueldr> DPMS is the feature
tjg1 has quit [Quit: Bye.]
<iqubic> I see.
boxscape has quit [Remote host closed the connection]
<iqubic> How can I fix this?
<samueldr> I have no solutin to offer, sorry, haven't tried the myriad proposals found on google with "linux firefox dpms"
<iqubic> What is DPMS?
tjg1 has joined #nixos
<iqubic> Also, what web browser do you use?
<samueldr> the name of the feature in X11 (and I think the name of the standard) about display suspend
<iqubic> I see.
<samueldr> I dual wield preaching against monoculture of web browsers, any monoculture
philr has joined #nixos
<iqubic> What does that mean?
<samueldr> the second definition fits here https://www.merriam-webster.com/dictionary/monoculture
<samueldr> though it comes from the first definition
kandinski has quit [Quit: leaving]
<iqubic> What does it mean you dual wield?
<iqubic> Why can't you just tell me what web browser you use.
<samueldr> ah, I use the two big ones, firefox and google-chrome
<iqubic> Ah. I see.
<iqubic> So do you get these issues in firefox?
<samueldr> yes, but not frequently enough as I prefer using mpv to consume youtube media
<iqubic> I see.
<iqubic> And mpv doesn't have these issues?
<iqubic> I don't think my WM knows about DPMS really.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67142 → solarus: 1.6.0 -> 1.6.1 → https://git.io/fjbEM
<iqubic> Because I get these same issues if I just leave the desktop showing and walk away from my computer.
selfsymmetric-mu has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjbEy
___laika has quit [Ping timeout: 248 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67143 → shotcut: 19.07.15 -> 19.08.16 → https://git.io/fjbEh
lord| is now known as WrinklyRaisin
WrinklyRaisin is now known as lord|
freeman[w]_ has joined #nixos
iqubic has quit [Remote host closed the connection]
freeman[w]__ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67145 → sequeler: 0.7.1 -> 0.7.2 → https://git.io/fjbuk
sigmundv_ has quit [Ping timeout: 272 seconds]
psy3497 has joined #nixos
Henson has quit [Ping timeout: 245 seconds]
<worldofpeace> The issue you are having here is probably the WM you're using etc. has no API to communicate screen inhibition
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @jtojnar to staging « libv4l: disable building Qt (#67134) »: https://git.io/fjbut
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67134 → libv4l: disable building Qt → https://git.io/fjb04
ottidmes has quit [Ping timeout: 246 seconds]
jluttine has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #67146 → kdevelop, kdev-php, kdev-python: 5.4.0 -> 5.4.1 → https://git.io/fjbuO
nDuff has quit [Quit: zzz]
jluttine has joined #nixos
drakonis has quit [Ping timeout: 258 seconds]
Henson has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
m0rphism has quit [Ping timeout: 268 seconds]
jgt has quit [Ping timeout: 250 seconds]
liberiga has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #66440 → subversion: 1.9.9 -> 1.9.12, 1.10.4 -> 1.10.6 [19.03 backport] → https://git.io/fj7KS
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to release-19.03: https://git.io/fjbu4
<{^_^}> [nixpkgs] @jonringer opened pull request #67147 → Bump osinfo → https://git.io/fjbuE
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/6aac40d2461 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<CMCDragonkai> This wiki indicates that imperative installation of fonts dont work: https://nixos.wiki/wiki/Fonts#Imperative_installation_of_user_fonts
<CMCDragonkai> But they do.
orivej has joined #nixos
<CMCDragonkai> As in you can use `nix-env` to install fonts
<CMCDragonkai> I think the wiki is providing a far more complicated solution to installing fonts
<{^_^}> [nixpkgs] @aanderse opened pull request #67148 → perlPackages.DBDOracle: 1.76 -> 1.80 → https://git.io/fjbug
<{^_^}> [nixpkgs] @marsam opened pull request #67149 → mosml: fix build error on darwin → https://git.io/fjbua
<hpfr[m]> How likely am I to run into issues with kernel patches made for the standard stable kernel if I use them in the kernelpatches option? I will have to roll my own kernel package, right?
c74d has left #nixos [#nixos]
<hpfr[m]> Cuz I can’t count on the lines being the same?
ng0_ has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/94b57741155 (from 31 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
jluttine has quit [Ping timeout: 245 seconds]
ng0 has quit [Ping timeout: 260 seconds]
freeman[w]__ has joined #nixos
jluttine has joined #nixos
freeman[w]_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67150 → thermald: 1.8 -> 1.9 → https://git.io/fjbu9
jgt has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #67151 → cargo-make: 0.22.0 -> 0.22.1 → https://git.io/fjbuN
jgt has quit [Ping timeout: 264 seconds]
jluttine has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @xrelkd opened pull request #67152 → cargo-expand: 0.4.13 -> 0.4.14 → https://git.io/fjbuj
alex`` has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67153 → stress-ng: 0.10.00 -> 0.10.01 → https://git.io/fjbzJ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67154 → sxhkd: 0.6.0 -> 0.6.1 → https://git.io/fjbzT
freeman[w]_ has joined #nixos
drakonis has joined #nixos
shandogs has quit []
freeman[w]__ has quit [Ping timeout: 246 seconds]
jluttine has joined #nixos
felixfoertsch has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
felixfoertsch23 has quit [Ping timeout: 245 seconds]
MrCCoffee has quit [Quit: leaving]
Okinan has quit [Quit: Konversation terminated!]
___laika has joined #nixos
not-joepie91 has quit [Ping timeout: 252 seconds]
_rvl has quit [Quit: ZNC 1.7.3 - https://znc.in]
_rvl has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67155 → tulip: 5.1.0 -> 5.2.1 → https://git.io/fjbzR
liberiga has quit [Ping timeout: 260 seconds]
jgt has joined #nixos
growpotkin has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
ryantrinkle has joined #nixos
Supersonic112 is now known as Supersonic
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
reanimus has quit [Ping timeout: 250 seconds]
<teto> hpfr[m]: best way is to try :)
<hpfr[m]> Lmao I guess
<teto> that should work fine if you target the same kernel version
<hpfr[m]> So NixOS doesn’t make many changes to the kernel from the official release? Or maybe just config changes
<hpfr[m]> Noob question but how can I do that, I know how to use overlays but not how to reference past versions of nixpkgs
iqubic has joined #nixos
<iqubic> Is Lorri actually better than nix-shell?
<DigitalKiwi> well they didn't just make it for kicks
<DigitalKiwi> and you still use a shell.nix and can use nix-shell
reanimus has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67156 → gnome3.tali: 3.32.0 -> 3.32.1 → https://git.io/fjbgU
ddellacosta has quit [Ping timeout: 272 seconds]
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
growpotkin has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/249b4ad9428 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
iqubic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67157 → vim: 8.1.1547 -> 8.1.1866 → https://git.io/fjbgi
ilikeheaps has quit [Ping timeout: 246 seconds]
ilikeheaps has joined #nixos
zeta_0 has joined #nixos
iqubic has joined #nixos
<selfsymmetric-mu> iqubic: I tried it, didn't have a good experience. I'm waiting for the team to stabilize it into nixpkgs.
mexisme has joined #nixos
<iqubic> I heard that DigitalKiwi had lorri running well.
<selfsymmetric-mu> Good to hear!
<hpfr[m]> What’s the difference between pkgs.linuxPackages_V_v and pkgs.linux_V_v?
mexisme has quit [Ping timeout: 248 seconds]
<drakonis> the default kernel
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/94b57741155 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<teto> you can see the config via nix build linux.configfile -f channel:nixos-unstable
<hpfr[m]> Well you can specify the version still. Is it added modules since linuxPackages uses the linuxPackagesFor function?
<teto> hpfr[m]: linux_V_v is just the kernel, linuxPackages_V_v is a set of packages tied to a kernel (like `perf`, the nvidia modules etc)
<hpfr[m]> Gotcha, just saw that in allPackages
<hpfr[m]> But if I’m adding config I’m going to need an overlay on the basic linux_V_v and manually do modules
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
jgt has joined #nixos
dbmikus_ has quit [Ping timeout: 264 seconds]
<hpfr[m]> Or no, I can do an overlay on the basic linux, but then set my linux package to linuxPackages and since I have the overlay set up it will apply linuxPackagesFor to my overlaid version? Sweet
<teto> hpfr[m]: yeah, I prefer not to override the nixpkgs one though (can lead to some ocnfusion later on)
<hpfr[m]> Wdym
<teto> does nixops master work nixos-unstable ? I get some errors about options-db.xml
<samueldr> hpfr[m]: linuxPackages(.*) are the packages built with the kernel linux\1 as input
<samueldr> (if you excuse the regex)
<samueldr> packages that require the kernel as input, like modules
<samueldr> that's what we have instead of dkms, in a way
<hpfr[m]> Linux\1?
<teto> also on unstable, seems like rebuilds fuck up systemd, like I can't run systemctl reboot etc because processes are `dead`
<samueldr> hpfr[m]: sorry if it was confusing, I tried to explain using a regex capture group :)
<samueldr> linuxPackages* are the packages built with linux* as input, where * is the same wildcard
not-joepie91 has joined #nixos
not-joepie91 has quit [Changing host]
not-joepie91 has joined #nixos
<samueldr> so linuxPackages_rpi use linux_rpi as input
jgt has quit [Ping timeout: 252 seconds]
rsoeldner_ has joined #nixos
<hpfr[m]> samueldr: Oh yeah I know some regex but forgot the \1, never really used that feature haha
<samueldr> no worries, tried to be cheeky and it backfired on me :)
<hpfr[m]> And yeah I see that in allPackages, it uses the linuxPackagesFor to set up the modules
selfsymmetric-mu has quit [Remote host closed the connection]
drakonis_ has joined #nixos
drakonis is now known as drakonis1
growpotk- has joined #nixos
drakonis_ is now known as drakonis
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
drakonis1 has quit [Ping timeout: 250 seconds]
<hpfr[m]> If I had a package not in an overlay, that’s when I would use pkgs.callPackage instead of just pkgs.${packageName}?
dansho has quit [Ping timeout: 258 seconds]
selfsymmetric-mu has joined #nixos
<samueldr> callPackage is used to do dependency injection in derivation files defined to be callPackageable
<samueldr> (a function with expected inputs, returning a derivation)
<samueldr> so, I think the answer to your question is "no"
<hpfr[m]> I see it most often with an empty set tho
<samueldr> ,callPackage
<{^_^}> If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<samueldr> callPackage expects a file, and a set of overrides
<samueldr> this way you can callPackage ./some-fancy-expr.nix { qt5 = qt511; } # does not work with qt 5.12 for now
<samueldr> and the file is defined with { qt5, ... }: ...
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67158 → sympow: 2.023.4 -> 2.023.5 → https://git.io/fjb2c
<samueldr> or sometimes specialization of a derivation can also happen
dansho has joined #nixos
<hpfr[m]> Hmm ok thanks
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67145 → sequeler: 0.7.1 -> 0.7.2 → https://git.io/fjbuk
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « sequeler: 0.7.1 -> 0.7.2 (#67145) »: https://git.io/fjb2l
drakonis has quit [Ping timeout: 250 seconds]
selfsymmetric-mu has quit [Remote host closed the connection]
<li_matrix> is anyone using home-manager directly in nixos config? Id like to build live iso with my home config
<li_matrix> I think iv seen someone use a service that would run home-manager on first login, which doesnt really do the job
ee1943 has quit [Ping timeout: 268 seconds]
liberiga has joined #nixos
freeman[w]__ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67159 → zotero: 5.0.71 -> 5.0.73 → https://git.io/fjb2M
freeman[w]_ has quit [Ping timeout: 244 seconds]
rsoeldner_ has quit [Remote host closed the connection]
rsoeldner_ has joined #nixos
<iqubic> when is interactiveShellInit called?
philr has quit [Ping timeout: 244 seconds]
<clever> iqubic: it lands in /etc/bashrc, and gets ran at the usual time by bash
<iqubic> I assume zsh.interactiveShellInit = "..."; does the same for zsh.
<clever> probably
felixfoertsch has quit [Quit: ZNC 1.7.3 - https://znc.in]
<iqubic> but putting setting that value in both configuration.nix and home.nix doesn't work. Because when both /etc/zshrc and ~/.zshrc exist zsh only reads ~/.zshrc
felixfoertsch has joined #nixos
<iqubic> So I need to just pick a location and put all my zsh config in that location.
<clever> iqubic: your ~/.zshrc could just source /etc/zshrc
<iqubic> Not really. Because when home-manager sees that home.nix gives a value for zsh.interactiveShellInit it overwrites whatever the current ~/.zshrc is.
<clever> and the code you give to home-manager could source the one in etc
<iqubic> So I'm just going to move it all to configuration.nix so that when I do 'sudo su' I get my own personal zsh config.
<clever> use `sudo -i`, not `sudo su`
<iqubic> Why?
<clever> sudo and su do basically the same thing, its like `sudo sudo`
<clever> pick one tool and stick to it, dont mix identical tools :P
<{^_^}> [nixpkgs] @ldelelis opened pull request #67160 → vimPlugins.defx-nvim: init at 1.0 → https://git.io/fjbaY
<iqubic> I've been using 'sudo su' for the past 2 years and that's never failed me.
<EsperLily> `echo $(echo $(cat filename))` works for me! Why change it now?
<clever> `sudo -i` does the same thing, try it
<clever> EsperLily: exactly :D
liberiga has quit [Ping timeout: 260 seconds]
<iqubic> Just do "cat filename"
sb0 has quit [Quit: Leaving]
<EsperLily> ...exactly
<EsperLily> Does anyone know what creates the initial /etc/nix/nix.conf (on non-nixos)? I can't figure it out
rsoeldner_ has quit [Ping timeout: 245 seconds]
<EsperLily> ok I guess I should have led with: this is a single-user install
<clever> EsperLily: single-user doesnt create /etc/nix/nix.conf
<EsperLily> both of my single-user darwin machines have one.
<EsperLily> this question was prompted by the fact that their contents are different. I think my laptop had a leftover one from an older multi-user install because it defined build-users-group
<clever> i dont think single-user ever makes it
<EsperLily> my laptop defined that, max-jobs = 32, cores = 1, sandbox = false. My desktop has max-jobs = 32, cores = 3, sandbox = false, and extra-sandbox-paths = a few paths including /System/Library/Frameworks which is required to be whitelisted on darwin because darwin has certain impurities here
<clever> extra-sandbox-paths definitely sounds custom
jgt has joined #nixos
<EsperLily> (what motivated this discovery was me trying to do a nix-review on my laptop, which does a sandboxed build, and having it fail due to said impurities since my laptop didn't have the extra-sandbox-paths)
<EsperLily> I've never customized this
freeman[w]_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67161 → libsForQt5.vlc: 3.0.7.1 -> 3.0.8 → https://git.io/fjbaS
<EsperLily> come to think of it, I'm not sure why extra-sandbox-paths is necessary anyway, doesn't __impureHostDeps exist to let derivations punch holes through the sandbox? I'd have thought stdenv would just set __impureHostDeps appropriately
<clever> same, havent looked into why, i try to avoid darwin
<iqubic> What happens if I have two different definitions of zsh.interactiveShellInit in my configuration.nix?
jgt has quit [Ping timeout: 250 seconds]
<clever> iqubic: the type is lines, so nixos will just join them with \n's
<iqubic> Which one comes first?
<clever> depends on the order the files are put into imports
<clever> mkBefore and mkAfter can force order
Rusty1 has quit [Quit: Konversation terminated!]
<iqubic> I see.
<iqubic> Cool.
<clever> this would have wound up before the creation of nixos-fw, causing it to fail
freeman[w]__ has quit [Ping timeout: 268 seconds]
<clever> i had to use mkAfter to force it to come after
<iqubic> What's up with the mkMerge thing?
<clever> dont remember
<iqubic> I see.
<iqubic> What's the difference between programs.zsh.initExtra and programs.zsh.interactiveShellInit?
endformationage has quit [Quit: WeeChat 2.5]
<clever> iqubic: look both up on here, click the declared in link
<iqubic> I was just about to dig into that.
<iqubic> initExtra doesn't show up in that list.
<iqubic> It must be a home-manager only thing.
<clever> then check the home-manager source
<iqubic> I see.
<iqubic> interactiveShellInit is to configuration.nix as initExtra is to home.nix
<iqubic> Different names for the same thing.
<iqubic> So, I'm trying to find the format for zsh.aliases. The drop down list of info for that tells me to look at enviroment.shellAliases. But when I search that up and try to look at the drop down info, I just can't.
<iqubic> What the hell is going on here?
<clever> iqubic: hit f12, look at the js console
<clever> iqubic: then try again in `man configuration.nix`
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67162 → worker: 4.0.0 -> 4.0.1 → https://git.io/fjbVW
<clever> iqubic: i think the JS is crashing while trying to pretty-print the example
<clever> time to file a bug!
<iqubic> Literally I can't open the first option here. https://imgur.com/a/O0RA9Hm
<clever> 2019-08-21 01:58:42 < clever> iqubic: hit f12, look at the js console
<iqubic> Well, something in the JS tries to convert null to an object, and fails.
<iqubic> Also, I see the warning: "Empty string passed to getElementById()."
<clever> 2019-08-21 02:01:09 < clever> iqubic: i think the JS is crashing while trying to pretty-print the example
<iqubic> Yeah.
<iqubic> Something or other in options.html has screwed up.
<clever> iqubic: you can file an issue against this repo
<iqubic> I'm not going to.
<iqubic> I'm too lazy.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67163 → waybar: 0.7.1 -> 0.7.2 → https://git.io/fjbVu
<{^_^}> [nixpkgs] @vbgl merged pull request #66671 → ocamlPackages.charInfo_width: init at 1.1.0 → https://git.io/fjdOm
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.charInfo_width: init at 1.1.0 »: https://git.io/fjbVg
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67164 → xst: 0.7.1 -> 0.7.2 → https://git.io/fjbV2
___laika has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67165 → xkb-switch: 1.5.0 -> 1.6.0 → https://git.io/fjbVw
kleisli has joined #nixos
freeman42x[m] has joined #nixos
palo1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67167 → wcslib: 6.3 -> 6.4 → https://git.io/fjbV1
<{^_^}> [nixpkgs] @7c6f434c merged pull request #67125 → snd: 19.5 -> 19.6 → https://git.io/fjbR8
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjbVM
palo has quit [Ping timeout: 248 seconds]
palo1 is now known as palo
freeman[w]__ has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #67168 → ocamlPackages.{zed,lambdaTerm,utop}: update → https://git.io/fjbV5
<{^_^}> [nixpkgs] @peterhoeg opened pull request #67169 → dynamic-colors: 0.2.2.1 -> 0.2.2.2 → https://git.io/fjbVd
freeman42x has quit [Ping timeout: 252 seconds]
freeman[w]_ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67170 → wiredtiger: 2.6.1 -> 3.2.0 → https://git.io/fjbVF
orivej has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a473b6efc52 (from 83 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
jgt has joined #nixos
___laika has joined #nixos
vmandela has joined #nixos
jgt has quit [Ping timeout: 250 seconds]
<iqubic> What does the source command look like?
<iqubic> If I want my ~/.zshrc to source /etc/zshrc will I need quotations marks, and/or a trailing /?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67171 → yank: 1.1.0 -> 1.2.0 → https://git.io/fjbwt
<srhb> iqubic: No.
<iqubic> no to both?
<srhb> iqubic: Yes, no to both.
<srhb> However, isn't that file always sourced, at least for interactive shells?
<iqubic> Not in my case.
<iqubic> I'm getting the zsh configuration prompt which is telling me that I don't have a ~/.zshrc
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67172 → xonsh: 0.9.9 -> 0.9.10 → https://git.io/fjbw3
<srhb> Sure, that's normal.
<iqubic> Oh?
<iqubic> What should I do here?
<srhb> It'll read ~/.zshenv, then, if it's a login shell, /etc/zprofile and ~/.zprofile, then, if it's interactive, /etc/zshrc and ~/.zshrc
<srhb> iow both /etc/zshrc and ~/.zshrc are used, one is not a replacement for the other
<iqubic> I want to have a blank .zshrc and have all my configurations come from /etc/zshrc, which will be managed by nixos, and peppered with a little bit of stuff from my configuration.nix
<srhb> iqubic: I'd bet there's a flag to disable the check for the user file.
<srhb> I wouldn't bet a lot, but a little bit. ;-)
<iqubic> I didn't find one when I searched the nixos options.
<srhb> I doubt it's in the nixos options, you'll have to read the zsh manuals :)
<iqubic> I see.
rsoeldner_ has joined #nixos
<Miyu-chan> What's the most comprehensive completion for Nix?
<Miyu-chan> Any editor.
<srhb> iqubic: Looks like defining zsh-newuser-install() {} in /etc/zshenv will do the trick
<iqubic> I see.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67173 → wpgtk: 6.0.8 -> 6.0.9 → https://git.io/fjbwW
zupo has joined #nixos
<iqubic> I'm just going to leave the line "source /etc/zshrc" in my .zshrc and call it a day.
<srhb> That will make it load twice, but okay :)
<srhb> It doesn't matter since it's guarded..
<iqubic> So, I'll just leave a blank .zshrc in my home folder and call it a day.
<srhb> Right. ;-)
<hpfr[m]> Trying to override a package with some patches and on rebuild I get “anonymous function called with unexpected argument patches”
<hpfr[m]> Does the original package have to define patches? It doesn’t
<srhb> hpfr[m]: You probably used override when you wanted to use overrideAttrs?
<srhb> hpfr[m]: Hard to say without more context.
<hpfr[m]> It’s in an overlay
<srhb> Still more context. :-)
<srhb> For instance, your overlay would be helpful.
<hpfr[m]> libwacom = super.libwacom.override { patches = [ ./file1.patch ./file2.patch ]; };
<srhb> hpfr[m]: Yes, you want overrideAttrs, not override.
<srhb> hpfr[m]: override overrides the arguments given to the derivation, and it does indeed not take patches, but { stdenv, fetchFromGitHub, autoreconfHook, glib, pkgconfig, udev, libgudev }
<srhb> hpfr[m]: overrideAttrs overrides the attributes of mkDerivation, where patches exists and has special meaning.
<hpfr[m]> Oh, thanks! Seems like override should be overrideInputs or something but I don’t claim to be a package management guru haha
<srhb> hpfr[m]: So, super.libwacom.overrideAttrs (oldAttrs: { patches = [ ... ]; });
<srhb> hpfr[m]: Arguably that is a better name, yeah.
<hpfr[m]> Why the oldAttrs
<hpfr[m]> Otherwise it would leave only patches and nothing else
<srhb> hpfr[m]: No, it'll still merge, but say it already had some patches...
<srhb> Then you would want
<hpfr[m]> Ah ok good practice thanks
<srhb> (oldAttrs: { patches = oldAttrs.patches ++ [ ... ]; })
<srhb> It doesn't matter in this case, and you might want to call oldAttrs _ instead to make it clear you're not using it.
freeman42x[m] has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
<srhb> hpfr[m]: The reason being that the overrideAttrs is a.. Let's call it a shallow merge, so overriding any attribute will simply lose the old value if you don't explicitly do something with it
<hpfr[m]> Makes sense
<srhb> (Besides, the type would simply be wrong if you didn't pass such a function to overrideAttrs)
<hpfr[m]> Would it still be wrong if I had enclosed patches in curly braces to make it a set with just patches attribute
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb> hpfr[m]: Yes, overrideAttrs takes a function (AttrSet -> AttrSet), not just an AttrSet
<srhb> Unlike override.
zupo has joined #nixos
<hpfr[m]> Oh ok perfect got it now thanks
<hpfr[m]> Well, now I get an error saying attribute patches is missing
<srhb> What did you do exactly? :)
___laika has quit [Ping timeout: 268 seconds]
<hpfr[m]> libwacom = super.libwacom.overrideAttrs (oldAttrs: { patches = oldAttrs.patches ++ [ ... ]; });
<srhb> Right, the original libwacom does not have patches defined, so you'd want to either not use oldAttrs.patches OR use `oldAttrs.patches or [] ++ ...`
<srhb> Meaning use oldAttrs.patches if it exists, otherwise the empty list, concatted with [ ... ]
<hpfr[m]> What was the thing you mentioned before with the underscore?
<srhb> (_: { ... }) instead of (oldAttrs: { ... })
<srhb> It's just a convention to make it clear that we're not using the argument
<hpfr[m]> That makes sense too I completely forgot this was good practice and patches wasn’t actually defined haha
<srhb> By not naming it at all
rauno has quit [Ping timeout: 250 seconds]
<hpfr[m]> And then don’t reference oldAttrs in the expression
<srhb> Right.
<hpfr[m]> So the underscore is just coercing this expression to be a function or something for overrideAttrs
<srhb> Arguably naming it and using oldAttrs.patches is "safer" in the sense that you won't accidentally lose patches if we add some.
<srhb> hpfr[m]: Sort of. (_: ...) is a function of one argument that we cannot use because it has no name.
<srhb> I wouldn't call it coercion, but the effect is the same.
<srhb> > (_: 2) 1
<{^_^}> 2
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67175 → zerotierone: 1.4.0 -> 1.4.2 → https://git.io/fjbwa
<hpfr[m]> Yeah not coercing, it is a regular old function
<hpfr[m]> Was that trick by design though? Or is it just handy haha
<srhb> hpfr[m]: I believe it's by design, inspired by the same feature in Haskell.
<hpfr[m]> Interesting
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #67123 → python37Packages.spark_parser: 1.8.7 -> 1.8.9 → https://git.io/fjbBQ
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjbw7
rsoeldner has quit [Ping timeout: 244 seconds]
jollyjester has joined #nixos
<jollyjester> hello
<jollyjester> i can't seem to execute a binary file
<jollyjester> using `./`
<jollyjester> what i'm trying to run is a gamae called classicube found at classicube.net
<srhb> jollyjester: https://nixos.wiki/wiki/Packaging/Binaries -- probably.
<jollyjester> hm
<srhb> assuming you get "no such file or directory"
<jollyjester> yep
jgt has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67176 → wpa_supplicant: 2.8 -> 2.9 → https://git.io/fjbwA
<jollyjester> i get a thing for
<jollyjester> ix-shell
m0rphism has joined #nixos
<jollyjester> what do i install for ix-shell
<jollyjester> also how can i execute it? using nix-shell [executable]?
<srhb> jollyjester: No, that won't work. You need to read that wiki page :)
<jollyjester> well i don't know what libraries to start with it
<jollyjester> classicube doesn't mention them
<{^_^}> [nixpkgs] @Izorkin opened pull request #67177 → virt-viewer: remove unused packages → https://git.io/fjbwj
<srhb> The wiki page also describes how to determine that.
<jollyjester> hm yea i see it now
<srhb> ;-)
orivej has quit [Ping timeout: 268 seconds]
jgt has quit [Ping timeout: 252 seconds]
wfranzini has joined #nixos
jollyjester has quit [Quit: leaving]
orivej has joined #nixos
glowpelt has quit [Quit: WeeChat 2.5]
vmandela has left #nixos ["Leaving"]
<{^_^}> [nixpkgs] @mmahut merged pull request #67138 → reaper: 5.980 -> 5.981 → https://git.io/fjbEq
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjbrq
<{^_^}> [nixpkgs] @mmahut merged pull request #67135 → smemstat: 0.02.04 -> 0.02.05 → https://git.io/fjb02
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjbrm
<{^_^}> [nixpkgs] @mmahut merged pull request #67126 → rapid-photo-downloader: 0.9.15 -> 0.9.16 → https://git.io/fjbR4
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjbrO
<{^_^}> [nixpkgs] @mmahut merged pull request #67121 → python37Packages.zict: 0.1.4 -> 1.0.0 → https://git.io/fjbBw
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjbr3
<{^_^}> [nixpkgs] @mmahut merged pull request #67120 → python37Packages.voluptuous-serialize: 2.1.0 -> 2.2.0 → https://git.io/fjbBn
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjbrG
<{^_^}> [nixpkgs] @mmahut merged pull request #67118 → python27Packages.trollius: 2.2 -> 2.2.post1 → https://git.io/fjbBL
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjbrn
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67178 → wxSVG: 1.5.19 -> 1.5.20 → https://git.io/fjbrc
kleisli has quit [Ping timeout: 245 seconds]
gxt has quit [Ping timeout: 260 seconds]
jollyjester has joined #nixos
<jollyjester> hello so i was setting this up patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ ClassiCube
<jollyjester> and i'm getting
<jollyjester> cat: /nix-support/dynamic-linker: No such file or directory
<srhb> jollyjester: $NIX_CC is unset for you.
<jollyjester> hmm how do i set it?
<srhb> jollyjester: You could nix-shell -p stdenv for explorative purposes
<srhb> The end result requires you to actually do this in a real nix build, so that your package doesn't get out of date
<srhb> (the linker doesn't have a fixed position)
<srhb> Nor the loader..
<{^_^}> [nixpkgs] @uvNikita opened pull request #67179 → nixos/containers: fix imperative containers → https://git.io/fjbr4
<srhb> jollyjester: If you read the first line of the first example on the wiki page, it says: $ nix-shell -p binutils stdenv wget dpkg nix-index stdenv.cc # stdenv.cc is required for setting $NIX_CC env
<srhb> So for explorative purposes you might want to stick to the guide :)
<srhb> (even though you won't need it all)
glowpelt has joined #nixos
<jollyjester> yep getting it now
<jollyjester> it's starting to work
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Okinan has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67116 → python37Packages.yamllint: 1.16.0 -> 1.17.0 → https://git.io/fjbBJ
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjbrV
jollyjester has quit [Quit: leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #67180 → xxHash: 0.7.0 -> 0.7.1 → https://git.io/fjbro
mexisme has joined #nixos
___laika has joined #nixos
jgt has joined #nixos
markus1189 has quit [Ping timeout: 245 seconds]
Jackneill has joined #nixos
Chiliparrot has joined #nixos
bakakuna has joined #nixos
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
ng0_ is now known as ng0
Tucky has joined #nixos
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
markus1189 has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #66773 → git: 2.22.0 -> 2.23.0 → https://git.io/fjFU5
<{^_^}> [nixpkgs] @peti pushed 2 commits to staging: https://git.io/fjbrH
hmpffff has joined #nixos
nexgen has joined #nixos
zmlww[m]1 has joined #nixos
ottidmes has joined #nixos
phreedom_ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjbr5
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjbrF
freeman[w]_ has joined #nixos
phreedom has quit [Ping timeout: 260 seconds]
freeman[w]__ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @peti pushed commit from @erictapen to haskell-updates « haskell-hakyll: patch Cabal file from upstream »: https://git.io/fjbrA
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjbrx
<{^_^}> [nixpkgs] @Anton-Latukha closed pull request #55541 → doc: doCheck: add the special case of 'buildPython*' → https://git.io/fhQJx
pheoxy has joined #nixos
bakakuna has quit [Ping timeout: 272 seconds]
rauno has joined #nixos
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #67036 → sampler: init at 1.0.3 → https://git.io/fjFpE
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fjbol
<{^_^}> [nixpkgs] @dasj19 opened pull request #67181 → nixos/xserver: refactor/fix xml tags for keyboard layout overrides → https://git.io/fjbo8
___laika has quit [Ping timeout: 272 seconds]
veske has joined #nixos
Ariakenom has joined #nixos
xkapastel has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
gxt has joined #nixos
zupo has joined #nixos
freeman42x has joined #nixos
dasj19 has joined #nixos
nakkle has joined #nixos
nexgen has quit [Ping timeout: 246 seconds]
freeman42y has joined #nixos
nexgen has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
mexisme has quit [Ping timeout: 264 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
rsoeldner_ has quit [Quit: Leaving]
rsoeldner has joined #nixos
___laika has joined #nixos
nexgen has quit [Ping timeout: 244 seconds]
freeman42y has quit [Ping timeout: 252 seconds]
thc202 has joined #nixos
domogled has joined #nixos
joshuagl has joined #nixos
o1lo01ol1o has joined #nixos
Tucky has quit [Quit: WeeChat 2.5]
orivej has joined #nixos
v0|d has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to master « graalvm8-ee: use callPackage »: https://git.io/fjb61
orivej has quit [Ping timeout: 248 seconds]
grischeg has joined #nixos
<grischeg> Hey. I want to create a folder "/var/lib/user-storage" with "chmod :mygroup /var/lib/user-storage" and "chmod 1575 /var/lib/user-storage". Can I do this somehow in the /etc/nixos/configuration file?
<joepie91> grischeg: I don't know if there's a dedicated method for this, but you could probably do it hackily by creating a oneshot service that does this
<joepie91> (but only if it doesn't already exist)
<{^_^}> [nixpkgs] @lsix opened pull request #67182 → gsl: 2.5 -> 2.6 → https://git.io/fjb6b
<grischeg> joepie91: a systemd unit?
zupo_ has joined #nixos
<joepie91> grischeg: yeah
<joepie91> it's ultimately a stateful mutation, not a system-build-time concern
zupo has quit [Ping timeout: 245 seconds]
<joepie91> so essentially making it a runtime operation seems reasonable to me
___laika has quit [Ping timeout: 272 seconds]
fendor has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #67175 → zerotierone: 1.4.0 -> 1.4.2 → https://git.io/fjbwa
<{^_^}> [nixpkgs] @zimbatm pushed commit from @r-ryantm to master « zerotierone: 1.4.0 -> 1.4.2 (#67175) »: https://git.io/fjb6x
Makaveli7 has quit [Quit: WeeChat 2.5]
nexgen has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
isHavvy has joined #nixos
freeman[w]__ has joined #nixos
sigmundv_ has joined #nixos
Havvy has quit [Ping timeout: 272 seconds]
freeman[w]_ has quit [Ping timeout: 245 seconds]
philr has joined #nixos
glowpelt has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @delroth opened pull request #67183 → SDL2: don't mix space-separated / lists in cmake config → https://git.io/fjbiJ
glowpelt has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
hmpffff has quit [Quit: Bye…]
nakkle has quit [Quit: Leaving.]
jmeredith has quit [Quit: Connection closed for inactivity]
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « jekyll: 3.8.6 -> 4.0.0 »: https://git.io/fjbiY
Ariakenom has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @lsix closed pull request #67063 → python37Packages.invoke: 1.2.0 -> 1.3.0 → https://git.io/fjbk9
<{^_^}> [nixpkgs] @lsix merged pull request #67140 → pythonPackage.Fabric: 2.4.0 -> 2.5.0 → https://git.io/fjbEB
<{^_^}> [nixpkgs] @lsix pushed 3 commits to master: https://git.io/fjbiC
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ed07403382c (from 34 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjbi0
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « git-annex: update sha256 hash for version 7.20190819 »: https://git.io/fjbiz
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fjbig
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/fjbi2
<{^_^}> [nixpkgs] @peti closed pull request #67065 → haskellPackages.hakyll: patch Cabal file from upstream → https://git.io/fjbIv
felixfoertsch has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
felixfoertsch has quit [Client Quit]
clever has quit [Ping timeout: 248 seconds]
felixfoertsch has joined #nixos
Ariakenom has joined #nixos
growpotk- has quit [Quit: ZNC 1.7.4 - https://znc.in]
growpotk- has joined #nixos
ThatDocsLady has joined #nixos
___laika has joined #nixos
clever has joined #nixos
clever has joined #nixos
clever has quit [Changing host]
zupo_ has quit [Ping timeout: 248 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @NinjaTrappeur closed pull request #64040 → systemd-networkd: Add wireguard-related options. → https://git.io/fjK82
v0|d has quit [Ping timeout: 244 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
hamishmack has joined #nixos
phreedom_ has quit [Remote host closed the connection]
phreedom has joined #nixos
hamishmack has quit [Client Quit]
<{^_^}> [nixpkgs] @primeos pushed 3 commits to master: https://git.io/fjbP8
abbradar has joined #nixos
<{^_^}> [nixpkgs] @j-piecuch closed pull request #63719 → lib: add applyOptional field to options, use it in mkAliasOptionModule (fixes #63693) → https://git.io/fjw5c
gxt has quit [Ping timeout: 260 seconds]
zupo has joined #nixos
___laika has quit [Ping timeout: 272 seconds]
Yakulu has left #nixos ["Error from remote client"]
blitzclone[m] is now known as blitzclone[m]1
growpotk- has quit [Quit: ZNC 1.7.4 - https://znc.in]
nexgen2 has joined #nixos
nexgen has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « android-studio: 3.4.2.0 -> 3.5.0.21 »: https://git.io/fjbPS
pie_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
nexgen2 has quit [Remote host closed the connection]
Makaveli7 has joined #nixos
nexgen2 has joined #nixos
dansho has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @delroth opened pull request #67184 → warsow,warsow-engine: fix mirror URL → https://git.io/fjbPA
nexgen2 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 245 seconds]
Makaveli7 has quit [Read error: Connection timed out]
Makaveli7 has joined #nixos
iyzsong has joined #nixos
<tilpner> grischeg: See systemd.tmpfiles.rules
Makaveli7 has quit [Client Quit]
Zer0xp has joined #nixos
<Zer0xp> Hey guys, what is the best PDF viewer y'all would recommend for NixOS ?
<ivan> I use chromium and okular
<ivan> I patch okular to make the zoom increments less annoying though
<Zer0xp> I'm looking for a standalone PDF viewer
<Zer0xp> I tried Adobe but the version is very old and it's having some issues rendering some documents.
<ivan> okular
alex`` has joined #nixos
<Zer0xp> Alright, I'll check it out.
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<Zer0xp> BTW, is there a simple way to install the latest version of an application ?
<infinisil> Zer0xp: I can recommend evince
<infinisil> Or zathura if you like vim
<Zer0xp> Cause a lot of packages in the Nix repository need to be updated
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/94b57741155 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
hamishmack has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<tilpner> Zer0xp: You can get the latest version by using unstable, the even more latest version by using master, and usually any version you want with overrideAttrs
an9wer has quit [Remote host closed the connection]
___laika has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #67156 → gnome3.tali: 3.32.0 -> 3.32.1 → https://git.io/fjbgU
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fjbXo
an9wer has joined #nixos
orivej has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<Zer0xp> tilpner: Can I use overrideAttrs with the stable version of NixOS ?
jtojnar has joined #nixos
<tilpner> Sure
<Zer0xp> Okay and how do I can implement this ?
<Zer0xp> do I implement*
fusion809 has quit [Remote host closed the connection]
<Zer0xp> tilpner: Could you give me an example for usage ?
<tilpner> Which package do you want to change the version of?
<Zer0xp> adobe-reader, for now
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Zer0xp> Actually, nevermind that, I just found out that that was the latest version from 6 years ago.
<tilpner> So 9.5.5-1 is the newest one?
<Zer0xp> Yes, it is.
<{^_^}> [nixpkgs] @xbreak opened pull request #67186 → libyamlcpp: Disable build & install of Google Test → https://git.io/fjbX5
<tilpner> Okay, another package?
<Zer0xp> tilpner: I assume Adobe has discontiued support for Linux.
<Zer0xp> Sure
<Zer0xp> postman
<tilpner> master has postman-7.0.7, and you want 7.5.0?
<Zer0xp> tilpner: Currently the NixOS package repositry has 6.7.3 so anything newer than that which can be installed would be great.
<tilpner> Wrong, your channel has 6.7.3, unstable has 7.0.7
<Zer0xp> Yea stable does
<Zer0xp> So I want the latest one without switching to unstable
<tilpner> Sure, do you know how to use overlays?
<Zer0xp> No
<tilpner> You are on NixOS, right? You can use nixpkgs.overlays to set overlays
<jophish> I'd like to use the aarch64 machine for some armv7 builds. Up until now I've been patching uname to return the correct machine type, but it sounds as though qemu might be a better way to go about this
<jophish> Does anyone have a qemu invocation which I could use to save me the trouble?
<Zer0xp> tilpner: Yes, I'm on NixOS. Do I add that in my configuration.nix file ?
<gchristensen> jophish: I've seen talkk about that in #nixos-aarch6
<gchristensen> 4
<jophish> I tried a few months ago, but ran into some qemu bug and was neglectful in saving the work I did :)
<jophish> gchristensen: I'll ask there too, thanks!
zmlww has quit [Quit: Bye!]
<tilpner> Zer0xp: Here is the overlay that will change postman to use 7.5.0: https://tx0.co/j9g
costrouc has joined #nixos
gxt has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Zer0xp> tilpner: Where do I add that overlay ?
<tilpner> Zer0xp: If you add nixpkgs.overlays = [ (import ./postman.nix) ]; to your configuration.nix, where postman.nix is the paste I just sent, using postman in users.users.zer0xp.pacages will use the overlayed package
bakakuna has joined #nixos
<tilpner> Zer0xp: I haven't run the updated postman, if it gained new dependencies, it will be much harder to update. That is mostly because postman is not built from source
___laika has quit [Ping timeout: 244 seconds]
<Zer0xp> tilpner: So do I replace ./postman.nix with the paste ?
domogled has quit [Ping timeout: 246 seconds]
<tilpner> Yes, that's what I said
Makaveli7 has joined #nixos
jollyjester has joined #nixos
<jollyjester> patchelf \ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
<jollyjester> i'm using this so i can execute a binary
<jollyjester> stat: No such file or directory
<jollyjester> and this is what i get
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Rakesh4G opened pull request #67187 → tiledb : init at 1.5.1 → https://git.io/fjb1z
<grischeg> tilpner: What do you mean by systemd.tmpfiles.rules ? I want to create a persistant storage.
Makaveli7 has quit [Quit: WeeChat 2.5]
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @vbgl merged pull request #66619 → coq: make version 8.9 the default one → https://git.io/fj5Ny
domogled has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed to master « coq: make version 8.9 the default one »: https://git.io/fjb1w
bakakuna has quit [Ping timeout: 246 seconds]
<tilpner> grischeg: Despite the name, tmpfiles can be used for persistent files/links/directories
hamishmack has joined #nixos
<hyper_ch2> can, can you create an overlay for a nixos module?
orivej has quit [Ping timeout: 248 seconds]
grischeg_ has joined #nixos
costrouc has quit [Ping timeout: 272 seconds]
<symphorien> jollyjester: $NIX_CC is only defined in a nix-shell iirc
grischeg has quit [Ping timeout: 258 seconds]
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
jgt has quit [Ping timeout: 250 seconds]
MarcWeber has quit [Ping timeout: 245 seconds]
vika_nezrimaya has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 1000 commits to openssl-1.1: https://git.io/fjbMr
Makaveli7 has joined #nixos
<gchristensen> globin++
<{^_^}> globin's karma got increased to 5
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
jollyjester has quit [Quit: leaving]
Makaveli7 has quit [Quit: WeeChat 2.5]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
costrouc has joined #nixos
domogled1 has joined #nixos
domogled has quit [Ping timeout: 246 seconds]
domogled1 is now known as domogled
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
cosimone has joined #nixos
___laika has joined #nixos
cosimone has left #nixos [#nixos]
ilikeheaps has quit [Ping timeout: 244 seconds]
xkapastel has joined #nixos
coderobe has quit [Remote host closed the connection]
costrouc has quit [Remote host closed the connection]
AluisioASG has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @gebner opened pull request #67189 → libheif: 1.4.0 -> 1.5.0 → https://git.io/fjbDf
AluisioASG has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to openssl-1.1 « Merge remote-tracking branch 'upstream/master' into openssl-1.1 »: https://git.io/fjbDU
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
<{^_^}> [nixpkgs] @das-g opened pull request #67190 → libosmium: 2.15.1 -> 2.15.2 → https://git.io/fjbDq
<{^_^}> [nixpkgs] @LouisDK1 opened pull request #67191 → MythTV 29.1 -> 30.0 → https://git.io/fjbDm
pie_ has quit [Ping timeout: 252 seconds]
pheoxy has quit [Quit: Leaving]
<vika_nezrimaya> hello :3 I'm preparing another patch for cross-compilation
gxt has quit [Ping timeout: 260 seconds]
<vika_nezrimaya> if this thing compiles correctly, I'm gonna be very happy... But! I haven't found a way to say "only set a custom configurePhase if a certain condition is met"
jgt has joined #nixos
<vika_nezrimaya> Can you please point me in the right direction? What is the default configurePhase? if I pass null, will it use the default?
rsoeldner has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli merged pull request #66762 → python3Minimal: Add top-level for a minimal Python 3 build → https://git.io/fjFf2
<{^_^}> [nixpkgs] @flokli pushed 9 commits to master: https://git.io/fjbDG
<tilpner> > { foo = 42; } // (lib.optionalAttrs true { bar = 21; })
rsoeldner has joined #nixos
<{^_^}> { bar = 21; foo = 42; }
<tilpner> > { foo = 42; } // (lib.optionalAttrs false { bar = 21; }
<{^_^}> error: syntax error, unexpected $end, expecting ')', at (string):263:1
<tilpner> > { foo = 42; } // (lib.optionalAttrs false { bar = 21; })
<{^_^}> { foo = 42; }
<tilpner> vika_nezrimaya: That's one way to set an attribute optionally
ilikeheaps has joined #nixos
<vika_nezrimaya> I think this is a great way to do what I need
orivej has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
jollyjester has joined #nixos
<jollyjester> ok i really don't get this
<jollyjester> all i'm trying to do is execute a binary
<jollyjester> but keep getting more errors out of it
zmlww has joined #nixos
<tilpner> Try throwing steam-run at it
<tilpner> Low effort, and might work
<tilpner> Install steam-run, then do "steam-run ./your-binary"
<vika_nezrimaya> I tried to launch appimages and electron apps that way
<jollyjester> hmmm ok
<vika_nezrimaya> (appimage-run doesn't always work)
<jollyjester> thanks for the suggestion
<tilpner> vika_nezrimaya: If it doesn't, add more libraries
rauno has quit [Ping timeout: 268 seconds]
drakonis_ has joined #nixos
<vika_nezrimaya> which is a weird way of saying "the AppImage doesn't follow the standard" I guess
<tilpner> > appimage-run.override { extraPkgs = p: with p; [ hello ]; }
<{^_^}> "<derivation /nix/store/f8m4xiyq8jh4fi8mmjb2hhqy0p8h7wz1-appimage-run.drv>"
<jollyjester> ok
<vika_nezrimaya> AppImages are supposed to have everything beyond a strictly-defined set of libraries inside
<jollyjester> so i used ldd on the binary
jmeredith has joined #nixos
<jollyjester> and it gives me a list of
<jollyjester> libraries to be installed
<jollyjester> how can i install them in one go
drakonis has quit [Ping timeout: 246 seconds]
<tilpner> vika_nezrimaya: Yes, the exclude list is not followed very closely
<tilpner> But appimage-run is a compatibility crutch anyway, so add whatever they ask for
<tilpner> jollyjester: Did steam-run not work?
___laika has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @gebner merged pull request #67189 → libheif: 1.4.0 -> 1.5.0 → https://git.io/fjbDf
<{^_^}> [nixpkgs] @gebner pushed 2 commits to staging: https://git.io/fjbDV
<hyper_ch2> can you override only packages or also nixos modules?
drakonis has joined #nixos
<tilpner> You can swap out both, but only packages have an overlay mechanism
<tilpner> To replace a module, you disable the old one with disabledModules and import your new one
<tilpner> But that is not elegant at all, and you need to be careful to still fulfill the old contract
<jollyjester> /nix/store/5dnpaira57ds0lj3s6qhlpl5xap15w18-steam-run: line 9: exec: ClassiCube: not found
ddellacosta has joined #nixos
<tilpner> jollyjester: Did you forget a ./ClassiCube?
<tilpner> Can't just do steam-run ClassiCube
<jollyjester> hmmmm
<jollyjester> then what do i use
<tilpner> ./ClassiCube
<tilpner> steam-run ./ClassiCube
<jollyjester> /nix/store/5dnpaira57ds0lj3s6qhlpl5xap15w18-steam-run: line 9: /home/eon/classicube/ClassiCube: No such file or directory
<jollyjester> hm
<{^_^}> [nixpkgs] @teto opened pull request #67192 → kernel: clearer origin for settings configuration → https://git.io/fjbD6
<tilpner> Paste entire shell session, with ls -lah before steam-run
<tilpner> ,paste
<{^_^}> Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<vika_nezrimaya> Is anything like `guix challenge` command planned in Nix? https://guix.gnu.org/manual/en/html_node/Invoking-guix-challenge.html
gxt has joined #nixos
<tilpner> vika_nezrimaya: I guess you can use https://github.com/grahamc/r13y.com in the same way
<sphalerite> vika_nezrimaya: nix-build --check compares a previous build to a new build of a derivation
<gchristensen> yikes
<sphalerite> but yeah, guix has lots of tools which are nicer than nix's x)
<tilpner> sphalerite: This seems more advanced than just --check
kfound has joined #nixos
rsoeldner has quit [Ping timeout: 258 seconds]
<tilpner> sphalerite: If I interpret it correctly, it can compare two caches, which we have no tooling for
<gchristensen> vika_nezrimaya: what is the important part of "challenge" that you're looking for?
<gchristensen> comparing hashes of two caches? or checking to see if a specific build is reproducible? or
<sphalerite> tilpner: yeah, we don't have any tooling for it, but it's still possible
<gchristensen> (we jumped to assuming the exact behavior of `challenge` is the important part)
<gchristensen> `guix challenge` is cute, you can see it doesn't do anything but check narinfo files
ryantrinkle has quit [Ping timeout: 268 seconds]
rsoeldner has joined #nixos
<tilpner> That reminds me, have you had a chance to run grahamc/r13y.com#9 yet?
<{^_^}> https://github.com/grahamc/r13y.com/pull/9 (by tilpner, 2 weeks ago, open): Refactor, add CLI
<vika_nezrimaya> gchristensen: checking reproducibility of builds is the intention. That's a sign that (if the package build is indeed reproducible) the substitute server isn't doing anything malicious. That'll be slow though :3
<vika_nezrimaya> Hm
<gchristensen> vika_nezrimaya: right, so I run r13y.com which works on this
<vika_nezrimaya> Maybe run the build three times - two local builds and one substitute fetch and compare all three
<vika_nezrimaya> if two local builds are different, package is not reproducible. If the substitute is different and local builds are identical, means substituter is evil :3
<gchristensen> not necessarily, no
<tilpner> vika_nezrimaya: Two consecutive local builds won't even catch an embedded date
<gchristensen> two local builds won't catch detected CPU features
<tilpner> You need different dates at least, and different machines
<gchristensen> and different kernels
<tilpner> (Ideally different years, but that's asking a bit much)
<tilpner> (When's that time namespacing coming to Linux again?)
<vika_nezrimaya> so r13y runs builds on two separate servers?
<vika_nezrimaya> or do you cheat and use QEMU? :3
<drakonis> soon i think?
<tilpner> vika_nezrimaya: It compares against Hydra builds, which run on different machines
<gchristensen> vika_nezrimaya: r13y.com runs builds only once, on one system. the second build it is compared against is from the nixos binary cache
<drakonis> it came up again in the mailing lists this year
<tilpner> Time namespacing would eliminate the entire class of "oh no, they embedded the date in the manpages again"
<gchristensen> not if you want reproducible builds on macos too
<tilpner> But of course it'll be a while until it's in linuxPackages_latest, used by Nix, and all the builders have a supported kernel :/
<gchristensen> (in other words, doing the hard work pays off elsewhere)
<Baughn> Today's mystery. (I'm probably failing to read this correctly.)
<drakonis> until apple breaks everything up?
<Baughn> On channel:nixos-19.03, `nix build -f nixos/tests/zfs.nix` succeeds, but `nix build -f nixos/tests/zfs.nix stable` fails with an SPL build error.
<Baughn> But the latter should be a subset of the former?
<Baughn> Lest you think it's just not running the tests, in the former case... no, it's running the tests. I can see the output.
<Baughn> (Also, I can use `nix build -f channel:nixos-19.03 hello` to get a copy of GNU Hello, mail client included. But how on earth do I refer to nixos/tests/zfs.nix inside that channel?)
<drakonis> the current time namespace patchset
bakakuna has joined #nixos
<drakonis> looks like its nearly merged
Yakulu has joined #nixos
<tilpner> Baughn: You could do nix-build channel:nixos-19.03 -A nixosTests.zfs.stable if that test was listed in all-tests.nix
<gchristensen> Baughn: I also have problems with spl
<tilpner> drakonis: Thanks for checking!
<drakonis> and there's a new namespace for symbols now
<Baughn> gchristensen: It isn't compatible with the current linuxPackages_latest, i.e. the 5.2 kernel.
<Baughn> Because the kernel devs keep trying to break it.
ddellacosta has quit [Ping timeout: 246 seconds]
<gchristensen> cool cool cool
<drakonis> zfs has a complicated relationship with the kernel devs
<gchristensen> I know
<gchristensen> not great
<Baughn> Which doesn't explain why the overall test file somehow succeeds, yet the component tests don't.
<tilpner> Baughn: nix-build -I nixpkgs=channel:nixos-19.03 '<nixpkgs/nixos/tests/zfs.nix>' -A stable
<Baughn> tilpner: That.. makes sense. More sanity than I was honestly expecting.
coderobe has joined #nixos
<Baughn> Hmm
<Baughn> gchristensen: Also the ZFS devs merged the SPL and ZFS modules. I'm not sure we should still be building the former at all.
<gchristensen> Baughn: on 0.7 we should, on 0.8 we should not
<drakonis> linux has header namespaces now, how exciting.
<Baughn> gchristensen: That's the thing, then? The 0.8 test _still fails with an SPL build error_.
<gchristensen> Baughn: I don't know, but the merge of SPL in to ZFS happened in 0.8
<{^_^}> [nixpkgs] @flokli merged pull request #45392 → nixos/wireguard: setup interface with systemd-networkd → https://git.io/fAfSq
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/fjbyG
<Baughn> Or, hmm.
<Baughn> Okay, it actually passes on master. Let me check 19.03 again.
<hyper_ch2> 0.8 didn't get backported to 19.03 right?
<tilpner> hyper_ch2: It did, but only as zfsUnstable
<tilpner> hyper_ch2: Did you get my reply above?
<tilpner> (The one about modules, not zfs)
<Baughn> Seems to be... ah. I was using an old copy of 19.03, and it got fixed recently.
<hyper_ch2> tilpner: I did, thx
<Baughn> The 'stable' test still fails, since it uses a 5.2 kernel.
coderobe has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @kisik21 opened pull request #67202 → uwimap: Fixed cross-compilation → https://git.io/fjby4
<{^_^}> [nixpkgs] @danbst merged pull request #57429 → nginx: expose generated config and allow nginx reloads → https://git.io/fhjli
<{^_^}> [nixpkgs] @danbst pushed to master « nginx: expose generated config and allow nginx reloads (#57429) »: https://git.io/fjbyB
waleee-cl has joined #nixos
v0|d has joined #nixos
<vika_nezrimaya> Continuing to push cross-compilation fixes
hyper_ch2 has quit [Remote host closed the connection]
coderobe has joined #nixos
<{^_^}> [nixpkgs] @danbst closed pull request #24476 → nginx service: reload instead of restart → https://git.io/vSnGj
<{^_^}> [nixpkgs] @Baughn opened pull request #67203 → zfs-test: Allow overriding kernel packages → https://git.io/fjbyR
<Baughn> ...well, this should do the trick.
<Baughn> Slightly suspicious I may be the only person ever to make use of it, but ah well.
<grischeg_> tilpner: oh, thanks!
<Baughn> (I'd like for nixos-rebuild to run relevant tests for the new configuration, using the user config as far as possible. One day.)
<vika_nezrimaya> Baughn: if this is about your pull request - I feel the same with my fixes. Who cross-compiles Nixpkgs this day except me?
<Baughn> Well, there's Kim. He's not in this channel though. :P
<gchristensen> vika_nezrimaya: for one example, the author of all the existing (extensive) cross compilation code does
<gchristensen> so does his coworkers
<Baughn> (Guy I know that's attempting to run NixOS on his collection of raspberries.)
jgt has joined #nixos
<vika_nezrimaya> so I'm not the only one having a dream about Nix-powered Raspberry Pi garden
<vika_nezrimaya> glad to know
<Baughn> You're not. Want me to introduce you?
bakakuna has quit [Ping timeout: 272 seconds]
jollyjester has quit [Ping timeout: 246 seconds]
<vika_nezrimaya> Probably?
<vika_nezrimaya> Sharing experience is always nice
<Baughn> Can you join irc.rizon.net #nanoha? He's not around right now, so that'd be easier. ...also it's a quieter channel.
kfound has quit [Ping timeout: 248 seconds]
kfound has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
<vika_nezrimaya> Baughn: I'll need to retrieve my password
<vika_nezrimaya> this could take a little while
grischeg has joined #nixos
<Baughn> vika_nezrimaya: You could just use a different nick. XD
<vika_nezrimaya> I want to group it with my previous nick I've used
<vika_nezrimaya> :3
<sphalerite> vika_nezrimaya: Baughn: I'm also interested in cross-compiling nixos
<sphalerite> hm maybe a github team for it would be nice?
grischeg_ has quit [Ping timeout: 246 seconds]
<vika_nezrimaya> If you'll make a github team, I'm in!
ryantrinkle has joined #nixos
domogled has quit [Ping timeout: 245 seconds]
hyper_ch2 has joined #nixos
bakakuna has joined #nixos
<vika_nezrimaya> Baughn: I'm in the channel
<vika_nezrimaya> my old nick was deregistered for inactivity lol
<vika_nezrimaya> so I quickly registered my new one
bakakuna has quit [Client Quit]
hodlwave_ has joined #nixos
___laika has joined #nixos
bakakuna has joined #nixos
johnw has quit [Ping timeout: 250 seconds]
dongcarl has quit [Ping timeout: 250 seconds]
chrisaw has quit [Ping timeout: 250 seconds]
{^_^} has quit [Ping timeout: 250 seconds]
CMCDragonkai has quit [Ping timeout: 250 seconds]
manveru has quit [Ping timeout: 250 seconds]
lightbulbjim has quit [Ping timeout: 250 seconds]
CMCDragonkai has joined #nixos
chrisaw has joined #nixos
johnw has joined #nixos
jgt has joined #nixos
hodlwave has quit [Read error: Connection reset by peer]
szicari has quit [Ping timeout: 250 seconds]
georgew has quit [Ping timeout: 250 seconds]
nlofaro has quit [Ping timeout: 250 seconds]
sethetter has quit [Ping timeout: 250 seconds]
teej has quit [Ping timeout: 250 seconds]
sevanspowell has quit [Ping timeout: 250 seconds]
nkaretnikov has quit [Ping timeout: 250 seconds]
iqubic has quit [Read error: Connection reset by peer]
devalot has quit [Remote host closed the connection]
devalot has joined #nixos
marcinkuzminski has quit [Ping timeout: 250 seconds]
alunduil has quit [Ping timeout: 250 seconds]
ProofTechnique has quit [Ping timeout: 250 seconds]
brycec-M has quit [Ping timeout: 250 seconds]
typetetris has quit [Ping timeout: 250 seconds]
lstanley has quit [Ping timeout: 250 seconds]
TallerGhostWalt has quit [Ping timeout: 250 seconds]
Okinan has quit [Ping timeout: 250 seconds]
jmeredith has quit [Ping timeout: 250 seconds]
heatm1s3r has quit [Ping timeout: 250 seconds]
digitalgrease has quit [Ping timeout: 250 seconds]
witchof0x20 has quit [Ping timeout: 250 seconds]
jackdk has quit [Ping timeout: 250 seconds]
sorear has quit [Ping timeout: 250 seconds]
jw358 has quit [Ping timeout: 250 seconds]
carter has quit [Ping timeout: 250 seconds]
techtangents has quit [Ping timeout: 250 seconds]
Kim has quit [Ping timeout: 250 seconds]
no-n has quit [Ping timeout: 250 seconds]
steveeJ has quit [Ping timeout: 250 seconds]
judson__ has joined #nixos
judson_ has quit [Ping timeout: 250 seconds]
lopsided98 has quit [Ping timeout: 250 seconds]
daurnimator has quit [Ping timeout: 250 seconds]
nand0p has quit [Ping timeout: 250 seconds]
r0bby has quit [Ping timeout: 250 seconds]
jeregrine has quit [Ping timeout: 250 seconds]
bitonic has quit [Ping timeout: 250 seconds]
gleber_ has quit [Ping timeout: 250 seconds]
Okinan has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
digitalgrease has joined #nixos
marcinkuzminski has joined #nixos
domogled has joined #nixos
witchof0x20 has joined #nixos
nlofaro has joined #nixos
nkaretnikov has joined #nixos
ProofTechnique has joined #nixos
typetetris has joined #nixos
o1lo01ol1o has joined #nixos
georgew has joined #nixos
iqubic has joined #nixos
Mister_Magister has quit [Ping timeout: 248 seconds]
dongcarl has joined #nixos
TallerGhostWalt has joined #nixos
no-n has joined #nixos
heatm1s3r has joined #nixos
nand0p has joined #nixos
sethetter has joined #nixos
jmeredith has joined #nixos
sorear has joined #nixos
carter has joined #nixos
lopsided98 has joined #nixos
manveru has joined #nixos
zgrep has quit [Ping timeout: 250 seconds]
vdemeester has quit [Ping timeout: 250 seconds]
alunduil has joined #nixos
r0bby has joined #nixos
bitonic has joined #nixos
{^_^} has joined #nixos
jeregrine has joined #nixos
steveeJ has joined #nixos
lstanley has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
gleber_ has joined #nixos
zgrep has joined #nixos
jackdk has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
drewr has quit [Ping timeout: 245 seconds]
xacktm has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
freeman42x[m] has joined #nixos
szicari has joined #nixos
Mister_Magister has joined #nixos
freeman[w]__ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @mmahut merged pull request #67184 → warsow,warsow-engine: fix mirror URL → https://git.io/fjbPA
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fjbSe
vdemeester has joined #nixos
freeman42x[m] has quit [Client Quit]
freeman42x[m] has joined #nixos
techtangents has joined #nixos
jw358 has joined #nixos
lightbulbjim has joined #nixos
kfound has left #nixos [#nixos]
teej has joined #nixos
sevanspowell has joined #nixos
Kim has joined #nixos
grischeg has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @jtojnar opened pull request #67204 → libical: → https://git.io/fjbST
mrCyborg has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
mrCyborg has joined #nixos
sevanspowell has quit [Ping timeout: 250 seconds]
techtangents has quit [Ping timeout: 250 seconds]
jw358 has quit [Ping timeout: 250 seconds]
sevanspowell has joined #nixos
techtangents has joined #nixos
jw358 has joined #nixos
Kim has quit [Ping timeout: 250 seconds]
dasj19 has quit [Quit: dasj19]
<{^_^}> [nixpkgs] @primeos opened pull request #67205 → ffmpeg-full: 4.1.4 -> 4.2 → https://git.io/fjbSm
jasonrm_ has joined #nixos
<vika_nezrimaya> Does uwimap even have a maintainer? I wasn't able to find them listed in meta.maintainers :c
__monty__ has joined #nixos
aswanson has quit [Ping timeout: 250 seconds]
<gchristensen> then no :)
ericsagnes has quit [Ping timeout: 250 seconds]
Ultrasauce has quit [Ping timeout: 250 seconds]
drvirgilio has quit [Ping timeout: 250 seconds]
jasonrm has quit [Ping timeout: 250 seconds]
<vika_nezrimaya> first lua turns out to be orphaned, then uwimap
Ultrasauce has joined #nixos
<vika_nezrimaya> at least freetalk seems to have a maintainer
<vika_nezrimaya> I'm gonna ping them once I get a successful build
drvirgilio has joined #nixos
mingc has quit [Ping timeout: 250 seconds]
aswanson has joined #nixos
<vika_nezrimaya> Question about PHP. mhash module is obsolete, why we're building PHP with it by default? Asking because cross-compilation of said module is broken :3
<{^_^}> [nixpkgs] @basvandijk merged pull request #66728 → rls: tie version to rustc's → https://git.io/fjdPh
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fjbSs
drewr has joined #nixos
mingc has joined #nixos
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @flokli opened pull request #67206 → WIP: oracle-instantclient: 12.2.0.1.0 -> 19.3.0.0.0 → https://git.io/fjbSW
abbradar has quit [Ping timeout: 250 seconds]
Zer0xp has quit [Quit: WeeChat 2.4]
Kim has joined #nixos
___laika has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @ajs124 closed pull request #59652 → sndio init and add support → https://git.io/fjYLY
<srhb> vika_nezrimaya: You're probably best off asking someone who touched it directly recently :)
ericsagnes has joined #nixos
<aanderse> vika_nezrimaya: probably just slipped by the radar, but @etu would know for sure
<aanderse> he's currently on vacation, so i'll take a look
<srhb> aanderse++
<{^_^}> aanderse's karma got increased to 12
<vika_nezrimaya> I just don't wanna fix it! but if it's used by anything important in Nixpkgs (especially if I use it) I'll look into fixing it
iyzsong has quit [Ping timeout: 264 seconds]
<vika_nezrimaya> I'm no PHP gal though
wolke has quit [Quit: ZNC 1.7.4 - https://znc.in]
<vika_nezrimaya> oh wait I think it could build rn
<vika_nezrimaya> It definitely failed for me last time, maybe something changed
<vika_nezrimaya> yep, fail
<vika_nezrimaya> it could be a quick fix though, I know how to fix it.
<etu> vika_nezrimaya: It's probably enabled by default because nobody have disabled it. Please file a PR :)
<vika_nezrimaya> etu: will do! if my current build of freetalk succeds and I could file a PR about that
<aanderse> line 20: , mhashSupport ? config.php.mhash or true
<etu> aanderse: We're at a hacker camp, we have wifis and 10G internet to the tent
<aanderse> looks like that should just be "or false"
<aanderse> etu: :-O wow!
<etu> yes, fiber to the tent :)
<aanderse> 10G internet is enough for everyone to share! :D
wolke has joined #nixos
<aanderse> you don't have any hardware that can actually operate at that speed though, do you? because if you did... ^_^
<vika_nezrimaya> aanderse: "x or false" == x
daurnimator has joined #nixos
<aanderse> vika_nezrimaya: ... sorry ha ha ha, too many things on the go at the moment :)
<sphalerite> vika_nezrimaya: no, that's ||
<infinisil> > { }.foo or false
<{^_^}> false
<sphalerite> vika_nezrimaya: `or` is for if-the-set-doesn't-contain-that
<aanderse> setting up a few php nixos boxes at the moment
<aanderse> my devs are shouting "where the heck is php.ini!?"
<aanderse> having to symlink
<aanderse> make people happy
<vika_nezrimaya> php.ini... I only had to tinker with it once - when I configured owncloud on gentoo
drewr has quit [Remote host closed the connection]
<Ariakenom> hi, I'm trying to do nix pill #11 but I can't seem to get graphviz to accept a png
<{^_^}> Ariakenom: 15 weeks, 1 day ago <tilpner> You can use nix-env -q to check what's installed in your nix-env environment
<{^_^}> https://github.com/NixOS/nixpkgs/pull/11 (by garbas, 7 years ago, closed): gimp 2.8
freeman[w] has joined #nixos
<drakonis> #1
<tilpner> infinisil: ^ huh?
<tilpner> Oh
<drakonis> #2
<drakonis> its not finding the first PR
<drakonis> how strange?
<tilpner> Blacklisted
<Ariakenom> thanks tilpner. whatever my question was back then :p
<infinisil> Yeah numbers below #10 are blacklisted
<{^_^}> https://github.com/NixOS/nixpkgs/pull/10 (by garbas, 7 years ago, closed): afew and alot updates
Zer0xp has joined #nixos
Zer0xp has quit [Client Quit]
cizra has quit [Remote host closed the connection]
veske has quit [Ping timeout: 248 seconds]
<vika_nezrimaya> guile seems to be slow to compile
<vika_nezrimaya> I think I could make some food in this time
dazage has quit [Quit: WeeChat 1.9.1]
cizra has joined #nixos
drewr has joined #nixos
iqubic has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
<{^_^}> [nixpkgs] @kisik21 opened pull request #67207 → freetalk: fixed cross-compilation → https://git.io/fjb9c
<vika_nezrimaya> boom! another one!
<vika_nezrimaya> I hope I'm not doing it too fast
Ariakenom has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar merged pull request #67071 → nixos/fontconfig: harmonize with penultimate → https://git.io/fjbLv
<{^_^}> [nixpkgs] @jtojnar pushed 6 commits to master: https://git.io/fjb9g
___laika has joined #nixos
<freeman[w]> someone help please :( https://i.imgur.com/I6hmlOI.png
drisc has quit [Quit: ZNC - https://znc.in]
erasmas has joined #nixos
GiGa has joined #nixos
GiGa has joined #nixos
GiGa has quit [Changing host]
boxscape has joined #nixos
<GiGa> G'day
<GiGa> Anyone using LVM with an SSD cache in their NixOS environment?
rauno has joined #nixos
<tilpner> freeman[w]: nc termbin.com 9999 < /etc/nixos/hardware*
<tilpner> Add a /mnt there
<vika_nezrimaya> etu: aanderse: testing the new PHP change using nix-review. I'm really paranoid about breaking packages 😓
<vika_nezrimaya> this is my first time actually doing this...
mawis has joined #nixos
wfranzini has quit [Remote host closed the connection]
<vika_nezrimaya> does nix-review require a lot of disk space on /nix/store?
<GiGa> vika_nezrimaya: What version of php / change is it that you're making?
<vika_nezrimaya> I'm disabling mhash in PHP globally by default as it is obsolete. The reasoning will be provided in the PR, assuming that the nix-review part will not fail
Lears has joined #nixos
<aanderse> vika_nezrimaya: sounds good, just cc me when you open the PR :)
<GiGa> vika_nezrimaya: Sounds good
Ariakenom has joined #nixos
<vika_nezrimaya> aanderse: ok :3
___laika has quit [Ping timeout: 244 seconds]
dasj19 has joined #nixos
fendor has joined #nixos
<sphalerite> freeman[w]: A, did you use nixos-generate-config --root /mnt, and B, is hardware-configuration.nix still in the imports in configuration.nix?
vika_nezrimaya has quit [Read error: Connection reset by peer]
vika_nezrimaya has joined #nixos
<freeman[w]> tilpner, sphalerite I made a lot of changes using gparted so I got different issues now :( but I still can't get correct way to insall NixOS, the install instructions do not work
chkno has joined #nixos
<vika_nezrimaya> it seems like my machine is gonna OOM
<vika_nezrimaya> Or it alrwady did
<sphalerite> freeman[w]: you'll need to be more specific about how it doesn't work for us to be able to help you
<vika_nezrimaya> no, it didnt yet
<{^_^}> [nixpkgs] @flokli merged pull request #66622 → [19.03] gitlab updates → https://git.io/fj5A0
<{^_^}> [nixpkgs] @flokli pushed 23 commits to release-19.03: https://git.io/fjbHk
<{^_^}> [nixpkgs] @abbradar merged pull request #67150 → thermald: 1.8 -> 1.9 → https://git.io/fjbu9
<{^_^}> [nixpkgs] @abbradar pushed commit from @r-ryantm to master « thermald: 1.8 -> 1.9 »: https://git.io/fjbHI
<vika_nezrimaya> seems like nix-review requires lots of RAM
<vika_nezrimaya> More than I have
<freeman[w]> sphalerite, "you'll need to be more specific about how it doesn't work for us to be able to help you" D'oh! for now I'm trying to figure it out myself, will ask when I got something concrete
<GiGa> vika_nezrimaya: How much RAM do you have?
<vika_nezrimaya> 6G
<sphalerite> freeman[w]: aah ok :)
<vika_nezrimaya> +4G swap on a rwally slow drive
<freeman[w]> like for example: is there any tutorial for installing NixOS that works and is using Gparted for formatting?
<freeman[w]> preferably for installing in a virtual machine - not sure if the BIOS is UEFI or MBR
<GiGa> freeman[w]: Sounds like what you're after is a separate Gparted tutorial?
<vika_nezrimaya> @freeman usually if your VM has UEFI you'll know about it :3
<vika_nezrimaya> so it probably is BIOS
<freeman[w]> GiGa, no, I know how to use Gparted, I do not know what NixOS wants me to partition though
<GiGa> vika_nezrimaya: What is it you're trying to run nix-review on? I have 18GB RAM here
<vika_nezrimaya> GiGa: I... toggled one option on PHP
<GiGa> freeman[w]: In my experience, NixOS doesn't care so long as you have one at least one partition as you just install everything in that
<GiGa> vika_nezrimaya: If you've got a repo I can check out, and can tell me how to run nix-review I'm happy to see if 18GB is enough? Feel free to /msg me.
<vika_nezrimaya> @freeman I'd recommend doing one for / (at least 64G, more if you want to do a lot of builds) and one for /home
<freeman[w]> GiGa, I tried a bunch of combinations, trying to copy as well as possible what the manual says with Gparted since just running the manual commands failed
mexisme has joined #nixos
<freeman[w]> vika_nezrimaya, it's a VM so I do not care about having a /home one
<vika_nezrimaya> GiGa: oh, seems like the memory-bound part is over
<vika_nezrimaya> @freeman then create one big lumpy / partition formatted as ext4
<GiGa> vika_nezrimaya: Okies, no worries
<GiGa> freeman[w]: I concur with @vika_nezrimaya
<GiGa> freeman[w]: What actually fails?
<vika_nezrimaya> sorry what does concur mean?
<Taneb> vika_nezrimaya: "agree"
<vika_nezrimaya> thank you
* GiGa nods
orivej has joined #nixos
<freeman[w]> a wild error appears: https://i.imgur.com/axXbQeX.png
mexisme has quit [Ping timeout: 268 seconds]
<GiGa> freeman[w]: That's not down to your partitioning, that's your configuration.nix
<clever> freeman[w]: what is the contents of your configuration.nix?
<GiGa> freeman[w]: can you put it on pastebin or something for us? Your configuration can't be built as there's an issue with your display-manager choice by the looks of it (correct me if I'm wrong @clever )
<clever> freeman[w]: you didnt set services.xserver.enable
lambda-11235 has joined #nixos
judson has joined #nixos
judson_ has joined #nixos
<freeman[w]> oh god :( https://i.imgur.com/EaHlULB.png
<clever> freeman[w]: what fs did you use for /boot ?
<freeman[w]> clever, fat32
<clever> freeman[w]: what was boot.loader.grub.device set to?
<freeman[w]> clever, crap, it wasn't set probably
<clever> freeman[w]: you can just mount things again, fix the config, and re-run nixos-install
<freeman[w]> clever, I'll try that
<freeman[w]> clever, do I need to do nixos-install or nixos-rebuild switch?
<clever> nixos-install
<niso> question regarding hydra: meta.timeout only effects the project, not it's inputs right?
<clever> niso: yeah, and in some cases, it doesnt work at all
rsoeldner has quit [Remote host closed the connection]
<{^_^}> hydra#591 (by cleverca22, 50 weeks ago, open): meta.timeout does not always work
<niso> clever: means if my nixpkgs-channels input times out i'm out of luck?
<niso> (after about 15mins?)
Gilfoyle- is now known as aleoh-
<clever> niso: it will use the default timeout of the machine doing the build
<clever> [root@amd-nixos:~]# nix show-config | grep timeout
<clever> timeout = 0
<clever> which is probably no timeout
selfsymmetric-pa has joined #nixos
<niso> yep, means there is another reason it times out?
<clever> what is the full output when it does fail?
<freeman[w]> clever, another error: https://i.imgur.com/3vkgu8w.png
<clever> freeman[w]: ls -l /dev/disk/by-partlabel/boot and fdisk -l /dev/sda
<clever> freeman[w]: and `blkid /dev/sda*
<{^_^}> [nixpkgs] @primeos pushed to master « meguca: Mark as broken »: https://git.io/fjbHy
<freeman[w]> clever, https://i.imgur.com/n5QpyQX.png
<clever> freeman[w]: sda3 is the bios boot, that should never be mounted
<clever> freeman[w]: bios boot should be ~1mb, it has no fs, and cant be mounted
<clever> freeman[w]: and thats seperate from the /boot partition
<freeman[w]> clever, I don't understand what that implies :(
<clever> grub destroyed the /boot because you have the wrong partition type code on /boot
<freeman[w]> sorry but I have to go home now
drakonis has quit [Quit: WeeChat 2.5]
<clever> freeman[w]: you need to delete sda3, then make a 3&4, one is /boot, the other is bios boot
<clever> freeman[w]: bios boot must be 1mb
<freeman[w]> ty for the help clever++
<{^_^}> clever's karma got increased to 174
mawis has quit [Quit: WeeChat 2.4]
<clever> niso: thats a curl timeout, while downloading channels, not a nix build timeout
mawis has joined #nixos
<niso> clever: yes, which is why i asked whether it's effected by the packages timeout
<clever> niso: yeah, that has its own timeout
<clever> it may not have config options for it
<niso> by chance you know where?
__monty__ has quit [Ping timeout: 248 seconds]
GiGa has quit [Quit: Leaving]
<clever> niso: is there more output, what command did you run, what did it print before and after that error?
__monty__ has joined #nixos
<niso> not in the webui. The error is caused by the job input: name="nixpkgs" type="git checkout" value="https://github.com/NixOS/nixpkgs-channels nixos-19.09"
<clever> niso: oh, this is in a hydra input, thats not channel related then
drakonis has joined #nixos
<{^_^}> [nixpkgs] @abbradar pushed to master « python3.pkgs.crc16: init at 0.1.1 »: https://git.io/fjbH5
<niso> sorry, should have made this more clear
<clever> niso: this is the code that downloads the build inputs
<clever> niso: first thing i would check, can you just `curl https://github.com` from the hydra machine, if you ssh in?
emptyflask has joined #nixos
<niso> clever: yes
<niso> works as expected
sigmundv_ has quit [Ping timeout: 245 seconds]
<clever> niso: all i can think of is to clear the cache in /var/lib/hydra/scm/git and try again
drakonis_ has quit [Ping timeout: 268 seconds]
<niso> clever: alright thanks, i'll give it a try
drakonis has quit [Ping timeout: 250 seconds]
selfsymmetric-pa has quit [Remote host closed the connection]
bakakuna has quit [Quit: bakakuna]
bakakuna has joined #nixos
ixxie has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
wildtrees has joined #nixos
vmandela has joined #nixos
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos
alex`` has joined #nixos
<alj[m]> Hey everyone!
<alj[m]> Anyone know how to use git over ssh with gitea? I'm using gitea behind nginx and I cant quite figure out how to make it work
hamishmack has joined #nixos
<benley> is anyone else seeing issues connecting to cache.nixos.org today?
<benley> I can't figure out if there is something up with my connection or if it's elsewhere
drakonis has joined #nixos
<benley> ohhh nevermind, I think it's some ipv6 bullshit in verizon's network
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @evanjs opened pull request #67209 → gitkraken: 6.1.3 -> 6.1.4 → https://git.io/fjbQO
zmlww has quit [Quit: Bye!]
pie_ has joined #nixos
<hpfr[m]> Is it possible to override a kernel config option with extraConfig, or can you only add non default ones? In the generic.nix file it looks like it does a simple concatenation
<{^_^}> [nixpkgs] @wkral closed pull request #66607 → vim: 8.1.1547 -> 8.1.1845 → https://git.io/fj5Hd
<{^_^}> [nixpkgs] @globin pushed 2 commits to openssl-1.1: https://git.io/fjbQc
vmandela has left #nixos ["Leaving"]
<{^_^}> [nixpkgs] @globin pushed to openssl-1.1 « xpwn: bump to commit including openssl 1.1 support »: https://git.io/fjbQ0
zmlww has joined #nixos
<exarkun> Why doesn't stack find zlib.h? Doesn't stack magically know how to do everything in nixos?
zmlww is now known as zfnmxt
<srhb> exarkun: Nope, it does not
zfnmxt has quit [Changing host]
zfnmxt has joined #nixos
<clever> exarkun: you have to add zlib to the buildInputs in the shell.nix file stack is told to use
<exarkun> That hardly seems magical at all
vmandela has joined #nixos
<srhb> exarkun: It's a less useful feature than one might imagine. Partially because it's poorly advertised what it actually does by default.
<{^_^}> [nixpkgs] @timokau merged pull request #67158 → sympow: 2.023.4 -> 2.023.5 → https://git.io/fjb2c
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fjbQa
zfnmxt has quit [Client Quit]
freeman42x[m] has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
zmlww has joined #nixos
___laika has joined #nixos
dbmikus_ has joined #nixos
<niso> exarkun: adding the following to your stack.yaml should do the trick too: http://paste.debian.net/1096854/
zmlww has quit [Client Quit]
<exarkun> niso: Thanks. Does having a `nix` section make any difference to anyone using stack on not-NixOS?
zfnmxt has joined #nixos
<niso> exarkun: idk
<niso> exarkun: there is also a --nix cli parameter for stack
pie_ has quit [Ping timeout: 250 seconds]
shibboleth has joined #nixos
endformationage has joined #nixos
fresheyeball has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fresheyeball> anyone have experience with bluetooth on nixos?
<fresheyeball> I am considering getting bluetooth headphones for my desktop computer, but I am worried it's going to be bigtime pain
<zfnmxt> fresheyeball: I have them, it's basically zero config and just works.
<devalot> fresheyeball: I use KDE + xmonad and bluetooth works great for me.
<zfnmxt> devalot: How do you handle disconnecting/reconnecting?
<devalot> zfnmxt: What do you mean? Pulseaudio automatically switches to the most recently connected device (most of the time)
<fresheyeball> devalot: hiya!
<devalot> fresheyeball: Howdy!
bakakuna has quit [Ping timeout: 258 seconds]
hamishmack has joined #nixos
<zfnmxt> I meant literally how do you connect.
<exarkun> fresheyeball: My experience is also that it mostly just works. I did have to run a bluetoothctl once in a while when a device really wanted to be paired with my phone instead of my laptop but it's not too bad.
<exarkun> (then I switched to wired headset)
<zfnmxt> e.g. I use bluetoothctl with an xmonad binding. Since you're also on xmonad, was just curious.
johnw has quit [Ping timeout: 264 seconds]
<exarkun> niso: Thanks
<devalot> I let KDE and pulseaudio do most of the work.
<niso> exarkun: yw
<devalot> If I want to change to another device I use the bluetooth widget in the status bar/panel.
o1lo01ol1o has quit [Remote host closed the connection]
<zfnmxt> Oh, right.
<fresheyeball> how do I find out what my motherboard model?
<fresheyeball> is there a cli way?
<fresheyeball> nevermind
<fresheyeball> I did nix-shell -p hardinfo --command hardinfo
fendor has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @kisik21 opened pull request #67212 → php: disable mhash → https://git.io/fjbQQ
MarcWeber has joined #nixos
nabla has joined #nixos
srl295 has joined #nixos
Thra11 has joined #nixos
averell has quit [Ping timeout: 272 seconds]
tpanum- has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #67213 → nixos: adding jormungandr service → https://git.io/fjbQj
<{^_^}> [nixpkgs] @lsix merged pull request #67133 → python3Packages.xdis: 4.0.1 -> 4.0.3 → https://git.io/fjb0q
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/fjb7e
tpanum has quit [Ping timeout: 244 seconds]
ixxie has quit [Ping timeout: 248 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amir has quit [Remote host closed the connection]
nabla has quit [Quit: WeeChat 2.4]
<Thra11> If I boot the nixos sd-image, then copy the image to some internal storage, is it possible to re-trigger the autoResize bit that resizes the partition to fill the disk?
amir has joined #nixos
<clever> ,locate growpart
<{^_^}> Found in packages: cloud-utils
<clever> Thra11: you probably want that util
<Thra11> How does the x-nixos.autoresize get set and unset, such that it only happens on first boot?
<clever> Thra11: it may have been set when building the image, but is not present in the configuration.nix included inside the image
<clever> so when you nixos-rebuild, it vanishes
nabana has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #66454 → libressl: build libcrypto with noexecstack → https://git.io/fj7Mn
<{^_^}> [nixpkgs] @matthewbauer pushed 5 commits to master: https://git.io/fjb7O
hamishmack has joined #nixos
vmandela has quit [Quit: Leaving]
<samueldr> basically, a bunch of assumptions
<samueldr> "if it looks like the image is still pristing and not rehydrated, rehydrate it and resize it"
<samueldr> and by rehydrating, I mean the thing about nix-store --load-db
<samueldr> still pristine*
<samueldr> the sd image doesn't use the x-nixos.autoresize thing... though interesting to know it exists
vika_nezrimaya has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
freeman[w]_ has joined #nixos
<{^_^}> [nixpkgs] @WilliButz merged pull request #67209 → gitkraken: 6.1.3 -> 6.1.4 → https://git.io/fjbQO
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fjb7c
<Thra11> Hmm. Probably simplest to go and find my eMMC USB adaptor and do it properly
o1lo01ol1o has quit [Remote host closed the connection]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zfnmxt has quit [Quit: Bye!]
<{^_^}> [nixpkgs] @matthewbauer reopened pull request #38535 → nixos/zsh: do not set ZSH prompt to the 'walters' style → https://git.io/vxHuj
freeman[w] has quit [Ping timeout: 248 seconds]
freeman[w]__ has joined #nixos
averell has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to openssl-1.1 « socat2pre: mark as broken »: https://git.io/fjb7l
freeman[w]_ has quit [Ping timeout: 258 seconds]
ThatDocsLady has quit [Quit: Leaving]
freeman[w]_ has joined #nixos
zfnmxt has joined #nixos
philr has quit [Ping timeout: 246 seconds]
ottidmes has quit [Ping timeout: 245 seconds]
freeman[w] has joined #nixos
freeman[w]__ has quit [Ping timeout: 276 seconds]
___laika has quit [Ping timeout: 258 seconds]
freeman[w]_ has quit [Ping timeout: 245 seconds]
zfnmxt has quit [Quit: Bye!]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b8572d322fa (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
zfnmxt has joined #nixos
ixxie has joined #nixos
freeman[w]_ has joined #nixos
o1lo01ol1o has joined #nixos
freeman[w]__ has joined #nixos
freeman[w] has quit [Ping timeout: 248 seconds]
knupfer has joined #nixos
freeman[w]_ has quit [Ping timeout: 276 seconds]
freeman[w] has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @globin pushed 2 commits to openssl-1.1: https://git.io/fjb75
<{^_^}> [nixpkgs] @srhb merged pull request #67179 → nixos/containers: fix imperative containers → https://git.io/fjbr4
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fjb7d
freeman[w]__ has quit [Ping timeout: 272 seconds]
dasj19 has quit [Quit: dasj19]
is_null_ has joined #nixos
freeman[w]_ has joined #nixos
ixxie has quit [Ping timeout: 248 seconds]
pqckh has joined #nixos
freeman[w]__ has joined #nixos
ixxie has joined #nixos
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjb5J
<{^_^}> [nixpkgs] @mmahut merged pull request #67172 → xonsh: 0.9.9 -> 0.9.10 → https://git.io/fjbw3
<{^_^}> [nixpkgs] @mmahut merged pull request #67176 → wpa_supplicant: 2.8 -> 2.9 → https://git.io/fjbwA
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjb5U
ElectricJanice has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67173 → wpgtk: 6.0.8 -> 6.0.9 → https://git.io/fjbwW
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjb5T
freeman[w] has quit [Ping timeout: 276 seconds]
<ElectricJanice> So im giving nixos another shot but im running into a major road block where nixos-install cant bind mount stuff from the store.
<ElectricJanice> sudo nixos-installbuilding the configuration in /mnt/etc/nixos/configuration.nix...error: while setting up the build environment: unable to bind mount '/mnt/nix/store/mf8va3r7ci4nlxqzw85vwks4whywcmbk-append-initrd-secrets.drv.chroot': Permission denied
<gchristensen> hmm are you in a nix-shell, ElectricJanice?
<ElectricJanice> i am not
<gchristensen> ...hrm
freeman[w]_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #67163 → waybar: 0.7.1 -> 0.7.2 → https://git.io/fjbVu
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjb5k
<gchristensen> ElectricJanice: when you run `whoami` ... who are yoU? :)
<ElectricJanice> root
<{^_^}> [nixpkgs] @mmahut merged pull request #67164 → xst: 0.7.1 -> 0.7.2 → https://git.io/fjbV2
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjb5t
<gchristensen> :x I don't know
ElectricJanice has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mmahut merged pull request #67165 → xkb-switch: 1.5.0 -> 1.6.0 → https://git.io/fjbVw
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjb5q
<gchristensen> exarkun: what did you download for the installation?
<gchristensen> erm. sorry, exarkun. elec.... oh they left.
<{^_^}> [nixpkgs] @mmahut merged pull request #67167 → wcslib: 6.3 -> 6.4 → https://git.io/fjbV1
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjb5s
ElectricJanice has joined #nixos
<gchristensen> ElectricJanice: what did you download for the installation?
<{^_^}> [nixpkgs] @mmahut merged pull request #67178 → wxSVG: 1.5.19 -> 1.5.20 → https://git.io/fjbrc
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjb5G
<symphorien> ElectricJanice: can you try nixos-install --option sandbox false ?
jascha has joined #nixos
jascha has quit [Client Quit]
<srhb> Ack, I remember that error.
<ElectricJanice> These are all the ones ive tried so far. Nixos-minimal-19.03, Nixos-graphical-19.03, Nixos-minimal-19.09 Nixos-graphical-19.09
jgeerds has joined #nixos
<gchristensen> srhb: oh??
ElectricJanice has quit [Remote host closed the connection]
<srhb> I'm trying to recall what the heck it's about, it's quite obscure..
<srhb> Actually I think there was a convo in here and a followup discourse about it
<srhb> That's.. Not really satisfactory :P
<gchristensen> maybe could try `cat /dev/USBDISK | sha256sum -` and see what we get
ElectricJanice has joined #nixos
<ElectricJanice> Keeps dropping connection :(
<srhb> We were just talking about that there's some thin evidence that it might occur with faulty usb install media
<clever> gchristensen: it will likely read beyond the end of the iso file, if the usb stick is bigger
<srhb> But...
<srhb> Frankly that seems weird in itself.
<ElectricJanice> usb is solid. Used in the past to install nixos and other linux distros
<gchristensen> ElectricJanice: the current theory is maybe your USB disk is bad, try hashing the content of the USB disk: sudo cat /dev/sda1 | sha256sum -
<srhb> Unfortunately the logs that explained how we reached that conclusion are timed out from old age
<gchristensen> oops
<gchristensen> sudo cat /dev/sda | sha256sum -
<symphorien> ElectricJanice: (just in case, there are logs of the channel, see the url in the topic)
<gchristensen> that is of course assuming /dev/sda is your USB disk
<gchristensen> clever: I've verified USB disks this way before ... hmm
<symphorien> with /dev/sda1 it will read the right size
<ElectricJanice> Its running now
ElectricJanice has quit [Remote host closed the connection]
<gchristensen> symphorien: the ISO comes with 2 partitions
ElectricJanice64 has joined #nixos
<clever> symphorien: but also, the hash for the partitions arent published
<{^_^}> [nixpkgs] @stefano-m opened pull request #67214 → adoptopenjdk-icedtea-web: init at 1.8.3 → https://git.io/fjb5l
<srhb> Meh, the logs aren't helpful either: https://logs.nix.samueldr.com/nixos/search?q=zookatron
<samueldr> srhb: ?
<srhb> Looks like I just took a wild guess and something in the process of recreating the installer on a different usb drive made the problem go away.
<srhb> samueldr: Your own fault for choosing that URL :-P
<{^_^}> [nixpkgs] @globin pushed 3 commits to openssl-1.1: https://git.io/fjb54
<samueldr> ah, I thought you meant "the logs aren't helpful" as a general statement about the logs
<srhb> Oh lol, no, I *love* the logs ;-)
<samueldr> though I now see "in this case" :)
<srhb> What I should have said, really, was "what I said according to the logs isn't helpful at all" ;-)
<srhb> ElectricJanice64: I'd be interested in seeing the output of `mount`
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b8572d322fa (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @worldofpeace opened pull request #67215 → nixos/gnome3: default support for color emoji → https://git.io/fjb50
<ElectricJanice64> here you go. have at it. https://pastebin.com/ApA8u3Ch
<ElectricJanice64> hash of the usb stick e9dfdf0d6f1bed8b9d229992c1791973ea4c41a7c5f5c452ededd8f05ab5d5ee
<gchristensen> which ISO is that from?
<{^_^}> [nixpkgs] @peti merged pull request #66809 → apacheHttpd: 2.4.39 -> 2.4.41 → https://git.io/fjFY7
<{^_^}> [nixpkgs] @peti pushed 2 commits to staging: https://git.io/fjb5u
ElectricJanice64 has quit [Remote host closed the connection]
ElectricJanice has joined #nixos
<ElectricJanice> nixos-graphical-19.09pre189585.1412af4b2cf-x86_64-linux.iso
<{^_^}> [nixpkgs] @mmahut merged pull request #67162 → worker: 4.0.0 -> 4.0.1 → https://git.io/fjbVW
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjb5z
<clever> ElectricJanice: what does dmesg say?
<gchristensen> well, that doesn't match the hash published on the website (132778d15b3e985f0b42aebb0a7b7bcf6218f70268c2f4404dfce21b06f358a1) -- I'm hashing my USB stick here to see if it *should* match
<clever> gchristensen: i dont expect it do, since the usb stick is going to be bigger, and have garbage after the iso
<clever> gchristensen: you have to stop hashing at the right point
<ElectricJanice> doesnt say anything beyond normal log info
<gchristensen> clever: I wonder how I did it before
<gchristensen> maybe I used `head`
<{^_^}> [nixpkgs] @mmahut merged pull request #67155 → tulip: 5.1.0 -> 5.2.1 → https://git.io/fjbzR
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjb5g
<clever> dd can also do it
<gchristensen> mind coming up with the correct incantation for ElectricJanice?
<clever> dd if=/dev/sda bs=1 count=size-in-bytes | sha256sum -
<gchristensen> 1287651328
<gchristensen> surely bs=1 should be a bit ... bigger..?
<clever> if you make bs bigger, you must divide count by that
<clever> and it must be a multiple of the size
<gchristensen> this is probably why I just used `head`
<clever> > 1287651328 / 8192
<clever> 157184
<{^_^}> 157184
<clever> 8192 works
<clever> you could even do bs=1287651328 count=1
<{^_^}> [nixpkgs] @mmahut merged pull request #67154 → sxhkd: 0.6.0 -> 0.6.1 → https://git.io/fjbzT
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjb5V
<clever> its definitely a multiple of itself :P
ElectricJanice has quit [Remote host closed the connection]
ixxie has quit [Ping timeout: 248 seconds]
ElectricJanice has joined #nixos
<ElectricJanice> god i hate irc. It just keeps disconnecting me :(
<gchristensen> ElectricJanice: I wonder if https://webchat.freenode.net/ will be more reliable for you?
<{^_^}> [nixpkgs] @vcunat pushed to master « vlc: 3.0.7.1 -> 3.0.8 (security) »: https://git.io/fjb56
<clever> ElectricJanice: ive had no trouble staying online for weeks to months at a time
ElectricJanice has quit [Remote host closed the connection]
ElectricJanice has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #67216 → ocamlPackages.batteries: 2.9.0 -> 2.10.0 → https://git.io/fjb5i
<clever> ElectricJanice: a proper irc client is the key, the web clients can have issues when the browser tries to suspend things
<pqckh> I have a pretty simple nix file for creating a shell with the python library SALib (https://pastebin.com/ZueRtsBB). However, `nix-shell` fails with "abort: no repository found in '.../SALib-1.3.7' (.hg not found)!". I'd like to either figure out how to fix this problem or how to find the code from the install process producing this problem
<ElectricJanice> yeah. on the live image atm so dont really feel like screwing with that atm
<{^_^}> [nixpkgs] @globin pushed 2 commits to openssl-1.1: https://git.io/fjb51
<clever> ElectricJanice: nix-env -iA nixos.irssi to get the client i prefer using
<ElectricJanice> will try it if i keep having issues
<EsperLily> I keep meaning to switch to weechat, since irssi has been effectively dead for ages
<srhb> I've no idea what else it could be. Even if it's suspect..
<EsperLily> but I don't want to spend the time replicating my setup
ElectricJanice has quit [Remote host closed the connection]
<gchristensen> EsperLily: depending on how particular you are, you might find stock weechat to be pretty much just fine :)
<gchristensen> I switched to weechat because it didn't need any/many customisations
<cransom> i like weechat. the wee_slack plugin is pretty nice so that i'm not entirely beholden to electron for the slacks that i need to be in.
<{^_^}> [nixpkgs] @vcunat closed pull request #67161 → libsForQt5.vlc: 3.0.7.1 -> 3.0.8 → https://git.io/fjbaS
growpotk- has joined #nixos
___laika has joined #nixos
ElectricJanice has joined #nixos
<EsperLily> I'm mostly just lazy ;)
<EsperLily> I did try setting up weechat once and realized pretty quickly I had to install a plugin that would convert links into local shortlinks so I could still click them if they wrapped, due to weechat adding a side panel
ElectricJanice has quit [Read error: Connection reset by peer]
<EsperLily> these days I use IRC a lot less so it's easier to switch over
<EsperLily> it's mostly just I know all the common keyboard shortcuts and slash-commands on irssi
ElectricJanice has joined #nixos
<EsperLily> really I wish I could just use a GUI client, but I use irssi over mosh because bouncers sucks
<EsperLily> s/sucks/suck/
o1lo01ol1o has joined #nixos
kleisli has joined #nixos
<hyperfekt> EsperLily: How so?
<EsperLily> when you reconnect to a bouncer it just dumps the last N messages back into your current client as if they were just received
<EsperLily> because bouncers just speak IRC
<EsperLily> I think there are special commands to request more history, I don't really recall
___laika has quit [Ping timeout: 258 seconds]
<EsperLily> but what I want is to just reconnect to my server and have access to the properly-timestamped history stretching back as far back as my client will record history
<hyperfekt> Oh, I use Quassel which uses a frightening Qt protocol to transfer messages between core and client
<EsperLily> o_O
<clever> i just use screen + irssi + ssh
<EsperLily> clever: that's basically me except tmux + irssi + mosh
<clever> ..... it still runs on an old gentoo box, that i never migrated after adopting nixos.....
<clever> Linux c2d 3.8.13-gentoo #3 SMP Thu Dec 15 10:33:05 AST 2016 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz GenuineIntel GNU/Linux
<EsperLily> the two downsides to this approach are 1) I'm limited to terminal formatting, so e.g. I can't deemphasize all the join/connect messages, and 2) I can't get notifications when someone mentions me
<clever> EsperLily: at one time, i was using a bouncer, and had mirc+irssi sharing the connection, and mirc scripts configured to beep at 15khz
<clever> but funnily enough, the mirc script was using tcp to talk to a daemon on linux to trigger the beep
ElectricJanice has quit [Read error: Connection reset by peer]
<clever> my setup was weird
<EsperLily> o_O
ElectricJanice has joined #nixos
<hyperfekt> With Quassel I can just scroll back as I wish, probably what you want. My main motivation for using it is that it's the most likely to get cloud messaging support in the near future. My phone already runs out of battery quickly enough and irssinotifier wouldn't link me into the mobile client.
<clever> the windows machine eventually died a painful death, it took out its own motherboard, power supply, and the hard-disk of a neighboring linux box!
<EsperLily> looking at the screenshots, I don't think I could tolerate using the Quassel GUI
<EsperLily> (macOS here)
<hyperfekt> Haha fair :b
<gchristensen> > neighboring linux box
<{^_^}> undefined variable 'neighboring' at (string):262:1
<gchristensen> what
<clever> gchristensen: the windows machine was tied to the serial console on the linux machine
<EsperLily> I like how the error is at column 262. Makes me wonder what kind of preamble the bot puts on each evaluated line
zupo has joined #nixos
<clever> gchristensen: when it failed hard, it left the power led dimly lit, and pulled the serial port lines low
<gchristensen> oh no
<clever> gchristensen: linux treated that as holding the break signal, constantly, and spammed the error logs
<hpfr[m]> I’m looking at the configfile derivation in https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/generic.nix, and I’m wondering how it resolves conflicts between commonConfig, extraConfig, and config from kernelPatches. It doesn’t seem to resolve setting the same option multiple times. How does this work?
<clever> gchristensen: which pushed the aging hdd over the edge
<gchristensen> oh no
<clever> gchristensen: cascading failures!
<clever> gchristensen: for extra fun, it was one drive out of 4 in an lvm array
<clever> funnily enough, i still have a printout of the lvm metadata, on paper
<clever> the main LV, was split into 24 fragments, scattered over 3 PV's
<clever> because i abused pvmove too much
<gchristensen> good grief
<clever> the root disk survived, and the machine could still boot
<clever> but the dpkg database was lost, so it was imposible to update anything
operator-name has joined #nixos
nikivi has quit [Read error: Connection reset by peer]
levdub has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
jgt has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to release-19.03 « vlc: 3.0.7 -> 3.0.8 (security) »: https://git.io/fjb5j
<pqckh> If I'm trying to create a `python.withPackages` shell environment, what's the syntax to also add non-Python nix packages to the environment?
levdub has joined #nixos
<EsperLily> you could use a buildEnv environment that contains your python env plus the other packages
<clever> if its for nix-shell, make a new derivation, that has both python.withPackages and the non-python stuff, in the buildInputs
<EsperLily> in fact there's a python.buildEnv function
<EsperLily> "buildEnv. Function to build python interpreter environments with extra packages bundled together. See section python.buildEnv function for usage and documentation."
<EsperLily> hrm, the example usage shows including another python package, so I don't know how this differs from withPackages
nikivi has joined #nixos
<EsperLily> ok looks like withPackages is a wrapper around buildEnv
ElectricJanice has quit [Read error: Connection reset by peer]
boxscape has quit [Remote host closed the connection]
boxscape has joined #nixos
ElectricJanice has joined #nixos
<ElectricJanice> output of this command dd if=/dev/sdc count=1287651328 bs=1 | sha256sum -
<ElectricJanice> 132778d15b3e985f0b42aebb0a7b7bcf6218f70268c2f4404dfce21b06f358a1
dasj19 has joined #nixos
<pqckh> Ah, okay. I was able to get the `mkDerivation` approach to work but it didn't solve my problem
kyren has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66990 → nixos/gnome-terminal: init → https://git.io/fjF5s
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjbdB
freeman42x has joined #nixos
<pqckh> Thanks
aleoh- has quit [Quit: WeeChat 1.6]
aleph- has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 276 seconds]
ElectricJanice has quit [Read error: Connection reset by peer]
ElectricJanice has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/b8572d322fa (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
operator-name has quit [Remote host closed the connection]
ElectricJanice has quit [Read error: Connection reset by peer]
ElectricJanice has joined #nixos
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
Ariakenom has quit [Quit: Leaving]
ElectricJanice has quit [Remote host closed the connection]
iqubic has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67143 → shotcut: 19.07.15 -> 19.08.16 → https://git.io/fjbEh
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjbdP
<{^_^}> [nixpkgs] @mmahut merged pull request #67153 → stress-ng: 0.10.00 -> 0.10.01 → https://git.io/fjbzJ
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjbdX
<{^_^}> [nixpkgs] @mmahut merged pull request #67180 → xxHash: 0.7.0 -> 0.7.1 → https://git.io/fjbro
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjbd1
o1lo01ol1o has joined #nixos
ElectricJanice has joined #nixos
<ElectricJanice> ok. Tried a different usb but getting the same errors :(
drakonis has quit [Ping timeout: 276 seconds]
dasj19 has quit [Quit: dasj19]
xkapastel has quit [Quit: Connection closed for inactivity]
<Unode> hi all, this is a recurring question but what is the recommended function to use with nix-build? I'm trying mkDerivation but as I don't have a src this raises an error. pkgs.runCommand doesn't work here either.
jgt has joined #nixos
ElectricJanice has quit [Read error: Connection reset by peer]
<Unode> buildEnv is what I was after.
<m1crOman> Hey folks what's the current recommended way to use mediawiki? The wiki page shows httpd.extraSubservices which is deprecated, and I can't find the package under the options and package search pages.
<gchristensen> aanderse: ^
* aanderse wakes up
<aanderse> yup, that's me
<{^_^}> [nixpkgs] @ryantrinkle opened pull request #67217 → git-subrepo: init at 0.4.0 → https://git.io/fjbdx
<aanderse> so... @redvers said he was going to update the wiki at some point...
<aanderse> but i know he's been busy with a couple things lately
<aanderse> m1crOman: are you using stable or unstable?
fusion809 has joined #nixos
xkapastel has joined #nixos
<m1crOman> im on unstable
<aanderse> woo! you're in luck then
<m1crOman> :D
<aanderse> that's your starting point
<m1crOman> oh class it's just a regular service now :D
<m1crOman> yea perfect thanks will dig into the pkg + config to see what options there are
shibboleth has quit [Quit: shibboleth]
<aanderse> unfortunately nginx is *way* better than httpd service so there is a load missing from the module
<aanderse> you'll have to add stuff to your configuration
<aanderse> we can go over that
<aanderse> the plan is to make httpd not suck for 20.03
<aanderse> which would make mediawiki much better
pqckh has quit [Ping timeout: 276 seconds]
operator-name has joined #nixos
jgt has quit [Ping timeout: 250 seconds]
<m1crOman> ok that's grand. I am using httpd already and I was planning to write a httpd config for nextcloud seeing that one doesn't exist
<aanderse> m1crOman: there is an nginx module for nextcloud
<m1crOman> yes I know but I want to avoid running nginx if I can. Nothing personal I just don't want to run 2 large http servers
<aanderse> m1crOman: yeah so if you're familiar with the httpd module you'll have no problems, just setup your ssl certs and point to them in services.mediawiki.virtualHost
<aanderse> yeah that's exciting to hear
<m1crOman> I'm also inheriting a few hundred http vhosts so I need to maintain apache at least for now :P
<m1crOman> Cool ok I will do just that :) Thanks a mil for the help. Man, this irc is the best going right now.
<aanderse> there is definitely a desire to make nginx and httpd interchangeable by some users
jgertm has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<aanderse> my plan is to try and make the httpd and nginx option sets as similar as possible with the idea that maybe we can make web server a choice for our web services
<aanderse> there might be some interest in making databases the same
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor has joined #nixos
drakonis has joined #nixos
nabana has quit [Ping timeout: 276 seconds]
<jgertm> I changed the derivation for strongswan, which my network-manager service transitively depends on through the networking.networkManager.enableStrongSwan option, and rebuilt my system. I see strongswan being recompiled, but the network-manager.service unit still points to the old derivation. Is there something special about network-manager that prevents it from picking up the change?
<jgertm> In case this is an AB problem, what I actually want to accomplish is use EAP-TLS to connect to a strongswan VPN
ris has joined #nixos
mawis has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @vbgl opened pull request #67218 → ocamlPackage.cohttp: 2.0.0 -> 2.1.3 → https://git.io/fjbFG
akamaus has joined #nixos
<akamaus> hello!
<akamaus> I'm looking for a builtin function to convert any value to string. 'toString' is not good because it requires the set to have __toString attr.
<{^_^}> [nixpkgs] @worldofpeace opened pull request #67219 → Enable programs.$shell.vteIntegration where needed → https://git.io/fjbFC
<m1crOman> aanderse, I can certainly get on board with that. That's my intention with adding to the nextcloud config for sure.
<{^_^}> [nixpkgs] @globin pushed to openssl-1.1 « erlang: pin to openssl 1.0.2 for < R20 »: https://git.io/fjbFl
<aanderse> sounds good m1crOman
fendor has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @edef1c opened pull request #67220 → wishbone-tool: init at 0.2.8 → https://git.io/fjbFz
drakonis has quit [Ping timeout: 252 seconds]
freeman42y has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #67119 → xen: 4.8.3 -> 4.8.5, unbreak → https://git.io/fjbBZ
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/fjbFo
kleisli has quit [Ping timeout: 248 seconds]
<infinisil> akamaus: No such thing, but there are some generators in nixpkgs/lib/generators.nix
<infinisil> akamaus: Didn't know about the __toString bit though, neat!
<{^_^}> [nixpkgs] @globin pushed to openssl-1.1 « hadoop: fix infinite recursion »: https://git.io/fjbFQ
<infinisil> > toString { __toString = x: "foo"; }
<{^_^}> "foo"
<infinisil> > toString { outPath = "bar"; }
<{^_^}> "bar"
<infinisil> There's two ways to convert an attrset to a string then!
<akamaus> nix-repl> toString { tata = "aaa";}
<akamaus> error: cannot coerce a set to a string, at (string):1:1
<clever> also, toString, and "${ behave differently
<infinisil> Well actually builtins.toJSON might be good enough for your case
<clever> > toString ./.
<{^_^}> "/var/lib/nixbot/state/nixpkgs"
<clever> > "${./.}"
<{^_^}> access to path '/var/lib/nixbot/state/nixpkgs' is forbidden in restricted mode
<infinisil> They joys of strings in nix
<infinisil> > builtins.toJSON { tata = "aaa"; }
<{^_^}> "{\"tata\":\"aaa\"}"
<infinisil> akamaus: ^
<akamaus> good!
pie_ has joined #nixos
<akamaus> Actually I stumbled upon this inside nixpkgs/pkgs/stdenv/generic/check-meta.nix It fails on line 210 with unhelpful if package metadata is wrong anough.
matthuszagh has joined #nixos
<operator-name> /* Check whether a value can be coerced to a string */ isCoercibleToString = x: builtins.elem (builtins.typeOf x) [ "path" "string" "null" "int" "float" "bool" ] || (builtins.isList x && lib.all isCoercibleToString x) || x ? outPath || x ? __toString;
<operator-name> huh
<operator-name> not much seems to define a __toString
<matthuszagh> hi. i'm trying to get a simple nixos vm to work for nixpks development, but i'm having trouble logging in. I've set this: `users.users.root.initialPassword = "root";` but typing `root` for login and password isn't working. any ideas on what might be going wrong?
<clever> matthuszagh: initialPassword only works on the first creation of the user
<clever> matthuszagh: what type of vm is it?
jgt has joined #nixos
<matthuszagh> it's from nixos-rebuild build-vm. so qemu if that answers your question?
<operator-name> the root user is special isn't it?
ryantrinkle has quit [Ping timeout: 245 seconds]
<clever> matthuszagh: you need to delete the nixos.qcow2 file in the current dir, so it recreates root, and obeys initialPassword
knupfer has quit [Ping timeout: 264 seconds]
<matthuszagh> clever: thanks i'll try that
<clever> if you booted it before, then its no longer the initial bootup, and it will persist whatever you set with passwd
<matthuszagh> clever: that worked! thanks for the help. makes sense since i didn't set that option the first time i tried the vm build
<clever> services = {
<clever> mingetty.autologinUser = "root";
<clever> matthuszagh: you can also set this, so it wont ask for a pw
<matthuszagh> oh nice ok
<clever> you can also configure port forwarding
<{^_^}> [nixpkgs] @markuskowa merged pull request #67182 → gsl: 2.5 -> 2.6 → https://git.io/fjb6b
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to staging: https://git.io/fjbbk
o1lo01ol1o has quit []
o1lo01ol1o has joined #nixos
__monty__ has quit [Quit: leaving]
mexisme has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
Denommus has joined #nixos
srl295 has quit [Quit: Connection closed for inactivity]
jgt has quit [Ping timeout: 276 seconds]
selfsymmetric-mu has joined #nixos
boxscape has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67219 → Enable programs.$shell.vteIntegration where needed → https://git.io/fjbFC
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjbbu
ryantrinkle has joined #nixos
freeman42x has joined #nixos
freeman42y has quit [Ping timeout: 250 seconds]
mexisme has joined #nixos
ottidmes has joined #nixos
dansho has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to openssl-1.1 « squid: remove v3, default to v4 »: https://git.io/fjbb7
jgt has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #67222 → gnome-hexgl: init at unstable-2019-08-21 → https://git.io/fjbb5
Thra11 has quit [Quit: WeeChat 2.5]
jgt has quit [Ping timeout: 264 seconds]
<matthuszagh> clever: is there a way i can copy/paste between the host and vm? i've tried enabling the spice-vdagentd service in the vm configuration but that doesn't seem to work
sigmundv_ has joined #nixos
<clever> matthuszagh: ive not done it with qemu
<matthuszagh> ok no worries
<clever> matthuszagh: but with the test-hydra-locally.nix i linked above, you can forward ssh, and then just use ssh normally
erasmas has quit [Quit: leaving]
<matthuszagh> clever: does that allow me to specify my own nixpkgs repo and custom configuration? presumably, the graphics option also allows graphics if I need them? is this what most people do for testing packages?
<clever> matthuszagh: use -I nixpkgs= to change which nixpkgs is being used
<clever> matthuszagh: if your only testing a package, nix-build is enough
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
jgeerds has quit [Ping timeout: 248 seconds]
sigmundv_ has quit [Ping timeout: 245 seconds]
freeman42x has quit [Read error: Connection reset by peer]
freeman42x has joined #nixos
freeman42x has quit [Max SendQ exceeded]
freeman42x has joined #nixos
Soo_Slow has joined #nixos
<Soo_Slow> is it possible to make something like cross-distro AUR with nix package manager? (e.g you just write some setup script, while actual data (aside from dependencies, which come from official repo, if possible) gets downloaded from developer's site and then verified by hash)
orivej has quit [Ping timeout: 276 seconds]
<selfsymmetric-mu> That would certainly be an interesting standardization effort.
<elvishjerricco> Soo_Slow: I think there's already an NUR
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ec2cacb15ef (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<operator-name> since the NUR is brought up, can I just ask
<operator-name> the distinction of the nur should be that it doesn't have a binary cache?
<operator-name> is there a way to disable using the binary cache when using nixos normally if you want to compile things from source (for whatever reason)?
<gchristensen> expressions could also be malicious
<gchristensen> --substituters '' disables binary caches
<Soo_Slow> elvishjerricco, oh, looks nice. Can it be used for sharing binaries? (messangers etc. On my arch, for example, I have proprietary discord installed from AUR) Or only for building stuff from source?
<selfsymmetric-mu> I have never wanted a package in NUR that I haven't found in nixpkgs.
<selfsymmetric-mu> And I've made 11 package requests to nixpkgs so far.
<selfsymmetric-mu> Actually make that 13. I forgot about the two that got closed.
<hyperfekt> Soo_Slow: You wouldn't share the binary itself in the NUR of course for licensing reasons, but the build expression would download it and make sure it's got access to all dependencies.
<elvishjerricco> Soo_Slow: In theory users could provide their own binary caches for their NUR packages, but they'd have to make sure to build for all NixOS versions they want to support, and even thats not guaranteed to work perfectly if e.g. glibc changes in a stable channel
<Soo_Slow> eeeh
<Soo_Slow> thats unfortunate
<elvishjerricco> operator-name: On top of --substitutes on the command line, you can also just set it in /etc/nix/nix.conf to always do that
jgt has joined #nixos
<elvishjerricco> Soo_Slow: Eh, it's better than AUR's ability to package binaries
<elvishjerricco> Which is none
xkapastel has quit [Quit: Connection closed for inactivity]
<hyperfekt> elvishjerricco, Soo_Slow: Well, if you pinned nixpkgs in your expression you can provide a well-working binary cache, at the cost of potentially duplicating eventual dependencies.
<Soo_Slow> elvishjerricco, is it? I mean - there are plenty of free proprietary software in aur (alongside with too-long-to-build stuff like icecat)
<elvishjerricco> hyperfekt: That's definitely not the right way to do NUR though :P
<elvishjerricco> Soo_Slow: Yea, they just use scripts to download proprietary binaries from their websites. You can do the same in Nix without a binary cache
<elvishjerricco> That's how steam and signal-messenger work on NixOS iirc.
<elvishjerricco> And many others I'm forgetting
<elvishjerricco> You don't actually get those from cache.nixos.org; that'd be a license violation. Your machine builds them itself, which just constitutes downloading them and maybe patching their elf binaries
<hyperfekt> elvishjerricco: That's true :b You wouldn't put that in the NUR. Just pointing out that the limit isn't really with Nix.
<elvishjerricco> Nix is rarely the limit :P
jluttine has quit [Ping timeout: 244 seconds]
<hyperfekt> A lot of stuff is in nixpkgs anyway so you don't have to worry about your fav proprietary software all that much.
jgt has quit [Ping timeout: 250 seconds]
wildtrees has quit [Quit: Leaving]
Nicholas29 has joined #nixos
Denommus has quit [Remote host closed the connection]
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 250 seconds]
mbrgm_ has joined #nixos
jluttine has joined #nixos
mbrgm_ is now known as mbrgm
mbrgm has quit [Ping timeout: 268 seconds]
jluttine has quit [Ping timeout: 276 seconds]
<Soo_Slow> elvishjerricco, oh, nice to hear. Thats exactly what I wanted