andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
NeoCron has quit [Ping timeout: 240 seconds]
kleisli_ has joined #nixos
roosemberth has quit [Ping timeout: 265 seconds]
kleisli has quit [Ping timeout: 256 seconds]
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
m0rphism has quit [Ping timeout: 264 seconds]
captjakk has quit [Ping timeout: 250 seconds]
<cjay-> where do I switch to the unstable channel during installation?
<cjay-> nix-channel doesn't have options to specify where the root is mounted
<gchristensen> switch with nix-channel normally, and at installation time it'll use the nixos channel from the installation environment
<cjay-> hmm. I don't want to change the installation env.
<cjay-> I guess my only option is to change it after installation then
<gchristensen> why don't you want to change the installation env?
<gchristensen> what is your installation environment?
<cjay-> usb stick with it's own permanent nixos installation
<cjay-> or is changing the env not persistent?
<gchristensen> once you update the channel to teh new channel and do the install, you can reset it back to whatever you wanted
<cjay-> I see, thanks
gustavderdrache has quit [Quit: Leaving.]
xelxebar has joined #nixos
abathur has quit [Quit: abathur]
thc202 has quit [Ping timeout: 240 seconds]
growpotkin has joined #nixos
nikitten has quit [Ping timeout: 256 seconds]
<cjay-> strange, it installed 20.03 anyway
mexisme has joined #nixos
mexisme_ has quit [Ping timeout: 250 seconds]
<nix-build> [nixos-homepage] @garbas pushed 2 commits to governance: https://git.io/Jv5Na
<gchristensen> did you nix-channel --update after changing the URL?
maxter has quit [Ping timeout: 258 seconds]
<cjay-> nope
<nix-build> [nixpkgs] @marsam opened pull request #83908 → nushell: 0.11.0 -> 0.12.0 → https://git.io/Jv5Ni
captjakk has joined #nixos
iyzsong has joined #nixos
kleisli__ has joined #nixos
<ekleog> Anyone here using nextcloud? Trying to use the Talk android app or the nextcloud-client nixos package with my instance leads to an endlessly-looping “please wait” on the “connect” button -- also seeing that, or is it just me?
<ekleog> (on my nixos-based install of nextcloud)
Pwnna has joined #nixos
psy3497 has joined #nixos
<Pwnna> What's the diference between using python.withPackages over just straight up specifying python37Packages.numpy in buildInputs?
kleisli_ has quit [Ping timeout: 265 seconds]
<Pwnna> and I don't quite understand propagatedBuildInputs in this context
<Pwnna> are propagatedBuildInputs run time dependencies because nix cannot autodiscover runtime dependencies in python projects?
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
abathur has joined #nixos
shibboleth has quit [Quit: shibboleth]
captjakk has quit [Ping timeout: 256 seconds]
<nix-build> [nixpkgs] @marsam merged pull request #83903 → croc: 8.0.4 -> 8.0.5 → https://git.io/Jv57z
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv5AI
<Pwnna> Also, unrelated, how do I and why should I use buildEnv (not python.buildEnv, the base one?) can't I just specify buildInputs directly?
<nix-build> [nixpkgs] @marsam merged pull request #83902 → gitAndTools.gh: 0.6.2 -> 0.6.3 → https://git.io/Jv57c
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv5At
<nix-build> [nixpkgs] @marsam merged pull request #83898 → sd: 0.6.5 -> 0.7.2 → https://git.io/Jv5H7
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv5AZ
<nix-build> [nixpkgs] @marsam merged pull request #83907 → ffsend: 0.2.58 -> 0.2.59 → https://git.io/Jv5bk
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv5Ac
<nix-build> [nixpkgs] @Ekleog pushed commit from @BBBSnowball to release-20.03 « nixos/nextcloud: avoid loading imagick extension more than once »: https://git.io/Jv5AC
pbogdan has quit [Ping timeout: 264 seconds]
<ottidmes> Pwnna: I think the difference between the two is withPackages makes them available as libraries, and directly it only makes the outputs available, i.e. its binaries.
<Pwnna> so something like numpy doesn't really have binaries (afaik)
<Pwnna> so it's functionally equivalent then?
h0m1 has quit [Ping timeout: 272 seconds]
<Pwnna> I'm currently just working with nix-shell for now, but looking to build a "binary" for my project later.
<Pwnna> also i noticed that withPackages can return something that has a .env?
<ottidmes> No, AFAIK, numpy with only work the way you expect if you do not use it directly with buildInputs (the general one)
h0m1 has joined #nixos
<nix-build> [nixpkgs] @OmnipotentEntity opened pull request #83909 → Per RFC45, remove all unquoted URLs → https://git.io/Jv5Ar
<Pwnna> wait i'm not fully sure i understand what you mean
<Pwnna> Right now I have python37Full python37Packages.numpy in my buildInputs in a shell.nix
<OmnipotentEntity> I just dropped a huge PR, if you are free, I would appreciate any help reviewing this.
<ottidmes> You have to use it with python.withPackages, or pythonPackages.buildPythonPackage, or any of those builders
<gchristensen> that's a hockin' PR
<Pwnna> wait what do you mean builder? Does withPackages return a derivation?
<OmnipotentEntity> Pwnna, python.withPackages returns a custom version of python with the packages in its path
<ottidmes> Pwnna: Yep, otherwise you could not use it in buildInputs
<Pwnna> oh i thought buildInputs is a list....
<Pwnna> looks like I gotta go back to the manual/nix pills..
<OmnipotentEntity> buildInputs is a list
<OmnipotentEntity> It's a list of packages.
<OmnipotentEntity> you put python.withPackages into buildInputs
<Pwnna> so why can I set buildInputs to python.withPackages if withPackages returns a derivation?
<nix-build> [nixpkgs] @veprbl pushed commit from @Th0rgal to master « maintainers: Add Th0rgal (#83899) »: https://git.io/Jv5AM
<nix-build> [nixpkgs] @veprbl merged pull request #83899 → maintainers: Add Th0rgal → https://git.io/Jv5Hd
<OmnipotentEntity> Pwnna, here's an example: https://pastebin.com/vLWWbHRe
<Pwnna> ok you gotta give me a minute. still struggling to read the syntax a bit
<ottidmes> lol, it takes forever to even open the page to your PR XD
<OmnipotentEntity> It's a chonker
<Pwnna> ok so what's the differnce between what you just showed me, which has jupyter (...withPackages .. [...numpy...]) and just "jupyter python37Packages.numpy"
<Pwnna> if that made sense
<Pwnna> That's what I have right now actually in my shell.nix
<Pwnna> I guess you would need "jupyter python37Full python37Packages.numpy". but same idea?
<Pwnna> clearly i'm wrong somehow i just don't get how lol
<OmnipotentEntity> No, because python won't be able to see numpy
<OmnipotentEntity> you can try it if you like.
<Pwnna> but in my nix shell it works
<Pwnna> python -c "import numpy" works
<Pwnna> <module 'numpy' from '/nix/store/v6rdicqjk67y15s7pskn0clm4wy87asb-python3.7-numpy-1.18.1/lib/python3.7/site-packages/numpy/__init__.py'>
<OmnipotentEntity> oh? Maybe I am mistaken in that case. I was under the impression that it wouldn't work without the withPackages stuff.
<Pwnna> yeah i read something on the internet like that
<Pwnna> maybe if i do a nix-build it doesn't work?
<Pwnna> but i haven't figured out how to do that yet
<Pwnna> but in a nix shell it definitely seems to work...
<OmnipotentEntity> perhaps. There are shell-hooks setup when you use nix-shell that may not be setup properly when using nix-build
<Pwnna> possibly. i'm using direnv with zsh
<Pwnna> no shell hooks in my shell.nix file
captjakk has joined #nixos
<OmnipotentEntity> shell hooks can be set up by the derivation as well iirc.
t420babe has quit [Ping timeout: 258 seconds]
<Pwnna> that's what I have
<Pwnna> i guess i should probably also use callPackage there
<nix-build> [nixos-homepage] @garbas pushed 3 commits to governance: https://git.io/Jv5AN
<nix-build> [nixpkgs] @bcdarwin opened pull request #83910 → python3Packages.graspy: init at 0.2 → https://git.io/Jv5Ap
<Pwnna> so is it a binary choice between withPackages and buildPythonApplication or do I use them both together somehow
<Pwnna> I'm trying to get to a point where I can produce an "executable" similar to how python setup.py install can install an "executable"
<Pwnna> by "executable" i mean whatever setuptools generate to create a custom command in $PATH that imports the right package and calls the function you tell it to call?
<OmnipotentEntity> unfortunately, I am somewhat out of my depth
<Pwnna> that's ok. thanks for helping anyway
<ldlework> I installed Dunst, but I'm not sure how I restart it? https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/dunst/default.nix
captjakk has quit [Ping timeout: 256 seconds]
<Pwnna> so what does python.withPackages(ps: [ps.pandas])).env mean?
<ldlework> domenkozar[m]: how do I restart dunst?
<Pwnna> specifically the .env part at the end?
lord| has quit [Read error: Connection reset by peer]
<ldlework> I think I'm being stupid or something.
<lovesegfault> If I have a let ... in and I want that if foo (let foo = false; in ...) is false it issues a trace/warn; what lib fn do I use?
<lovesegfault> I think it's one of the traces...
lord| has joined #nixos
captjakk has joined #nixos
<nix-build> [nixpkgs] @cdepillabout merged pull request #82964 → psc-package: Stop using haskellPackages to build → https://git.io/Jv5xJ
<nix-build> [nixpkgs] @cdepillabout pushed 2 commits to master: https://git.io/Jv5xU
<Pwnna> so what does the regular buildEnv function do?
captjakk has quit [Remote host closed the connection]
<ottidmes> Pwnna: symlinks things together, its how environment.systemPackages is implemented too
teto has quit [Ping timeout: 252 seconds]
<Pwnna> when do I use it?
<Pwnna> again I haven't used it at all for my setup for now, but it seems like people use it all the time and I'm somehow doing this wrong?
<ottidmes> it's actually rarely needed, for nix-shell usage, you often want mkShell instead
<Pwnna> yeah that's what I'm doing
<ottidmes> when you do need it, is when you need to have the need to put things together in the same directory structure and want to be able to dictate priorities
lord| has quit [Read error: Connection reset by peer]
<Pwnna> ok so i'm going to assume since idk why i would need that that i don't need to learn it for now
lord| has joined #nixos
<Pwnna> (python36.withPackages (ps: [ps.numpy ps.requests])).env I see the .env again in the manual and I don't get it hmm
nuncanada has quit [Read error: Connection reset by peer]
codygman has quit [Ping timeout: 256 seconds]
dermetfan has quit [Ping timeout: 246 seconds]
magnetophon has quit [Ping timeout: 256 seconds]
<nix-build> [nixpkgs] @mkg20001 opened pull request #83911 → stage-1-init: add boot.persistence option → https://git.io/Jv5xa
reallymemorable has quit [Quit: reallymemorable]
spinus has quit [Quit: Leaving.]
<Pwnna> is it a good idea to pin a sha from nixpkgs if i'm using unstable
<Pwnna> how often are breakages?
<Pwnna> I assume somewhat often?
<psiperator[m]> So i have a problem with using the vagrant-sshfs plugin on a nixos system. The plugin uses hardcoded paths to find a binary called sftp-server which on a nix system is inside the ssh packages libexec directory. libexec isnt (at least by default) linked into the current-system. I got it working temporarily by hand modifying the ruby gem to point to the /nix/store/<hash>/libexec but if theres a better way to do this that I
<psiperator[m]> could either commit to nixpkgs or to the ruby gem i'm all ears
<ottidmes> Good idea to pin? It helps with reproducibility, so yeah, you should probably do so. How often are breakages? I think somewhat often is fair to say, but this is for unstable as a whole, in my experience breakage of packages I happened to be using has been rare
<ottidmes> Pwnna: ^
<nix-build> [nixpkgs] @cdepillabout merged pull request #83879 → matterhorn: fix build → https://git.io/Jv56Q
<Pwnna> ah
<nix-build> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/Jv5pe
<Pwnna> well maybe i should pin it in a comment or something
<Pwnna> because i don't want to just be horribly out of date
<Pwnna> or is there a way to pin to a nixos release
<Pwnna> without actually being on nixos
<ottidmes> not sure I follow, but nix-channel is part of Nix not NixOS, so you can use it whether you use NixOS or not, and there is also niv if you want to pin more easily
captjakk has joined #nixos
reallymemorable has joined #nixos
captjakk has quit [Ping timeout: 264 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
captjakk has joined #nixos
jumper149 has quit [Quit: WeeChat 2.7.1]
<OmnipotentEntity> Pwnna, I was pinned to a particular revision because I needed a very specific set of package versions, and only a handful of sha hashes were available to do that.
<OmnipotentEntity> If you don't need very specific package versions, I wouldn't bother with the effort.
<Pwnna> yeah
<Pwnna> i'm also wondering what's the probability that i come back in 2 month / 2 years and things breaks
<OmnipotentEntity> well, it's just as hard then to do it as it is now. So I'd put it off personally
<OmnipotentEntity> on the flip side if you do pin, you won't get good updates either.
reallymemorable has quit [Quit: reallymemorable]
sasycto has joined #nixos
<Pwnna> yea
<sasycto> I'm trying to use a java application on a relatively new install of nixos, and it seems like it's trying to create a save dialog, which is depending on a gsettings schema from gnome, but none are provided on my system (as I use i3). Is there an established way to expose a default gsettings schema to particular applications?
reallymemorable has joined #nixos
reallymemorable has quit [Client Quit]
<evils> sasycto: i think the approach is to fix the package... for a quick fix, try running it from a `nix-shell -p gsettings-desktop-schemas`?
<Pwnna> is there a way to package a python application along side some shell scripts and executable compiled via another language?
<sasycto> I'll try that, thanks evils!
<nix-build> [nixpkgs] @zowoq opened pull request #83913 → kepubify: 3.1.0 -> 3.1.1 → https://git.io/Jv5pd
<sasycto> I'm still not used to nix-shell, and I haven't finished reading the nix manual yet.
<energizer> ldlework: systemmctl?
<sasycto> Huh, that didn't end up working evils
ottidmes has quit [Ping timeout: 256 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
<sasycto> I'm getting the same error, that it can't find the 'user-home-symbolic-ltr' icon, or the 'hicolor' theme.
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 260 seconds]
felixfoertsch23 is now known as felixfoertsch
<sasycto> I also tried having hicolor-icon-theme as one of the packages in the nix-shell, but that didn't fix it either, I suspect that those packages are not being made available to the JVM correctly.
<colemickens> Does propagatedBuiltInputs work for binaries like, for example, making ffmpeg available to home-assistant package?
<evils> sasycto: (un)fortunately i'm not familiar with java stuff
<nix-build> [nixpkgs] @matthewbauer merged pull request #83891 → retroarch/cores.nix: use correct platform for darwin → https://git.io/Jv5yr
<nix-build> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Jv5ho
<nix-build> [nixpkgs] @matthewbauer merged pull request #83890 → stdenv/linux: remove powerpc64le bootstrap tools → https://git.io/Jv5yu
<nix-build> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Jv5h6
<Pwnna> what's the difference between (ps: [ps.numpy]) and ps: [ps.numpy]
<Pwnna> is the () actually significant here?
<colemickens> I guess, I should ask another way, "how would I make ffmpeg available to home-assistant" either via the package or module?
<gchristensen> it makes the parse clear, Pwnna
<Pwnna> nix repl shows me «lambda @ (string):1:2» and «lambda @ (string):1:1» respectively.
<nix-build> [nixpkgs] @matthewbauer merged pull request #83889 → andyetitmoves: make unconditional → https://git.io/Jv5y8
<nix-build> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Jv5hX
<colemickens> I tried adding it to the systemd unit's path in the module, but I couldn't get it to work.
<Pwnna> gchristensen: what do you mean?
<gchristensen> this isn't parsed the way you want: builtins.trace ps: [ps.numpy] "foo"
<gchristensen> this isn't parsed the way you want: builtins.trace (ps: [ps.numpy]) "foo" is
<Pwnna> so foo is passed into the ps: [ps.numpy] function?
<Pwnna> this syntax is still somewhat unfamiliar to me
WinchellsM has joined #nixos
<WinchellsM> I switched to nixos-19.09 from nixos-18.09 and am getting
<cole-h> Pwnna: It differentiates between `ps:` and `[ps.numpy]` and `(ps: [ps.numpy])`. Without the parens, you get two unrelated segments. The parens "relates" them.
<WinchellsM> The option `boot.loader.efi.efibootmgr' defined in ... does not exist
<Pwnna> ah
<WinchellsM> I have a line which reads
<WinchellsM> boot.loader.efi.efibootmgr.efiPartition = "2";
<hyper_ch> iiieeeks: warning: unable to download 'https://nixos.org/channels/nixos-unstable': HTTP error 302 (curl error: Couldn't resolve host name); retrying in 264 ms
<hyper_ch> 2nd attempt worked :)
<Pwnna> so ever since I switched over to using python.withPackages I can't seem to import opencv anymore...
<Pwnna> whereas previously just doing python37Packages.opencv4 works
<nix-build> [nixpkgs] @cgevans opened pull request #83914 → gwyddion: support darwin → https://git.io/Jv5hA
<pjt_014> quick question: is 20.03 gonna be released at midnight GMT tonight? Is that how it works?
<cjay-> is there a generic way to make cabal-install find C libraries on NixOS?
<evils> pjt_014: you mean 4 hours ago?
<pjt_014> ah.
<pjt_014> hm.
<pjt_014> timezones.
WinchellsM has quit [Quit: Lost terminal]
<pjt_014> hold up it's not on the site yet though
<evils> oh sry, thought that answered your question, no it doesn't release on the last hour of the month :P
<cole-h> pjt_014: Nope, it'll be released when it's ready. Could even be up to the 40th of the month.
<sasycto> Well thanks for the help anyway evils. Since this is time sensitive I guess I'll just have to work on this on another machine, but I can get it figured out in future for later.
<pjt_014> oooh thats my 2nd fave day of the month
<Pwnna> hmmm so I'm trying to use override on the opencv4 package in python.withPackages
<Pwnna> but it doesn't seem to work? import cv2 gives no module found if i have a shell.nix with (nixpkgs.python37.withPackages (ps: [ ps.opencv4.override { enableFfmpeg = true; } ])).env
<cole-h> You might also need to wrap the opencv4 override in parens
tilpner_ has joined #nixos
<cole-h> e.g. `(ps: [ (ps.opencv4.override { enableFFmpeg = true; }) ])`
nikivi has quit [Ping timeout: 252 seconds]
<cole-h> For the same reason I elaborated on earlier: your way make sit look for `ps.opencv4.override`, `{`, `enableFfmpeg`, `=`, `true;`, `}`
<cole-h> s/make sit/makes it/
tilpner has quit [Read error: Connection reset by peer]
tilpner_ is now known as tilpner
matthiaskrgr has quit [Ping timeout: 272 seconds]
anders^ has quit [Remote host closed the connection]
anders^ has joined #nixos
<Pwnna> oh huh
zaeph1 has joined #nixos
<Pwnna> should I just always use () then? I don't quite get the operator precedent
<Pwnna> that worked. thanks a lot
<nix-build> [nixpkgs] @tsaeger opened pull request #83915 → skim: fix vim-plugin output → https://git.io/Jv5jg
zaeph has quit [Ping timeout: 240 seconds]
<cole-h> No problem :)
mexisme_ has joined #nixos
<cole-h> To be safe, I would just wrap parens around anything related. Remember that, in a list at least, spaces are the separator. If things inside have spaces, it will treat the list like all those items are separate
mexisme has quit [Ping timeout: 246 seconds]
mexisme has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
mexisme has quit [Read error: Connection reset by peer]
raingloom has joined #nixos
mexisme has joined #nixos
Athas has quit [Ping timeout: 265 seconds]
edwtjo has quit [Ping timeout: 265 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
Athas has joined #nixos
captjakk has quit [Ping timeout: 240 seconds]
ddellacosta has quit [Ping timeout: 250 seconds]
matthiaskrgr has joined #nixos
chagra_ has joined #nixos
edwtjo has joined #nixos
edwtjo has joined #nixos
edwtjo has quit [Changing host]
nikivi has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #83918 → jc: 1.9.2 -> 1.9.3 → https://git.io/Jv5jp
chagra has quit [Ping timeout: 256 seconds]
snajpa has quit [Quit: ZNC 1.7.1 - https://znc.in]
snajpa has joined #nixos
leonardp has joined #nixos
<nix-build> [nixpkgs] @worldofpeace pushed to master « lollypop: 1.2.23 -> 1.2.32 »: https://git.io/Jvded
<nix-build> [nixpkgs] @worldofpeace pushed to release-20.03 « lollypop: 1.2.23 -> 1.2.32 »: https://git.io/JvdeF
captjakk has joined #nixos
captjakk has quit [Ping timeout: 265 seconds]
codygman has joined #nixos
<nix-build> [nixpkgs] @worldofpeace pushed to master « vscode: Don't hardcode icon »: https://git.io/Jvdvf
<nix-build> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvdvU
<nix-build> [nixpkgs] @r-ryantm opened pull request #83919 → python27Packages.jsbeautifier: 1.10.2 -> 1.10.3 → https://git.io/JvdvO
drakonis has quit [Quit: WeeChat 2.7.1]
<nix-build> [nixpkgs] @offlinehacker opened pull request #83920 → runInLinuxVM, test-driver: disable vmx cpu feature for guest vm → https://git.io/JvdvG
jlv has joined #nixos
<jlv> Where would I set a udev property?
<evils> jlv: i think in services.udev in configuration.nix or a module
CMCDragonkai1 has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #83921 → snscrape: 0.3.0 -> 0.3.1 → https://git.io/JvdvW
<jlv> evils: That looks right :) I somehow missed `services.udev`.
<pjt_014> Is it possible to build an output with nothing but a derivation file?
<energizer> pjt_014: nix-store -r file.drv
<pjt_014> cool. So I can do that even if the file's been moved to another machine?
<pjt_014> I'm guessing yes since arch info is included in them
captjakk has joined #nixos
<energizer> idk
<pjt_014> well I'll let you know in 20ish min :D
<nix-build> [nixpkgs] @worldofpeace pushed to master « elementary-planner: 2.1.1 -> 2.2.14 »: https://git.io/Jvdv0
<pjt_014> As soon as I get said other machine ssh-able
<clever> pjt_014: yeah, you can use nix-copy-closure to move drv's to another machine, and still build them there
<nix-build> [nixpkgs] @worldofpeace pushed to release-20.03 « elementary-planner: 2.1.1 -> 2.2.14 »: https://git.io/JvdvE
captjakk has quit [Ping timeout: 256 seconds]
<pjt_014> one other question: If I have a 'patchShebangs .' in a nix file, is that going to cover everything? Is there anything that'd be missed?
<pjt_014> like build time deps or something?
<srhb> pjt_014: It covers all your inputs as long as they're regular shebangs. It's usually only necessary if you need those shebangs during the build.
<srhb> pjt_014: (It's in fixup by default)
<leonardp> can anyone help me get python3 support for vim working? i tried doing it as described in the wiki (https://nixos.wiki/wiki/Vim#Python_3_support_for_vim) but it doesnt seem to work
<leonardp> ":echo has("python3")" in vim shows "0"
sb0_ has quit [Quit: Leaving]
palo1 has joined #nixos
Darkmatter66_ has joined #nixos
endformationage has quit [Quit: WeeChat 2.6]
Darkmatter66 has quit [Ping timeout: 260 seconds]
palo has quit [Ping timeout: 258 seconds]
palo1 is now known as palo
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<nix-build> [nixpkgs] @worldofpeace pushed to master « nixos/geoclue2: set location.provider to geoclue2 »: https://git.io/Jvdvb
<nix-build> [nixpkgs] @worldofpeace pushed to release-20.03 « nixos/geoclue2: set location.provider to geoclue2 »: https://git.io/JvdvN
bvdw has quit [Read error: Connection reset by peer]
<srhb> leonardp: The wiki looks correct to me, perhaps you can share your vim expression.
bvdw has joined #nixos
<leonardp> i am writing a thread on discourse post right now with the relevant parts. will post the link here
<srhb> ok :)
<nix-build> [nixpkgs] @offlinehacker opened pull request #83922 → xrdp: 0.9.9 -> 0.9.12, refactor → https://git.io/Jvdfe
magnetophon has joined #nixos
zupo_ has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #83924 → python27Packages.sybil: 1.2.2 -> 1.3.0 → https://git.io/Jvdfv
<pjt_014> ,locate ncurses
<nix-build> Found in packages: fpc, lazarus, ncurses.dev, ncurses5.dev, guile-ncurses
<nix-build> [nixpkgs] @jonringer merged pull request #83918 → jc: 1.9.2 -> 1.9.3 → https://git.io/Jv5jp
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « jc: 1.9.2 -> 1.9.3 »: https://git.io/Jvdff
<pjt_014> hmm
<leonardp> srhb https://discourse.nixos.org/t/help-getting-vim-with-python3-support-working/6519 would be nice if you could take a look
<nix-build> [nixpkgs] @jonringer merged pull request #83921 → snscrape: 0.3.0 -> 0.3.1 → https://git.io/JvdvW
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « snscrape: 0.3.0 -> 0.3.1 »: https://git.io/JvdfJ
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.jsbeautifier: 1.10.2 -> 1.10.3 »: https://git.io/JvdfU
<nix-build> [nixpkgs] @jonringer merged pull request #83919 → python27Packages.jsbeautifier: 1.10.2 -> 1.10.3 → https://git.io/JvdvO
<leonardp> this is driving me crazy >_<
<nix-build> [nixpkgs] @r-ryantm opened pull request #83925 → python27Packages.mypy-protobuf: 1.16 -> 1.20 → https://git.io/JvdfI
justanotheruser has quit [Ping timeout: 272 seconds]
<nix-build> [nixpkgs] @offlinehacker opened pull request #83927 → modules/xrdp: refactor → https://git.io/Jvdfn
<srhb> leonardp: What you want to end up with is (pkgs.vim_configurable.override { python = pkgs.python3; }).customize { ... }
<nix-build> [nixpkgs] @offlinehacker opened pull request #83928 → modules/hyperv-guest: improvements → https://git.io/Jvdfl
<leonardp> srhb: so something like this: `(vim_configurable.override { python = python3; }).customize{ imports=[./vim.nix]; }` ?
<srhb> leonardp: I don't thin customize has an imports argument, does it?
<srhb> leonardp: More like: (pkgs.vim_configurable.override { python = pkgs.python3; }).customize { vimrcConfig.packages.myplugins = ...; vimrcConfig.customRc = ....; }
<nix-build> [nixpkgs] @jonringer merged pull request #83925 → python27Packages.mypy-protobuf: 1.16 -> 1.20 → https://git.io/JvdfI
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.mypy-protobuf: 1.16 -> 1.20 »: https://git.io/JvdfE
cfricke has joined #nixos
<nix-build> [nixpkgs] @jonringer merged pull request #83924 → python27Packages.sybil: 1.2.2 -> 1.3.0 → https://git.io/Jvdfv
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.sybil: 1.2.2 -> 1.3.0 »: https://git.io/Jvdfg
<leonardp> srhb i am getting `is not of type `package'.` when i do it like that
<leonardp> ah
<leonardp> i forgot braces...
jtcs has joined #nixos
<leonardp> srhb: it worked! thanks!
<s1341> good morning. Can someone help me understand why my PR failed checks: https://github.com/NixOS/nixpkgs/pull/83856
<leonardp> <3
<s1341> ?
<nix-build> #83856 (by s1341, 22 hours ago, open): zplug: init at 2.4.2
<pjt_014> that is indeed an odd error
<pjt_014> "Failed during the setup of executing nix-env: Os { code: 2, kind: NotFound, message: "No such file or directory" }"
<pjt_014> also "This PR does not cleanly list of package outputs after merging."
knupfer has joined #nixos
<s1341> pjt_014: yup... it was stuck on this check for a good few hours yesterday....
<s1341> and then this.
<pjt_014> That is frustratingly little information. eugh.
CMCDragonkai1 has quit [Ping timeout: 240 seconds]
<s1341> pjt_014: is it possible to retrigger the check?
<pjt_014> I think I've seen someone do @ofborg to activate it...Lemme see if that's actually documented anywhere though
<pjt_014> ah! this is a start: https://github.com/nixos/ofborg
<Emantor> s1341: Your package doesn't have an installPhase, and since its not caught by the usual C builders, no outputs are placed into $out.
<Emantor> s1341: Take a look at https://github.com/NixOS/nixpkgs/pull/73764/files as an example.
<s1341> thanks Emantor looking now
opthomasprime has joined #nixos
lovesegfault has quit [Ping timeout: 252 seconds]
opthomasprime has left #nixos [#nixos]
<pjt_014> hey Emantor: do I need to do anything special to have a build input show up in the $PATH? I got a bug I'm working on and I've (probably) narrowed the problem down to that
<nix-build> [nixpkgs] @worldofpeace pushed to master « nixos/contractor: delete file »: https://git.io/Jvdf5
<nix-build> [nixpkgs] @jonringer merged pull request #83913 → kepubify: 3.1.0 -> 3.1.1 → https://git.io/Jv5pd
<nix-build> [nixpkgs] @jonringer pushed commit from @zowoq to master « kepubify: 3.1.0 -> 3.1.1 »: https://git.io/Jvdfh
<Emantor> pjt_014: got some code as an example? :-)
<pjt_014> yes
<pjt_014> tic (which is part of ncurses) is not available in the installPhase
<nix-build> [nixpkgs] @worldofpeace merged pull request #83245 → qgnomeplatform: hardcode gsettings schemas → https://git.io/JvyBb
<nix-build> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvdJ4
<pjt_014> actually it might secretly be in there
<pjt_014> hold on
<hyper_ch> gchristensen: howdy
<nix-build> [nixpkgs] @worldofpeace pushed to release-20.03 « qgnomeplatform: hardcode gsettings schemas »: https://git.io/JvdJE
<pjt_014> here is the path at that time: https://pastebin.com/FfbwvzbN
<pjt_014> I haven't looked manually in each but I'm reasonably sure none of them contain tic
<nix-build> [nixpkgs] @worldofpeace merged pull request #83625 → nixos/ibus: add ibus portal if portals are enabled → https://git.io/JvQgD
<nix-build> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvdJV
<nix-build> [nixpkgs] @veprbl merged pull request #83816 → texlive.combine: set TEXMFCNF in binary wrapper → https://git.io/Jv5T1
<nix-build> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JvdJr
<nix-build> [nixpkgs] @worldofpeace merged pull request #83717 → nixos/display-managers: don't start pulseaudio → https://git.io/Jv7YY
<nix-build> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvdJo
FRidh has joined #nixos
<Emantor> pjt_014: there is no ncurses in the PATH.
<pjt_014> Yep. any idea why?
<pjt_014> And why it's fine on x86-64?
<Emantor> Ah, you're on ARM?
<pjt_014> aarch64
linarcx has joined #nixos
<pjt_014> but it also fails on arm
<pjt_014> and possibly other systems
extile has joined #nixos
<pjt_014> this is the bug report: https://github.com/NixOS/nixpkgs/issues/83575
<nix-build> #83575 (by petersjt014, 4 days ago, open): dvtm doesn't build for aarch64
<pjt_014> also, did you say ncurses wasn't in the path while looking at the x86-64 version?
<nix-build> [nixpkgs] @offlinehacker opened pull request #83930 → modules/virtualisation: add hyperv-image → https://git.io/JvdJQ
ATuin has joined #nixos
<s1341> Emantor: now I'm getting: "The branch this PR will merge in to does not cleanly evaluate, and so this PR cannot be checked."
<Emantor> pjt_014: no, I was looking at your pastebin
<nix-build> [nixpkgs] @r-ryantm opened pull request #83931 → aws-adfs: 1.21.2 -> 1.24.3 → https://git.io/JvdUL
<Emantor> s1341: this could very well be because your maintainer entry is not present.
linarcx has quit [Quit: WeeChat 2.8]
<s1341> Emantor: ok. My maintainer entry is in a different PR which has not yet been merged.$... should I add it to this PR too?
linarcx has joined #nixos
<Emantor> s1341: attribute 's1341' missing, at /home/phoenix/.cache/nixpkgs-review/pr-83856/nixpkgs/pkgs/shells/zsh/zplug/default.nix:28:21. Yes add it, and modify the other one if it gets merged.
<nix-build> [nixpkgs] @jluttine opened pull request #83932 → kdenlive: set run-time dep paths (fix #83885) → https://git.io/JvdUO
<s1341> Emantor: ok... let me do that.
<cole-h> Bot also looks like it's struggling again (see all the other PRs with red x marks that should probably be fine)
FRidh has quit [Ping timeout: 256 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FRidh has joined #nixos
mexisme has quit [Read error: Connection reset by peer]
leonardp has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
choward has quit [Quit: Ping timeout (120 seconds)]
Mrmaxmeier has quit [Quit: Ping timeout (120 seconds)]
<Emantor> Yeah, you're right.
Mrmaxmeier has joined #nixos
choward has joined #nixos
kisonecat has quit [Quit: ZNC 1.7.5 - https://znc.in]
duckfullstop has quit [Quit: Why do you need...?]
lemsip has quit [Quit: bye]
plp_ has quit [Quit: No Ping reply in 180 seconds.]
duck_ has joined #nixos
sigtrm has quit [Quit: No Ping reply in 180 seconds.]
leonardp has joined #nixos
sigtrm has joined #nixos
plp_ has joined #nixos
cole-h has quit [Ping timeout: 265 seconds]
Maxdamantus has quit [Ping timeout: 265 seconds]
multun has quit [Ping timeout: 265 seconds]
dev3 has quit [Ping timeout: 265 seconds]
kisonecat has joined #nixos
emilsp has joined #nixos
Maxdamantus has joined #nixos
dev3 has joined #nixos
cole-h has joined #nixos
<nix-build> #83929 (by jonringer, 46 minutes ago, open): OfBorg down
lsix has joined #nixos
zaeph1 is now known as zaeph
<ehmry> is there a nixos option to create directories and set permsissions?
<ehmry> I'm supprised not to find something like this in the options
<srk> it's discouraged :D
Nafai has joined #nixos
multun has joined #nixos
captjakk has joined #nixos
linarcx has quit [Read error: Connection reset by peer]
xelxebar has quit [Remote host closed the connection]
mallox has joined #nixos
xelxebar has joined #nixos
<s1341> Emantor: added maintainer, but still getting the same error.
captjakk has quit [Ping timeout: 250 seconds]
linarcx has joined #nixos
<nix-build> #83929 (by jonringer, 1 hour ago, open): OfBorg down
<cole-h> Bot is dead(ish)
<nix-build> [nixpkgs] @jonringer opened pull request #83933 → Revert "nixos/geoclue2: set location.provider to geoclue2" → https://git.io/JvdUb
justanotheruser has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
cole-h has quit [Quit: Goodbye]
maxter has joined #nixos
c382feb9 has joined #nixos
Guest62967 is now known as sphalerite
cr4y1 has joined #nixos
Ariakenom has joined #nixos
<nix-build> [nixpkgs] @kwohlfahrt closed pull request #67989 → nixos/hardware.deviceTree: Allow use of dtmerge → https://git.io/fjpFh
emery[m] has joined #nixos
zupo has joined #nixos
knupfer has quit [Remote host closed the connection]
captjakk has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #83934 → act: 0.2.6 -> 0.2.7 → https://git.io/JvdTX
<nix-build> [nixpkgs] @lheckemann merged pull request #83516 → [19.09] matrix-synapse: 1.11.1 -> 1.12.0 → https://git.io/JvHyi
<nix-build> [nixpkgs] @lheckemann pushed 4 commits to release-19.09: https://git.io/JvdT1
kleisli__ has quit [Remote host closed the connection]
kleisli__ has joined #nixos
<nix-build> [nixpkgs] @lheckemann merged pull request #81429 → endless-sky: 0.9.10 -> 0.9.11 → https://git.io/JvgpM
<nix-build> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/JvdTy
captjakk has quit [Ping timeout: 260 seconds]
turion has joined #nixos
knupfer has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #83935 → amass: 3.5.1 -> 3.5.4 → https://git.io/Jvdkv
klys has quit [Quit: Lost terminal]
justanotheruser has quit [Ping timeout: 246 seconds]
justanotheruser has joined #nixos
ok2` has joined #nixos
kleisli__ has quit [Remote host closed the connection]
kleisli__ has joined #nixos
missionformilk has quit [Ping timeout: 240 seconds]
smatting has joined #nixos
<nix-build> [nixpkgs] @saschagrunert opened pull request #83936 → cri-tools: v1.17.0 -> v1.18.0 → https://git.io/Jvdk5
<nix-build> [nixpkgs] @r-ryantm opened pull request #83937 → bdf2sfd: 1.1.0 -> 1.1.1 → https://git.io/JvdkF
<s1341> colemickens: i see. thanks!
jlv has quit [Remote host closed the connection]
smatting has quit [Ping timeout: 250 seconds]
smatting has joined #nixos
missionformilk has joined #nixos
sigmundv_ has joined #nixos
tdeo has quit [Remote host closed the connection]
tdeo has joined #nixos
tdeo has joined #nixos
tdeo has quit [Changing host]
kenran has joined #nixos
kenran has quit [Client Quit]
c382feb9 has quit [Ping timeout: 265 seconds]
kenran has joined #nixos
klys has joined #nixos
missionformilk has quit [Ping timeout: 265 seconds]
roosemberth has joined #nixos
NeoCron has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #83938 → bitcoin-abc: 0.21.1 -> 0.21.3 → https://git.io/JvdIO
asheshambasta has joined #nixos
<nix-build> [nixpkgs] @jonringer merged pull request #83933 → Revert "nixos/geoclue2: set location.provider to geoclue2" → https://git.io/JvdUb
<nix-build> [nixpkgs] @jonringer pushed to master « Revert "nixos/geoclue2: set location.provider to geoclue2" »: https://git.io/JvdIW
asheshambasta has quit [Ping timeout: 272 seconds]
<nix-build> [nixpkgs] @dywedir merged pull request #83908 → nushell: 0.11.0 -> 0.12.0 → https://git.io/Jv5Ni
<nix-build> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JvdI8
Darkmatter66_ has quit [Ping timeout: 265 seconds]
<nix-build> [nixpkgs] @r-ryantm opened pull request #83939 → bitwarden: 1.17.0 -> 1.17.2 → https://git.io/JvdIa
ambroisie has quit [Ping timeout: 256 seconds]
Darkmatter66 has joined #nixos
fendor has joined #nixos
jtcs has quit [Remote host closed the connection]
jtcs has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #83940 → bitwarden_rs: 1.14 -> 1.14.1 → https://git.io/JvdIi
<jluttine> is it possible to browse nixos options somehow? there's the web page for searching the options, but i'd like to browse them as they form a tree like structure
linarcx has quit [Quit: WeeChat 2.8]
<nix-build> [nixpkgs] @r-ryantm opened pull request #83941 → bitwarden_rs-vault: 2.12.0e -> 2.13.2 → https://git.io/JvdIp
Mateon1 has quit [Ping timeout: 240 seconds]
<qy[m]> use nixos-option
<qy[m]> On a terminal
Mateon1 has joined #nixos
<nix-build> [nixpkgs] @rnhmjoj merged pull request #83610 → dnscrypt-proxy2: 2.0.39 -> 2.0.42 → https://git.io/JvQlg
<nix-build> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JvdLU
<nix-build> [nixpkgs] @Mic92 merged pull request #83939 → bitwarden: 1.17.0 -> 1.17.2 → https://git.io/JvdIa
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvdLk
Makaveli7 has joined #nixos
<pjt_014> jluttine: man configuration.nix is much faster
noudle has joined #nixos
ottidmes has joined #nixos
<pjt_014> use / to search
<nix-build> [nixpkgs] @Mic92 merged pull request #83934 → act: 0.2.6 -> 0.2.7 → https://git.io/JvdTX
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvdLZ
<evils> not if this april fools joke gets through, #83871
<nix-build> https://github.com/NixOS/nixpkgs/pull/83871 (by edolstra, 20 hours ago, open): documentation.nixos.enable: Default to false
palo has quit [Ping timeout: 264 seconds]
<jluttine> pjt_014: oh, nice! didn't know about that, thanks
CptCaptain has joined #nixos
o1lo01ol1o has joined #nixos
<pjt_014> np :)
<pjt_014> the / shortcut is available on all man pages
<pjt_014> and anything you open with less (or vim and a number of other programs)
thc202 has joined #nixos
<jluttine> pjt_014: ah, yes, i knew about / but not about man configuration.nix :)
wfranzini has joined #nixos
<pjt_014> soz, didnt know
thc202 has quit [Max SendQ exceeded]
thc202 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
m0rphism has joined #nixos
<ottidmes> I thought you could add options to submodules by letting them be merged, as seems to be done here: https://gist.github.com/danbst/f1e81358d5dd0ba9c763a950e91a25d0, yet when I try myself, I get an error about the option already being defined
<nix-build> [nixpkgs] @r-ryantm opened pull request #83942 → broot: 0.13.4 -> 0.13.5b → https://git.io/JvdLw
thc202 has quit [Remote host closed the connection]
<jluttine> is anyone using emacs+magit for nixpkgs? it takes about 5-10s to open the magit window/buffer.. i wonder if it's possible to improve that somehow
<etu> I am
<qyliss> Magit developer isn't really interested IIRC
thc202 has joined #nixos
<etu> I've been thinking of having a copy of nixpkgs in tmpfs to work on
<qyliss> It gets longer themore uncommitted changes youhave
Ariakenom has quit [Quit: WeeChat 2.7]
<jluttine> actually, it's about 20s
<adisbladis> etu: Would it really help?
<alexarice[m]> ottidmes: I think the options need to be defined in separate modules to be merged
<qyliss> adisbladis: probably!
<adisbladis> Hm, best way to find out is to try it out :)
<etu> adisbladis: Maybe? git (not magit) get slower on bigger repos. So faster drive may help.
<pjt_014> An editor that does lazy evaluation would help too
<etu> And then have your actually stored copy as remote so you can push to your ssd :p
<etu> I've have had worse ideas
cr4y1 has quit [Remote host closed the connection]
cr4y1 has joined #nixos
<adisbladis> My completely unscientific subjective test: Maybe there was a slight improvement?
Ariakenom has joined #nixos
* sevanspowell I'm having this issue using "callCabal2nix" in 20.03. Can anyone explain to me why, in this gist: https://gist.github.com/sevanspowell/baa3f2cbb973adf21904d2eb5a0578fa, running "make working" works and "make broken" doesn't? I haven't been able to identify any changes myself.
* sevanspowell Sorry, posted as an action...
<sevanspowell> Ugh, muscle memory
<ottidmes> alexarice[m]: Thanks, but the problem apparently was that I had to make sure to use the exact same main type, I used attrsOf, but it should have been loaOf, now its working
<alexarice[m]> ottidmes: ah that makes sense
<alexarice[m]> I thought loaOf was deprecated
<ottidmes> it is, hence I did not use it at first ;) for now they keep it there but let it generate a warning if used in a way that cannot be later replaced by attrsOf
<alexarice[m]> Maybe file a bug? pretty sure it should have been removed and changed to attrsOf
leonardp has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @r-ryantm opened pull request #83943 → c-blosc: 1.17.1 -> 1.18.1 → https://git.io/JvdLd
<ottidmes> alexarice[m]: no, its intended, you do not want peoples code to break on upgrade without any warning, its deprecated, as in, it should not be used for new stuff, but the old stuff keeps it around a while, so that it can produce warnings and time for people to move away to the new approach
<nix-build> [nixpkgs] @r-ryantm opened pull request #83944 → cargo-expand: 0.4.18 -> 0.4.19 → https://git.io/JvdtI
<ottidmes> Probably something I am overseeing, but I now get: "The option `users.users.dehydrated.dirs' defined in `/cfg/shared/modules/files.nix' does not exist." yet I am not setting dirs anywhere, except indirectly through the default = {}; but how can it then not exist (would the option then not exist as well)
<tilpner> ottidmes: Explore with nix repl
<nix-build> [nixpkgs] @bqv opened pull request #83945 → weechatScripts.weechat-matrix: unstable-2020-01-21 -> 0.1.0 → https://git.io/JvdtZ
<tilpner> ottidmes: n = import <nixos/nixpkgs> {}
<tilpner> ottidmes: Then investigate n.options.users.users
<tilpner> nixos-option does much of the same, so that may be good enough as well
chagra_ has quit [Ping timeout: 250 seconds]
<qy[m]> People cheer magit so much but I've yet to have it be more conveinent than the git cli
<adisbladis> qy[m]: Do you even rebase?
<tilpner> Did you compare partial staging of changes in a file?
<adisbladis> rebase & partial staging of diffs are killer features for me
<tilpner> git cli doesn't do very well there
<ottidmes> tilpner: I just tried, and when I look at options.users.users.value it is basically an attrset of errors
<Taneb> ...I do both of those with the CLI
<tilpner> ottidmes: No, I mean .definitions and .files
<Taneb> More or less happily
<adisbladis> Taneb: You can do it, it's just not nearly as ergonomic as magit makes it
<tilpner> Actually, you can't?
<tilpner> git will tell you this hunk can be split no longer
coco has quit [Ping timeout: 240 seconds]
<Taneb> Then you press e and it opens your editor
<tilpner> Oh, really? :o
<ottidmes> tilpner: I am seeing all the definitions for users indeed, no surprises and no mention of dir anywhere
<qy[m]> <adisbladis "qy: Do you even rebase?"> Regularly
<qy[m]> I use vim too so interactive rebases are real fast for me
<tilpner> ottidmes: There's a lot that could go wrong, and I know practically nothing of your setup
<tilpner> ottidmes: Try to reduce the error, until it fits into two reasonably small files
captjakk has joined #nixos
<tilpner> ottidmes: That might reveal the error by itself, but if it doesn't, it will help #nixos help you when you paste them
<nix-build> [nixpkgs] @r-ryantm opened pull request #83946 → checkstyle: 8.30 -> 8.31 → https://git.io/Jvdto
<adisbladis> I still use the git cli sometimes, but hot damn magit is great :>
<ottidmes> tilpner: Yep, guess I will try to make it smaller to pin point the issue
knupfer has quit [Remote host closed the connection]
__monty__ has joined #nixos
<tilpner> ottidmes: Your module is pretty similar to mine, and mine works fine: https://github.com/tilpner/nur-packages/blob/master/modules/user-files.nix#L20-L23
captjakk has quit [Ping timeout: 256 seconds]
mexisme has quit [Ping timeout: 246 seconds]
<nix-build> [nixpkgs] @r-ryantm opened pull request #83947 → chezmoi: 1.7.16 -> 1.7.18 → https://git.io/JvdtP
<nix-build> #83945 (by bqv, 15 minutes ago, open): weechatScripts.weechat-matrix: unstable-2020-01-21 -> 0.1.0
<ottidmes> tilpner: This is the problematic bit of code: https://gist.github.com/msteen/53743aeefbb22ae1bcbfc8c830ac4fa4
<ottidmes> tilpner: Thanks, I found the problem!
<ottidmes> tilpner: I was setting the options as config... should have wrapped them in an options = { }, after seeing your code
captjakk has joined #nixos
<kenran> in my `mkShell` call for a Haskell application, I set an environment variable to the store path of another self-written nix expression (which creates a .ini file). This is the nix expr I use `nix-build` on https://pastebin.com/2nAfAhKW. Can I add my ini-file.nix "in there" somehow to make that part of the final derivation?
<tilpner> Ahh, good
<nix-build> [nixpkgs] @sikmir opened pull request #83948 → gpxsee: 7.25 -> 7.27 → https://git.io/Jvdtb
<tilpner> ottidmes: While you're doing unconventional things with your users, https://github.com/tilpner/nur-packages/blob/master/modules/users.nix
<kenran> I know this is vague, I'm still trying to understand the concepts. My goal would be to have a binary that somehow contains all the information necessary to run it "on its own", and that includes this ini file and a special environment variable.
o1lo01ol1o has joined #nixos
coco has joined #nixos
<kenran> I don't know if that's possible. I know it's possible with what you showed me yesterday (systemd service), but in reality the ini and environment variable "belong" to the derivation I create, and not to the systemd service imho.
<ottidmes> tilpner: what is that for? although I guess it is similar to my realUsers :P
<tilpner> ottidmes: It's so I don't have to litter my reusable config files with "tilpner"
kleisli__ has quit [Remote host closed the connection]
<tilpner> A means of indirection when talking about the human user
kleisli__ has joined #nixos
<adisbladis> kenran: Either create a wrapper derivation or wrap the binary inside your "main derivation" using wrapProgram
captjakk has quit [Ping timeout: 258 seconds]
Twey has quit [Ping timeout: 256 seconds]
pjt_014 has quit [Ping timeout: 264 seconds]
<ottidmes> tilpner: ah for that I have the admin option (your primary I guess)
yourfate has quit [Remote host closed the connection]
cartwright has quit [Ping timeout: 240 seconds]
yourfate has joined #nixos
<tilpner> I disagree with the assumption that all human users must be admins, but my name primary is bad too, it's hard to name
chagra_ has joined #nixos
Twey has joined #nixos
cartwright has joined #nixos
civodul has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #83949 → clojure-lsp: 20200305T151710 -> 20200314T202821 → https://git.io/Jvdqc
roosemberth has quit [Ping timeout: 240 seconds]
<ottidmes> tilpner: I disagree with the assumption it was meant for all human users :P its truly meant to specify the admin
<ottidmes> tilpner: but now I am going to add a primary :P cause thinking about it, I do hard code that, although most of the time it just defaults to the admin
<nix-build> [nixpkgs] @r-ryantm opened pull request #83950 → cloudflare-wrangler: 1.8.1 -> 1.8.4 → https://git.io/JvdqV
linarcx has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #83952 → compcert: 3.6 -> 3.7 → https://git.io/Jvdq9
<qy[m]> Mm, I might do similar
ZaraChimera has quit [Quit: Leaving]
<qy[m]> Good idea
<qy[m]> Oh, then again, I've actually already limited both my username references to one file. Maybe I'll leave it
raingloom has quit [Ping timeout: 240 seconds]
<ottidmes> qy[m]: Then you need to write more NixOS config! :P
laduke has quit [Ping timeout: 252 seconds]
Naptra has joined #nixos
leonardp has joined #nixos
cr4y1 has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @r-ryantm opened pull request #83953 → conftest: 0.18.0 -> 0.18.1 → https://git.io/JvdqF
turion has quit [Ping timeout: 272 seconds]
tilpner has quit [Quit: tilpner]
<qy[m]> I have plenty :p it's just well structured
cr4y1 has joined #nixos
<qy[m]> I import from within the user module to avoid redeclaring it
<qy[m]> So I only need to reference users.users.me and home-manager.users.me once each
<ottidmes> Mine is well structured too, but I have quite a bit of user config structured over multiple files
laduke has joined #nixos
chagra has joined #nixos
chagra_ has quit [Ping timeout: 256 seconds]
<nix-build> [nixpkgs] @r-ryantm opened pull request #83954 → coredns: 1.6.7 -> 1.6.9 → https://git.io/JvdmL
tilpner has joined #nixos
<qy[m]> tilpner: if you don't have merge powers, can I at least get a review
<tilpner> qy[m]: Approve is not good enough?
cr4y1 has quit [Read error: Connection reset by peer]
cr4y1 has joined #nixos
<nix-build> [nixpkgs] @primeos pushed to master « android-studio: 3.6.1.0 -> 3.6.2.0 »: https://git.io/Jvdmz
<qy[m]> Ah, hadnt seen that
<qy[m]> I hadnt refreshed in the last 3 minutes
<tilpner> qy[m]: I was testing it wrong for a while, and it didn't find logbook
<qy[m]> Thanks
<tilpner> And then my laptop had to reboot, X was getting weird
xkapastel has joined #nixos
<tilpner> And of course systemd insisted on the 2.5min timeout
<tilpner> And for some reason sysrq is disabled now...
turion has joined #nixos
<qy[m]> Haha, I see
arahael2 has quit [Quit: WeeChat 2.4]
<tilpner> It seems that was a 19.09 change already?
<qy[m]> Huh?
<nix-build> [nixpkgs] @globin pushed 1000 commits to structured-attrs: https://git.io/Jvdm9
<tilpner> The sysrq thing
<tilpner> "We now install the sysctl snippets shipped with systemd." -- 19.09 changelog
<qy[m]> Interesting…
<tilpner> Yes, I know it's a security thing, but I want my REISUB
<qy[m]> :D
<nix-build> [nixpkgs] @r-ryantm opened pull request #83955 → dcm2niix: 1.0.20190902 -> 1.0.20200331 → https://git.io/Jvdmj
<nix-build> [nixpkgs] @primeos opened pull request #83956 → chromium: 80.0.3987.149 -> 80.0.3987.162 → https://git.io/JvdYt
cr4y1 has quit [Remote host closed the connection]
* tilpner boot.kernel.sysctl."kernel.sysrq" = 244;
<nix-build> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvdY3
<nix-build> [nixpkgs] @mmahut opened pull request #83957 → python3Packages.trezor: 0.11.6 -> 0.12.0 → https://git.io/JvdYs
<ottidmes> tilpner: does that mean that I can no longer emergency kill my system through sysrq?
<tilpner> ottidmes: 244 allows REISUB, the current default of 16 doesn't
<tilpner> But I'm still testing, I didn't mean to allow OOM
<nix-build> [nixpkgs] @mmahut merged pull request #83876 → nixos/magic-wormhole-mailbox-server: moving from mail to networking → https://git.io/Jv5rU
<nix-build> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JvdYZ
<nix-build> [nixpkgs] @r-ryantm opened pull request #83958 → dnsproxy: 0.23.7 -> 0.24.0 → https://git.io/JvdYn
<tilpner> And it's quite irritating to not be able to tell your system "yes, I know the risks, let me do it anyway"
<tilpner> (Where's the manpage that described sysctl value?)
cr4y1 has joined #nixos
<tilpner> Hmm, oom is grouped with term/kill, I guess it'll be fine™
<nix-build> [nixpkgs] @r-ryantm opened pull request #83959 → dolt: 0.15.0 -> 0.15.2 → https://git.io/JvdYg
<qy[m]> Hmm
ambroisie has joined #nixos
rauno has quit [Remote host closed the connection]
roosemberth has joined #nixos
FRidh2 has joined #nixos
FRidh has quit [Ping timeout: 264 seconds]
<xfix> i'm not sure why systemd changes kernel.sysrq, but at least you can change it if necessary
<tilpner> But I would have to read the changelog for that! /s
<srk> I've set it to 1 recently to be able to trigger OOM, managed to kill my session few days ago :D
noudle has quit []
<tilpner> srk: If you want to prohibit "control of console logging level", "debugging dumps of processes etc.", "nicing of all RT tasks", set it to 244
<tilpner> Not like that makes much of a difference
pbogdan has joined #nixos
<nix-build> [hydra] @edolstra merged pull request #726 → Document SlackNotifications plugin → https://git.io/Jv9W0
<nix-build> [hydra] @edolstra pushed 4 commits to master: https://git.io/JvdYd
<nix-build> [hydra] @edolstra pushed 2 commits to master: https://git.io/JvdYN
<nix-build> [hydra] @edolstra merged pull request #704 → hydra-queue-runner: sleep 5s after handling an exception → https://git.io/JvJ9Z
<xfix> kernel.sysrq = 16 means only syncing is allowed
<srk> tilpner: I don't mind if they are enabled, I find it frustrating when some options are disabled when trying to do some sysrq magic
<nix-build> [hydra] @edolstra merged pull request #707 → Fix printing aggregate status → https://git.io/JvqhT
<nix-build> [hydra] @edolstra pushed 2 commits to master: https://git.io/JvdYx
<nix-build> [nixpkgs] @zimbatm pushed to master « .github/CODEOWNERS: remove myself from it »: https://git.io/JvdYp
<qy[m]> <xfix "i'm not sure why systemd changes"> Part of its domain creep…
<srk> OOM trigger is by far the most useful one for me, not having to wait 15+ minutes till OOM killer reacts
<srk> maybe earlyoom
<srk> ?
<ottidmes> so having: boot.kernel.sysctl."kernel.sysrq" = 244; would enable most of the useful sysrq magic again?
<tilpner> ottidmes: It enabled everything necessary for REISUB, and as little else as I could
<hyper_ch> hmmmm, it's no longer necessary to set zfs mounts to legacy?
<tilpner> ottidmes: See Documentation/admin-guide/sysrq.rst in your kernel checkout
<nix-build> [hydra] @edolstra merged pull request #702 → Handle case where jobset has no defined errormsg for api/jobsets → https://git.io/JvfEd
<nix-build> [hydra] @edolstra pushed 3 commits to master: https://git.io/JvdOe
<tilpner> ottidmes: Depending on who you are, the is useful sysrq magic it does not enable
<tilpner> *there is
<ottidmes> tilpner: my kernel checkout, hah, as if, this works just as well: https://github.com/torvalds/linux/blob/master/Documentation/admin-guide/sysrq.rst :P
<tilpner> Yeah, that's why I wondered where the manpage was
chloekek has joined #nixos
<tilpner> But if we just assume everyone has a kernel checkout, we don't have to worry about that
<ottidmes> why would I need? enable control of keyboard (SAK, unraw), I mean it seems important to have control of your keyboard, but never lost that
<tilpner> I'm not quite sure when unraw is necessary, but it's supposedly taking away control of the keyboard from X
salumu is now known as sMuNiX
<tilpner> It might be fine not to whitelist it, but unlike the other categories it doesn't seem that abusable
<ottidmes> Haha, just found out I had boot.kernel.sysctl."kernel.sysrq" = 0; in my default configuration used everywhere XD, must have been in environments (like stage1 initrd) where that was not yet set when I used sysrq last
zeenk has joined #nixos
lsix1 has joined #nixos
qyliss has quit [Quit: bye]
Shell has quit [Quit: ZNC 1.7.5 - https://znc.in]
<hyper_ch> trying now with root encrypted zfs to just use zfs to mount everything including /
cosimone has joined #nixos
<hyper_ch> but since /boot is still different it may be a problem
ATuin has quit [Ping timeout: 256 seconds]
<nix-build> [nixpkgs] @zimbatm opened pull request #83960 → google-compute-engine-oslogin: fix bash reference → https://git.io/JvdOG
<tilpner> hyper_ch: That assume the zfs-mount-generator is used. Is it?
kleisli__ has quit [Remote host closed the connection]
<hyper_ch> tilpner: it booted all fine
<tilpner> That's not enough
kleisli__ has joined #nixos
<tilpner> You can't argue for the absence of a race condition with "it worked for me this one time"
Shell has joined #nixos
<qy[m]> Is there any actual point to installing guix through nix
<qy[m]> I see that pacman has a package, but surely guix can just go ahead and manage itself
<tilpner> qy[m]: Using/contributing to their equivalent of nixpkgs?
qyliss has joined #nixos
cosimone has quit [Client Quit]
<tilpner> Oh, in contrast to installing it independently
o1lo01ol1o has quit [Remote host closed the connection]
mananamenos has joined #nixos
<tilpner> Can it be installed independently, including daemon (which I assume they still have)?
<hyper_ch> generate-nixos-config still made proper entry for /
dermetfan has joined #nixos
knupfer has joined #nixos
o1lo01ol1o has joined #nixos
<tilpner> hyper_ch: Why are you showing me this?
<hyper_ch> tilpner: because you replied... :)
<tilpner> hyper_ch: That still proves nothing though
<nix-build> [nixpkgs] @r-ryantm opened pull request #83962 → emplace: 0.2.12 -> 0.2.14 → https://git.io/JvdOw
<hyper_ch> zpool -o altroot=/mnt -O mountpoint=none ...... tank /dev/sda2 ; zfs create -o encryption .... -o mountpoint=none tank/encZFS ; zfs create -o mountpoint=/ ... tank/encZFS/Nixos
<tilpner> Okay?
knupfer has quit [Remote host closed the connection]
<hyper_ch> that didn't use to work in the past. You had to use legacy mount and set it in the hardware configuration if you altered it later on
<tilpner> I still don't understand when zfs-mount-generator is ran
<tilpner> It exists in ${zfs}/lib/systemd/system-generator/zfs-mount-generator
<tilpner> And it's possible systemd magically picks that up
<tilpner> Which would explain why it's never mentioned in nixpkgs
<hyper_ch> but if zfs autmount now is working, I can just do zfs create -o mountpoint=/VMs/newVM tank/encZFS/VMs/newVM and it will be also automounted
<tilpner> But the other explanation is "it needs setup, and nobody did it", which would mean this is an unsafe setup and should not be recommended
<tilpner> I'm not saying either is right, because I don't have that information yet
<tilpner> hyper_ch: Yes, I can see that. But "it's working" is not good enough
bvdw has quit [Read error: Connection reset by peer]
<tilpner> (Depending on what you do with that conclusion, at least)
<hyper_ch> it means I can alter a few things for my setups :)
bvdw has joined #nixos
<aranea> I've got a module defining an option "options.foo.type = types.attrsOf (types.submodule sub)", and another module setting "config.foo.bar = {}", but nixos-rebuild fails with "the option foo.bar [..] does not exist". What am I missing?
<tilpner> hyper_ch: Can you show me the result of systemctl list-units --type mount?
kleisli__ has quit [Remote host closed the connection]
<aranea> ("config.foo = {}" doesn't fail, so nix is seeing the definition of the option)
kleisli__ has joined #nixos
<qy[m]> <tilpner "Can it be installed independentl"> I think so. The daemon would have to be set up through nix, of course
mhe has joined #nixos
<infinisil> aranea: You probably need to query nixos-option for "foo.<name>" or so
mexisme has joined #nixos
<infinisil> aranea: Because foo.bar isn't an option, it's just a value of an option
<aranea> Indeed. But the type checker won't let me assign anything to it.
<ottidmes> aranea: are you sure in sub foo is defined as part of options and is defined with mkOption (I just now made the mistake of forgetting to wrap my options with options in my submodule)
<nix-build> [nixpkgs] @peti opened pull request #83963 → Haskell updates → https://git.io/JvdO5
<mhe> Hi guys, I was able to add the nix package manager to a minimal arch linux install and I added gdm, gnome, gnome-desktop but there is no such thing as a gdm.service
<mhe> I want to use nix on my LFS install and first I am testing on arch to know what I need to compile before adding nix
<aranea> ottidmes: Ohhh, I was missing the outer "options = { ... }" part of the submodule definition. Let's see if that fixes things.
<qyliss> mhe: the best thing to do is try compiling Nix and see what it complains is missing
<ottidmes> infinisil: got two questions for you, I saw post some code that created a safe derivation name recently, I have written my own, but wanted to compare, you still have that around somewhere, it's hard to google
<hyper_ch> tilpner: anything else you need to see before I destroy the vm?
<mhe> that is a good idea but do I need a nix config to start daemons like gdm?
<aranea> nope, that's apparently not the only problem.
mexisme has quit [Ping timeout: 272 seconds]
<tilpner> hyper_ch: This is the simplest setup possible
<mhe> I mean the systemctl enable command does not know of gdm.service even though I installed it with nix
<qyliss> mhe: Nix doesn't install or manage services
<tilpner> hyper_ch: If you want any confidence, you should try adding more datasets, and make sure systemd services depend on the data contained
<infinisil> ottidmes: #83241 now :)
<nix-build> https://github.com/NixOS/nixpkgs/pull/83241 (by Infinisil, 1 week ago, open): lib/strings: Add `sanitizeDerivationName` function
<tilpner> hyper_ch: Right now, I'm still convinced this is as dangerous as it always was
<mhe> then how do I start gdm, powertop, ...? where to start reading how to use it?
<hyper_ch> tilpner: made now seperate /home and users00{1..3}
<tilpner> hyper_ch: Not just home, try /var and make sure there's a service that needs it, which is started at boot
<qyliss> mhe: You'll need to supply your own systemd unit files. You could also try using the NixOS modules for those services, but that's a very advanced area and not supported.
<mhe> ok, I need to read more then, thanks
<ottidmes> infinisil: the other question is if you know how write files-home.nix https://gist.github.com/msteen/fb56dc5de2033eca92473a7a7dd9e747 such that I can reuse the submodule defintion, but pass it the correct root argument (see files.nix)
<tilpner> All you LFS people should group together and document your hacks
<hyper_ch> tilpner: I'll start anew with more or less all standard linux folders
packer has quit [Quit: ByeBye]
<ottidmes> infinisil: thanks! no wonder I could not locate it in lib, even though I thought I had seen it in lib :P
<tilpner> mhe: I think you are the third this year, search logs if you want to contact the other ones
<nix-build> [nixpkgs] @r-ryantm opened pull request #83964 → fly: 5.8.0 -> 6.0.0 → https://git.io/Jvd3L
<tilpner> qy[m]: If it needs integration with Nix to setup on NixOS, I think it makes sense for it to be in nixpkgs, like everything else
<nix-build> [nixpkgs] @peti pushed to haskell-updates « LTS Haskell 15.6 »: https://git.io/Jvd3s
<nix-build> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jvd3n
<qy[m]> <tilpner "qy: If it needs integration with"> how best to integrate it, though? i'm thinking have a guix-boostrap package that fetches and builds guix, and then hands off to guix to build itself?
<nix-build> [nixpkgs] @r-ryantm opened pull request #83965 → flyctl: 0.0.102 -> 0.0.110 → https://git.io/Jvd3B
<tilpner> qy[m]: Note that I have not used guix in any way that should be mentioned. I would expect a module to setup /gnu, the daemon, and the user tools
<qy[m]> yes, just that, naturally guix sets up it's own guix binary, so the one embedded in nix can't be the one that ends up in the profiles, because otherwise guix can't update itself
<ottidmes> infinisil: guess I rewrite it not to be a function producing a submodule, but by passing that argument as an option
<qy[m]> perhaps i'll give this a go, though
<tilpner> qy[m]: Is it a problem that guix can't update itself?
<Yaniel> does nixpkgs have a special stresstest status with github yet :D
<qy[m]> <tilpner "qy: Is it a problem that guix ca"> hmm, i would have thought so, since if nix uses an old version of guix but then guix uses a newer version and updates the store, using the old nix version might break things?
<tilpner> qy[m]: I don't understand. Wouldn't there only be one guix version used on the system? Or are you sharing a store with another version on a dual-installed system?
<qy[m]> tilpner: guix has it's own store at /gnu/store
<qy[m]> as well as it's own profiles at /var/guix
<aranea> hrm, the minimal example I spun up to demonstrate the problem doesn't actually exhibit it. Gonna grab a coffee and then incrementally make it match my actual setup until problems arise.
<qy[m]> it's essentially a carbon copy of nix with all the key paths renamed
<nix-build> [nixpkgs] @r-ryantm opened pull request #83966 → ft2-clone: 1.09 -> 1.15 → https://git.io/Jvd3X
<tilpner> Yes, I understand that. I don't understand yet when things might break, as you mentioned above
<qy[m]> well, i'm envisioning that guix the package would be installed in the nix store, as well as guix the system in the gnu store
<qy[m]> hence my idea of the nix package just being a bootstrap guix that hands off to the guix guix
rickynils has joined #nixos
<tilpner> Why would guix also be installed in the gnu store?
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<qy[m]> i imagine guix expects itself to exist
<qy[m]> i may be wrong
<qy[m]> i don't see how it would handle profiles etc. otherwise
<nix-build> [nixpkgs] @r-ryantm opened pull request #83967 → fusee-interfacee-tk: 1.0.0 -> 1.0.1 → https://git.io/Jvd3d
<nix-build> [nixpkgs] @flokli merged pull request #83960 → google-compute-engine-oslogin: fix bash reference → https://git.io/JvdOG
<nix-build> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jvd3b
igghibu has joined #nixos
<tilpner> qy[m]: I don't see why it should, but it still might. You should probably test that
xelxebar has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @r-ryantm opened pull request #83968 → fwup: 1.5.1 -> 1.5.2 → https://git.io/Jvdse
pingiun has joined #nixos
<pingiun> matrix-synapse-1.11.1 isn't building for me because the dependency pysaml2-4.8.0 has failed tests
<nix-build> [nixpkgs] @globin closed pull request #53048 → WIP: gitlab-runner: Allow reload instead of restart on configuration change → https://git.io/fhIAv
<nix-build> [nixpkgs] @flokli opened pull request #83969 → google-compute-engine-oslogin: 1.5.3 -> 20200325.00 → https://git.io/JvdsJ
<pingiun> I'm not sure if I did something wrong or if there is a broken package on nixos stable
Maxdamantus has quit [Ping timeout: 256 seconds]
<exarkun> pysaml2 might have a flaky test suite which fails only sometimes
<pingiun> I tried it two times
<tilpner> pingiun: Yes, it's broken. It's fixed in 20.03, and someone was investigating fixing it yesterday
<exarkun> two samples doesn't give you a _ton_ of statistical power
Maxdamantus has joined #nixos
<tilpner> (Which doesn't mean it will be fixed, of course)
<pingiun> tilpner: shouldn't the upgrade be rolled back on 19.09 then?
mhe has quit [Quit: mhe]
<nix-build> [nixpkgs] @sternenseemann opened pull request #83970 → meteor: 1.9.3 -> 1.10.1 → https://git.io/Jvdsk
<tilpner> That's a good question I have no answer for
igghibu has quit [Quit: Konversation terminated!]
<qy[m]> at the very least an update should be reverted
<pingiun> ah I see this already happened: https://github.com/NixOS/nixpkgs/pull/83516
<nix-build> #83516 (by Ma27, 4 days ago, merged): [19.09] matrix-synapse: 1.11.1 -> 1.12.0
xelxebar has joined #nixos
fooker has quit [Quit: WeeChat 2.7.1]
packer has joined #nixos
fooker has joined #nixos
<nix-build> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JvdsR
<nix-build> [nixpkgs] @timokau merged pull request #83588 → vimPlugins.vim-pico8-syntax: init at 2016-10-30 → https://git.io/JvQOn
lsix1 has quit [Ping timeout: 252 seconds]
igghibu has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<pingiun> does it take some time for github pull requests to become available in the channel?
wfranzini has quit [Client Quit]
<igghibu> hi all :) trying out nixos on my desktop and I LOVE it. managed to get KDE and all running, and learning as much as I can. still very noob here tho, but I like it a lot! Now, I would like to modifiy /etc/nix/nix.conf to add a substituter and the relative key, but I'm lost. I assume that's done in configuration.nix + rebuild but I cannot find documentaion. could somone oint me in the right direction please?
<tilpner> igghibu: Set nix.binaryCaches in your configuration.nix and rebuild
<tilpner> If you want to remove cache.nixos.org, read the description of the option
<igghibu> @tilpner I would like to add one on top of it
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<tilpner> Then just do nix.binaryCaches = [ "foo" ];
<tilpner> cache.nixos.org will remain active
<igghibu> thank you so much!!! ;)
<tilpner> It gets more complicated if you want to set the priority in which the caches are queried
<igghibu> one more question about files please? I know nixos is immutable but would like to chage /etc/inputrc -- that would help me understand chaging immutable files. any ointer here please?
<igghibu> pointer*
<tilpner> igghibu: You can define files in /etc with environment.etc, but let's check if there's a more proper way
<evils> pingiun: yes, take a look at status.nixos.org
<igghibu> tilpner: I tried that but it replaced the file
<igghibu> I want to substitute two lines only
<tilpner> igghibu: Yes, unfortunately replacement is what's supposed to happen
captjakk has joined #nixos
<tilpner> I'll check
<nix-build> [nixpkgs] @Mic92 merged pull request #83949 → clojure-lsp: 20200305T151710 -> 20200314T202821 → https://git.io/Jvdqc
<nix-build> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/JvdsM
<nix-build> [nixpkgs] @alyssais merged pull request #83878 → ruby: 2.5.7 -> 2.5.8, 2.6.5 -> 2.6.6, 2.7.0 -> 2.7.1 → https://git.io/Jv5Kn
<nix-build> [nixpkgs] @alyssais pushed 5 commits to master: https://git.io/JvdsD
<nix-build> [nixpkgs] @r-ryantm opened pull request #83972 → go-ethereum: 1.9.11 -> 1.9.12 → https://git.io/JvdsS
<igghibu> tilpner: thanks!
<qy[m]> `Guix is compatible with Nix, so it is possible to share the same store between both. ` oh interesting
<tilpner> igghibu: The cleanest thing I can do right now is:
<tilpner> igghibu: environment.etc.inputrc.text = ''${builtins.readFile "${path}/nixos/modules/programs/bash/inputrc"}\nfoo'';
<tilpner> igghibu: Replace \n with a proper newline, and format this over multiple lines
<tilpner> igghibu: Note that this references an internal path of nixpkgs, which may change at will and break your evaluation
opthomasprime has joined #nixos
<tilpner> igghibu: Copying that inputrc into your configuration would solve this, but then you no longer get updates for it when nixpkgs updates it
captjakk has quit [Ping timeout: 258 seconds]
<igghibu> tilpner: I'll give it a try
<igghibu> tilpner: the binary cache was "installed" correctly but the trusted key is missing. how do I add that too to the configuration.nix? I'm trying to search for docs but I'm still a little lost
opthomasprime has quit [Client Quit]
cosimone has joined #nixos
<tilpner> igghibu: nix.binaryCachePublicKeys
<igghibu> thank you sir!
<tilpner> igghibu: Use this to get a list of all options in your terminal: man configuration.nix
<tilpner> igghibu: Then you can search with /binaryCache
<igghibu> tilpner: thank you! nixos is better than pr0n!
ATuin has joined #nixos
teto has joined #nixos
philr has quit [Ping timeout: 264 seconds]
<tilpner> O.o
<igghibu> is there a channel preferred pastebin? nix.conf has the additions but I get errors when rebuilding
Makaveli7 has quit [Quit: WeeChat 2.7.1]
<tilpner> ,paste
<nix-build> 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.
maxter has quit [Quit: ZNC 1.7.5 - https://znc.in]
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
<qy[m]> i use ipfs as my pastebin these days
<igghibu> tilpner: https://paste.ee/p/z5e2N
<qy[m]> i used to love ix.io though
maxter has joined #nixos
<srk> I now prefer paste.rs
<etu> srk: Hmm, maybe I should add that one to webpaste:)
<qy[m]> i suppose i just like ipfs because for the most part, it's just a shortcut to hosting your own pastebin
<tilpner> igghibu: I believe this is caused by https://github.com/NixOS/nixpkgs/issues/80332#issuecomment-600673158
<qy[m]> if i turn off my node, there's an extremely likely chance none of my content is available anymore
<srk> etu: heh, can I script that as a command line tool? :D
<tilpner> igghibu: It's probably safe to ignore, if it doesn't happen during the next nixos-rebuild
<nix-build> [nixpkgs] @r-ryantm opened pull request #83973 → graphite2: 1.3.13 -> 1.3.14 → https://git.io/JvdGC
<srk> etu: (emacs + webpaste)
<etu> srk: possibly :D
<nix-build> [nixpkgs] @ehmry opened pull request #83974 → nixos/syncthing: install desktop menu link to GUI → https://git.io/JvdGW
<igghibu> tilpner: but I use stable. confused
igghibu has quit [Quit: Konversation terminated!]
<nix-build> [nixpkgs] @alyssais pushed 2 commits to release-19.09: https://git.io/JvdG8
<srk> etu: I'm now playing with emacs cause of agda-mode (with evil..)
<ekleog> bachp: By chance, are you using a self-hosted nextcloud nixos module? (going to try the maintainers one by one) When I'm trying to use the Talk android app or the nextcloud-client nixos package with my instance, I get an endlessly-looping “please wait” on the “connect” button -- do you also see that, or is it just me?
<qy[m]> srk: may i interest you in #nixos-emacs
<srk> hehe, sure
<kenran> adisbladis: sorry for the late answer, I was gone a bit. I'm still having problems understanding, mostly because the derivation I have describes a Haskell package and not some "ordinary binary".
igghibu has joined #nixos
<igghibu> tilpner: sorry I got disconnected
<nix-build> [nixpkgs] @adisbladis merged pull request #83972 → go-ethereum: 1.9.11 -> 1.9.12 → https://git.io/JvdsS
<nix-build> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JvdGK
<tilpner> igghibu: It is expected on stable as well, it should be mostly fine to ignore until it's fixed
<nix-build> [nixpkgs] @globin pushed to structured-attrs « treewide: fix sconsFlags handling »: https://git.io/JvdGi
<tilpner> (I hope it only abort the nix snippet, otherwise there is a problem)
<kenran> As soon as I have an "ordinary binary" (say, ${my-binary}) I could, AFAIU, `wrapProgram ${my-binary} --set SOME_ENV_VAR=${my-config-expression}`, or similar?
<igghibu> tilpner: thank you :)
jfroche has joined #nixos
<igghibu> tilpner: could you pastebin the /etc/inputrc chat lines please? (backlog on konversation is 10 lines only :( )
<qy[m]> is there really no shortcut for nix-build -E 'with import <nixpkgs> {}; callPackage ./. {}'
<nix-build> [nixpkgs] @jtojnar opened pull request #83975 → tree-wide: Switch from gnome3.maintainers to lib.teams.gnome → https://git.io/JvdG9
<igghibu> tilpner: thanks :)
rauno has joined #nixos
amf has joined #nixos
<nix-build> [nixpkgs] @mmilata closed pull request #83725 → Factor out fetcher of Maven dependencies → https://git.io/Jv7Oh
<nix-build> [nixpkgs] @primeos merged pull request #83790 → tdesktop: 1.9.21 -> 2.0.1 → https://git.io/Jv7QR
<nix-build> [nixpkgs] @primeos pushed to master « tdesktop: 1.9.21 -> 2.0.1 (#83790) »: https://git.io/JvdZO
<nix-build> [nixpkgs] @r-ryantm opened pull request #83976 → helmfile: 0.102.0 -> 0.106.3 → https://git.io/JvdZs
chagra has quit [Ping timeout: 265 seconds]
pbogdan has quit [Ping timeout: 256 seconds]
chagra has joined #nixos
<igghibu> tilpner: it fails and it complains that /etc/inputrc is already defined
xelxebar has quit [Remote host closed the connection]
pingiun has quit [Read error: Connection reset by peer]
<nix-build> [nixpkgs] @marsam merged pull request #83947 → chezmoi: 1.7.16 -> 1.7.18 → https://git.io/JvdtP
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvdZA
<igghibu> tilpner: I guess I can live with the default until I understand this better.
<igghibu> is there a "meta-package" or a "group" to install the "full kde" rather than having to install every single package?
wavirc22 has joined #nixos
<infinisil> ottidmes: Not entirely sure what the second question means
xelxebar has joined #nixos
<nix-build> [nixpkgs] @marsam merged pull request #83953 → conftest: 0.18.0 -> 0.18.1 → https://git.io/JvdqF
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvdna
o1lo01ol1o has joined #nixos
<ottidmes> infinisil: Ah, well you see, I have a submodule thats dependent on a value of the parent module, in my case the root option
<ottidmes> infinisil: I managed to work around it by using specialArgs and submoduleWith
<infinisil> Ah I see, I'm usually doing that by just using cfg.root directly
<ottidmes> infinisil: I have updated the gist, here is where I needed root: https://gist.github.com/msteen/fb56dc5de2033eca92473a7a7dd9e747#file-files-nix-L95
<infinisil> (as in, pass it just by scoping)
<ottidmes> infinisil: yeah, but this time I was experimenting with indirect reuse of submodules, see the files-user.nix file
<infinisil> I see. I guess a nicer solution would be to define a `root` option in the submodule, then assign that where the submodule is used
aveltras has joined #nixos
waleee-cl has joined #nixos
gustavderdrache has joined #nixos
<ottidmes> infinisil: I thought of that first too, but I am unsure how to actually go about doing that nicely, since its needed at the lowest level of submodule, the one of for files, not sure how to reuse a submodule and add a default for root, without doing something almost similar, setting it through submoduleWith modules rather than specialArgs, winning you next to nothing in terms of niceness
<nix-build> [nixpkgs] @marsam merged pull request #83954 → coredns: 1.6.7 -> 1.6.9 → https://git.io/JvdmL
chagra has quit [Ping timeout: 250 seconds]
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvdct
<nix-build> [nixpkgs] @alyssais pushed 4 commits to release-20.03: https://git.io/JvdcZ
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvdcC
<nix-build> [nixpkgs] @marsam merged pull request #83950 → cloudflare-wrangler: 1.8.1 -> 1.8.4 → https://git.io/JvdqV
<infinisil> ottidmes: Hm I see yeah..
<nix-build> [nixpkgs] @marsam merged pull request #83958 → dnsproxy: 0.23.7 -> 0.24.0 → https://git.io/JvdYn
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvdc8
<nix-build> [nixpkgs] @r-ryantm opened pull request #83978 → imgproxy: 2.8.1 -> 2.11.0 → https://git.io/JvdcB
chagra has joined #nixos
<infinisil> I'd say using `root: <submodule depending on root>` is nicest then
<infinisil> I'd avoid specialArgs if possible
<ottidmes> infinisil: I started out doing that, but how do you reuse that lambda, you can't, it will already be fully applied
roosemberth has quit [Ping timeout: 260 seconds]
<nix-build> [nixpkgs] @marsam merged pull request #83946 → checkstyle: 8.30 -> 8.31 → https://git.io/Jvdto
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvdcg
<infinisil> I guess
<ottidmes> is there any way to have: nix-instantiate --quiet '<nixpkgs/nixos>' --attr system, not produce a warning about --add-root?
<nix-build> [nixpkgs] @marsam merged pull request #83962 → emplace: 0.2.12 -> 0.2.14 → https://git.io/JvdOw
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvdcw
<infinisil> You can pipe stderr to /dev/null with 2>/dev/null
<nix-build> [nixpkgs] @r-ryantm opened pull request #83979 → inadyn: 2.6 -> 2.7 → https://git.io/Jvdc6
<sphalerite> qy[m]: there isn't. You can make one though :)
<ottidmes> infinisil: there is a nicer way I just found out: nix-instantiate --quiet --quiet '<nixpkgs/nixos>' --attr system (keep telling it to shut up :P)
roosemberth has joined #nixos
<nix-build> [nixpkgs] @marsam merged pull request #80721 → mullvad-vpn: 2020.2 -> 2020.3 → https://git.io/JvRzT
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvdcb
<infinisil> Hehe
mallox has quit [Quit: Leaving]
<nix-build> [nixpkgs] @marsam merged pull request #83621 → mullvad-vpn: add libappindicator dependency and fix mullvad-problem-report link → https://git.io/JvQue
<nix-build> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Jvdcx
natrys has joined #nixos
is_null has quit [Ping timeout: 256 seconds]
is_null has joined #nixos
<tilpner> igghibu: Can you paste the full error?
<nix-build> [nixpkgs] @r-ryantm opened pull request #83980 → jackett: 0.13.467 -> 0.14.365 → https://git.io/JvdCZ
<nix-build> [nixpkgs] @marsam merged pull request #83860 → sozu: init at 0.11.46 → https://git.io/Jv5We
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvdCn
<nix-build> [nixpkgs] @marsam merged pull request #83965 → flyctl: 0.0.102 -> 0.0.110 → https://git.io/Jvd3B
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvdCE
<nix-build> [nixpkgs] @r-ryantm opened pull request #83981 → janet: 1.7.0 -> 1.8.1 → https://git.io/JvdCu
<nix-build> [nixpkgs] @alyssais pushed 2 commits to release-19.03: https://git.io/JvdC2
<nix-build> [nixpkgs] @marsam merged pull request #70762 → nixos/mullvad-vpn: add service → https://git.io/JeWWq
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvdCV
<nix-build> [nixpkgs] @alyssais pushed commit from @marsam to release-18.09 « ruby_2_5: 2.5.7 -> 2.5.8 »: https://git.io/JvdCw
<nix-build> [nixpkgs] @marsam merged pull request #83952 → compcert: 3.6 -> 3.7 → https://git.io/Jvdq9
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvdCo
<nix-build> [nixpkgs] @alyssais pushed commit from @marsam to release-18.03 « ruby_2_5: 2.5.7 -> 2.5.8 »: https://git.io/JvdCX
<nix-build> [nixpkgs] @marsam merged pull request #83964 → fly: 5.8.0 -> 6.0.0 → https://git.io/Jvd3L
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvdC1
melling has joined #nixos
<nix-build> [nixpkgs] @marsam merged pull request #83968 → fwup: 1.5.1 -> 1.5.2 → https://git.io/Jvdse
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvdCH
<Taneb> How well does Skype work on NixOS?
<nix-build> [nixpkgs] @marsam merged pull request #83942 → broot: 0.13.4 -> 0.13.5b → https://git.io/JvdLw
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvdC7
<tilpner> It supposedly does
* tilpner very helpful
<nix-build> [nixpkgs] @marsam merged pull request #83944 → cargo-expand: 0.4.18 -> 0.4.19 → https://git.io/JvdtI
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvdC5
<tilpner> marsam is merging PRs left and right, but ignoring the PR for a package they're a maintainer of :c
<nix-build> [nixpkgs] @marsam merged pull request #83948 → gpxsee: 7.25 -> 7.27 → https://git.io/Jvdtb
<nix-build> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvdCx
FRidh has joined #nixos
linarcx has quit [Quit: WeeChat 2.8]
mexisme has joined #nixos
rickynils has quit [Remote host closed the connection]
FRidh2 has quit [Ping timeout: 256 seconds]
linarcx has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #83982 → k9s: 0.17.7 -> 0.18.1 → https://git.io/JvdWc
mexisme has quit [Ping timeout: 246 seconds]
<nix-build> [nixpkgs] @alyssais merged pull request #83531 → lib.licenses: Add Unicode License Agreement for Data Files and Software → https://git.io/JvHdE
<nix-build> [nixpkgs] @alyssais pushed commit from @xfix to master « lib.licenses: Add Unicode License Agreement for Data Files and Software »: https://git.io/JvdWu
<nix-build> [nixpkgs] @alyssais merged pull request #83477 → minijail: support compiling policies to BPF → https://git.io/JvdW2
<nix-build> [nixpkgs] @alyssais pushed 4 commits to master: https://git.io/JvdWa
pbogdan has joined #nixos
igghibu has quit [Quit: Konversation terminated!]
<nix-build> [nixpkgs] @r-ryantm opened pull request #83983 → khronos: 1.0.6 -> 1.0.8 → https://git.io/JvdWQ
igghibu has joined #nixos
knupfer has joined #nixos
igghibu has quit [Client Quit]
knupfer has quit [Client Quit]
knupfer has joined #nixos
<__monty__> After making changes to a module, how do I build and evaluate it to check whether the result makes sense?
igghibu has joined #nixos
<kenran> I'm trying to understand how to create a wrapper derivation for an existing one. Suppose I have a nix derivation called `bde` which I can use in another .nix file, like so: with import <nixpkgs> {};
<kenran> let bde = import ./bde/release.nix {}; my-script = pkgs.writeShellScriptBin "hw" "${bde}/bin/hsmprodmonitor -m Dev"; ini = import ./bde/nix/odbcinst_ini.nix { inherit pkgs; };
<kenran> in
<kenran> stdenv.mkDerivation { ODBCSYSINI = "${ini}"; name = "test-env"; buildInputs = [ my-script ];
<evils> __monty__: you could try writing a test for it, look in nixpkgs/nixos/tests/ if you want an example
<kenran> oh sorry! I had the content, and not the pastebin link copied :(
<kenran> https://pastebin.com/6LZ8gaKb this is the real link.
reallymemorable has joined #nixos
linarcx has quit [Quit: WeeChat 2.8]
<qy[m]> i think it's broken, just want to check
<nix-build> [nixpkgs] @r-ryantm opened pull request #83984 → kubernetes: 1.17.3 -> 1.18.0 → https://git.io/JvdlW
<kenran> With this file, I can enter a nix-shell, start `hw` and everything works fine. But I actually don't want to build anything (except for `bde` itself). How can I then "wrap" the resulting bde binary such that the environment variable ODBCSYSINI is set to ${ini} and `ini` is created?
mallox has joined #nixos
<__monty__> evils: Hmm, how would I run the test though?
<evils> __monty__: nix-build path/to/yourNixOSTest.nix
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
missionformilk has joined #nixos
glittershark has quit [Remote host closed the connection]
Emiller88 has joined #nixos
ixxie has joined #nixos
morgrimm has joined #nixos
sMuNiX has quit [Quit: WeeChat 2.7.1]
shibboleth has joined #nixos
rauno has quit [Remote host closed the connection]
<morgrimm> Hey folks - I'm just trying to set up xmonad on NixOS. What's the lightest weight setup I can possibly run? I'd ideally like to simply run X, and then xmonad in the session, but enabling xserver/startx doesn't seem to read the session file
<morgrimm> So I'm just enabling xmonad as the window manager in my nix config, without a display manager to go with it- is that the nix-ish way to go about it?
zupo has joined #nixos
<edef> i don't know if we really support not having a display manager rn
<edef> i think that's an explicitly unsupported configuration on ~anything but Arch since proper session management hit the scene
<morgrimm> That's what I thought, except the `displayManager.defaultSession` settings seems to allow `none+xmonad` as an option
<simpson> Indeed, most WMs aren't really designed to hold open an X session, and you're probably not fond of the classics like xterm, I'm guessing, so a DM is far and away the easiest.
cartwright has quit [Ping timeout: 240 seconds]
<simpson> morgrimm: That would configure your DM to start an X session that is being maintained by xmonad alone, but the DM will still run. Like edef says, it's not completely bare.
codygman has quit [Ping timeout: 250 seconds]
<morgrimm> I attempted to set up lightdm (although that sessions explicitly doesn't support `lightdm+xmonad`), but xcfe seemed to work fine.
<morgrimm> Then again, I don't have enough experience with lightdm vs xcfe to know which one is the lighter weight option
<edef> hm?
cfricke has quit [Ping timeout: 264 seconds]
<edef> "lightdm+xmonad" as a session option doesn't really make sense
codygman has joined #nixos
bob23 has joined #nixos
<edef> that's a category error
<edef> the display manager is the thing letting you pick a session type and showing you a login screen
<simpson> Display managers aren't desktop environments. The DM is the program which sets up X's authorization presentation; it's what asks you to login with username and password.
cartwright has joined #nixos
drakonis has joined #nixos
<morgrimm> Ah - so I should be able to set up lightdm separately, and use `none+xmonad`
<bob23> Yup, I've got `none+i3`
codygman has quit [Read error: Connection reset by peer]
<bob23> When do changes in nixpkgs master make it to the unstable channel?
<drakonis> when unstable doesnt fail to upgrade
codygman has joined #nixos
morgrimm has quit [Remote host closed the connection]
<bob23> so it runs a test on every change to master & auto migrates when everything passes?
<drakonis> it periodically attempts to advance to a specific commit and if it fails to build and/or tests it does not advance
<nix-build> [nixpkgs] @r-ryantm opened pull request #83985 → librealsense: 2.32.1 -> 2.33.1 → https://git.io/Jvd8p
<nix-build> [nixpkgs] @mmahut merged pull request #83957 → python3Packages.trezor: 0.11.6 -> 0.12.0 → https://git.io/JvdYs
<nix-build> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jvd8h
igghibu has quit [Quit: Konversation terminated!]
<bob23> thanks drakonis
alasic has joined #nixos
shafox has joined #nixos
wavirc22 has quit [Read error: Connection reset by peer]
<__monty__> Hmm, can I even run nixos tests on darwin?
<nix-build> [nixpkgs] @alyssais opened pull request #83986 → squashfs-tools-ng: 0.8 -> 0.9 → https://git.io/Jvd4l
bob23 has quit [Remote host closed the connection]
alasic has quit [Remote host closed the connection]
fenedor has joined #nixos
<nix-build> [nixpkgs] @Ma27 pushed commit from @Xe to master « development/libraries/libdap: fix hash »: https://git.io/Jvd4z
fendor has quit [Ping timeout: 265 seconds]
<nix-build> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/Jvd46
rogue_koder has joined #nixos
NeoCron has quit [Quit: Leaving]
<qy[m]> hey where do scheme modules go
<nix-build> [nixpkgs] @r-ryantm opened pull request #83987 → matterbridge: 1.16.5 -> 1.17.1 → https://git.io/Jvd4A
morgrimm has joined #nixos
glitters` has quit [Ping timeout: 256 seconds]
<morgrimm> So I enabled `lightdm` with autoLogin, and then set `none+xmonad` as my defaultSession
<morgrimm> and now it boots into a black screen with nothing
<hyper_ch> (good that one can just boot into an older generation on nixos)
<morgrimm> Yup, I'm doing that to change the config, but
<morgrimm> I'm more interested in why that config didn't work. Do I need to configure more than just enabling lightdm with defaults for it to autoLogin?
<__monty__> morgrimm: Fwiw, I also failed to set up a similar config. We clearly need help from someone who's succeeded running xmonad.
<__monty__> Though in my case I think it fell back to xterm.
<Taneb> morgrimm: I think that's what xmonad looks like by deualt
<__monty__> qy[m]: Scheme modules? That sounds like guix more than nixos?
<nix-build> [nixpkgs] @NeQuissimus pushed to release-19.09 « linux: 5.4.28 -> 5.4.29 »: https://git.io/JvdBI
<morgrimm> Taneb: .... you're totally right. Holy shit
<Taneb> Shift-enter to get a terminal by defualt
<morgrimm> I totally forgot that lmao
<Taneb> (iirc, might be alt-shift-enter)
<morgrimm> it's alt-shift-enter, yeah
<morgrimm> damn, perfect
<nix-build> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvdBO
<morgrimm> So, totally unrelated odd question. I have a luks container as my encompassing volume (contains the volume group with swap/root)
<nix-build> [nixpkgs] @armin1402 opened pull request #83988 → nexus: 3.20.1-01 -> 3.22.0-02 → https://git.io/JvdB3
<morgrimm> And I set it up as a pre-LVM luks device - it works, but only if I specify the device not using the UUID
<morgrimm> And I set it up as a pre-LVM luks device - it works, but only if I specify the device not using the UUID?/
<morgrimm> Fuck, hit up
fenedor is now known as fendor
<morgrimm> Using the UUID to refer to it `/dev/disk/by-uuid/whateverUUID` shouldn't an issue in the nixos config right?
<nix-build> [nixpkgs] @NeQuissimus pushed 9 commits to release-20.03: https://git.io/JvdBZ
<edef> that should work fine
<morgrimm> Hmm - I wonder if I have the wrong UUID. It shouldn't get a different one when it's decrypted, right?
<morgrimm> Yup, that it. Slapped the UUID of the lvm volume in it instead of the crypt container >.
<nix-build> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JvdBE
marsh has quit [Ping timeout: 246 seconds]
mallox has quit [Quit: Leaving]
<nix-build> [nixpkgs] @r-ryantm opened pull request #83989 → minder: 1.7.1 -> 1.7.2 → https://git.io/JvdBK
marsh has joined #nixos
mallox has joined #nixos
linarcx has joined #nixos
linarcx has quit [Client Quit]
igghibu has joined #nixos
jophish has joined #nixos
mallox has quit [Client Quit]
mallox has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #83990 → minio: 2020-03-06T22-23-56Z -> 2020-03-25T07-03-04Z → https://git.io/JvdBF
linarcx has joined #nixos
linarcx has quit [Client Quit]
captjakk has joined #nixos
rsa has quit [Ping timeout: 256 seconds]
domogled has quit [Quit: domogled]
<evils> __monty__: the tests run in a vm, so maybe it'll work on darwin, give it a go? (this may download a lot)
<nix-build> [nixpkgs] @charles-dyfis-net opened pull request #83991 → [20.03] curaLulzbot: Fix build breakage around OpenMP compatibility → https://git.io/JvdRY
linarcx has joined #nixos
<nix-build> [nixpkgs] @Mic92 closed pull request #73322 → zpool-trim.service: Enable choosing pools → https://git.io/Jewjx
<__monty__> evils: I think it'd be easier if I could simply "overlay" a nixos module. Is that possible?
<evils> you can't use nixos modules on darwin
Ariakenom has quit [Quit: WeeChat 2.7]
<mallox> hi, quick question: weechat shows me (<something>@<ip>) behind every username... what is that <something>?
<__monty__> evils: No, I know. I have a system that can evaluate the module as part of a configuration (barely). I doubt it'll be able to run nixos tests, can't even run firefox.
<nix-build> [nixpkgs] @r-ryantm opened pull request #83992 → mod: 0.2.2 -> 0.3.0 → https://git.io/JvdRX
<qy[m]> hey what direction does propogated build inputs work in?
<qy[m]> __monty__: yeah i'm trying to build guix on nix :p disregard that question though
<nix-build> [nixpkgs] @ryantm merged pull request #83976 → helmfile: 0.102.0 -> 0.106.3 → https://git.io/JvdZs
<nix-build> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvdRy
<bennofs> qy[m]: foo has propagatedBuildsInputs = [ bar ] ---> for all other packages, if foo is in buildInputs, bar is added to those buildInputs
<__monty__> I guess "overlaying" a module would involve disabling it and then importing?
<qy[m]> bennofs: excellent, ty
<nix-build> [nixpkgs] @Mic92 merged pull request #83932 → kdenlive: set run-time dep paths (fix #83885) → https://git.io/JvdUO
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvdRQ
<nix-build> [nixpkgs] @vbgl merged pull request #83402 → ocamlPackages.gnuplot: 0.5.3 → 0.7 → https://git.io/JvSdN
<nix-build> [nixpkgs] @vbgl pushed 3 commits to master: https://git.io/Jvd0e
Emiller88 has quit [Remote host closed the connection]
missionformilk has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @r-ryantm opened pull request #83993 → moosefs: 3.0.110 -> 3.0.112 → https://git.io/Jvd0Y
o1lo01ol1o has joined #nixos
<nix-build> [nixpkgs] @vbgl opened pull request #83994 → alt-ergo: 2.3.1 → 2.3.2 → https://git.io/Jvd0Z
orivej has joined #nixos
<nix-build> [nixpkgs] @basvandijk merged pull request #83350 → llvmPackages_10: rc5 -> release → https://git.io/JvS4P
<nix-build> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/Jvd0l
Izorkin has quit [Ping timeout: 256 seconds]
zaeph1 has joined #nixos
missionformilk has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
mexisme has joined #nixos
kenran has quit [Ping timeout: 240 seconds]
zaeph has quit [Ping timeout: 258 seconds]
justanotheruser has quit [Ping timeout: 246 seconds]
<nix-build> [nixpkgs] @Emantor opened pull request #83995 → xorg.xorgserver: 1.20.7 -> 1.20.8 → https://git.io/Jvd06
missionformilk has quit [Ping timeout: 260 seconds]
mexisme has quit [Ping timeout: 272 seconds]
erasmas has joined #nixos
knupfer has quit [Remote host closed the connection]
lewo has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @r-ryantm opened pull request #83996 → mxnet: 1.4.1 -> 1.6.0 → https://git.io/Jvd0Q
mallox has quit [Quit: WeeChat 2.7.1]
ddellacosta has joined #nixos
Izorkin has joined #nixos
<nix-build> [nixpkgs] @Mic92 merged pull request #83991 → [20.03] curaLulzbot: Fix build breakage around OpenMP compatibility → https://git.io/JvdRY
<nix-build> [nixpkgs] @Mic92 pushed 2 commits to release-20.03: https://git.io/JvdEf
raingloom has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #83997 → nethogs: 0.8.5 -> 0.8.6 → https://git.io/JvdEI
<qy[m]> nice! got guix to build, finally
<drakonis> neat.
<drakonis> with guile 3?
<nix-build> [nixpkgs] @ttuegel merged pull request #83897 → kdeApplications: 19.12.1 -> 19.12.3 → https://git.io/Jv59r
<nix-build> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/JvdEq
<qy[m]> after initing 5 new packages
<qy[m]> 2.2.7
edef is now known as edeg
edeg is now known as edf0
<nix-build> [nixpkgs] @r-ryantm opened pull request #83998 → nfdump: 1.6.19 -> 1.6.20 → https://git.io/JvdEZ
justanotheruser has joined #nixos
edf0 is now known as edef
<drakonis> cool, do guile 3 next
<qy[m]> well, i've built it to just use a guile input
<qy[m]> so guile 3 is someone else's problem
<qy[m]> given guix doesn't even say they support it
Izorkin has quit [Ping timeout: 256 seconds]
<drakonis> well, guile 3 supports it on the live tre
<drakonis> e
<drakonis> and if you do a pull it'll switch to running on guile 3
<qy[m]> interesting. well if nix has a guile 3 then can always see if it builds
<qy[m]> it is a slow-ass build though
ATuin has quit [Ping timeout: 265 seconds]
<drakonis> no guile 3 here tho
<drakonis> as far i'm aware, it is guile plus gnu lightening
<qy[m]> then i'm not touching that one
<drakonis> a lightning fork
zaeph1 is now known as zaeph
mallox has joined #nixos
<drakonis> its part of the build
<drakonis> looks like simply bumping the guile release will build it correctly
<drakonis> as guile already needs a C compiler
linarcx has quit [Quit: WeeChat 2.8]
mallox has quit [Client Quit]
linarcx has joined #nixos
mallox has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
pbogdan has quit [Remote host closed the connection]
pbogdan has joined #nixos
nobrak has joined #nixos
morgrimm has quit [Ping timeout: 240 seconds]
<drakonis> qy[m]: try bumping the build version, as it is on tree
kleisli__ has quit [Remote host closed the connection]
linarcx has quit [Quit: WeeChat 2.8]
kleisli has joined #nixos
is_null has quit [Ping timeout: 258 seconds]
cole-h has joined #nixos
knupfer has joined #nixos
<nix-build> [nixpkgs] @aanderse opened pull request #83999 → zabbix: 4.0.18 -> 4.0.19, 4.4.6 -> 4.4.7 → https://git.io/Jvdum
is_null has joined #nixos
<qy[m]> hold up, lemme neaten this up before i try breaking it more
Izorkin has joined #nixos
mallox has quit [Quit: WeeChat 2.7.1]
FRidh has quit [Ping timeout: 250 seconds]
FRidh2 has joined #nixos
mallox has joined #nixos
mallox has quit [Client Quit]
mallox has joined #nixos
asheshambasta has joined #nixos
mallox has quit [Client Quit]
mallox has joined #nixos
mananamenos has quit [Remote host closed the connection]
__monty__ has quit [Ping timeout: 256 seconds]
mallox has quit [Client Quit]
asheshambasta has quit [Ping timeout: 272 seconds]
mallox has joined #nixos
<ottidmes> Hmm, I am surprised about the ordering of listOf: nix eval '(with import <nixpkgs/nixos> { configuration = with import <nixpkgs/lib>; { options.list = mkOption { type = with types; listOf str; }; imports = [ { list = [ "a" ]; } { list = [ "b" ]; } ]; }; }; config.list)'
<ottidmes> gives [ "b" "a" ]
mallox has quit [Client Quit]
__monty__ has joined #nixos
palo has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #84000 → omnisharp-roslyn: 1.34.11 -> 1.34.15 → https://git.io/Jvdu7
zaeph has quit [Ping timeout: 240 seconds]
zaeph has joined #nixos
<igghibu> tilcreator: hey, sorry for the lag. I had lunch adn then read some more nixos manual. Still trying to "edit" inputrc. I foudn this but still not working https://bit.ly/2R2kd9O -- your commands failed because i trhink they are trying to appened new lines with existing options (in fact duplicating them) do you have time for this?
<nix-build> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d011e474945 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
<tilpner> igghibu: I asked you earlier to paste the full error after you tried my suggestion
<igghibu> tilpner: ok, doing it now
<tilpner> And please do not use bit.ly or other such services, when avoidable
<igghibu> ,paste
<nix-build> 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.
<nix-build> [nix] @bburdette opened pull request #3466 → nix-errors-enhancement - error format demo → https://git.io/JvduA
<igghibu> tilpner: https://paste.ee/p/7NJqZ
<tilpner> igghibu: Huh, can I see your configuration.nix?
davidak has joined #nixos
<igghibu> tilpner: the lines regarding inputrc only?
<tilpner> Those would be fine
<tilpner> But please annotate the line numbers
<nix-build> [nixpkgs] @samdoshi opened pull request #84001 → haskellPackages.bank-holidays-england: unbroken → https://git.io/Jvdze
davidak has quit [Client Quit]
o1lo01ol1o has joined #nixos
<igghibu> tilpner: lines106 to 108 : https://paste.ee/p/x4jP8
<tilpner> Well, that would do it
<tilpner> Why are there two of them?
<igghibu> two different options
pbogdan has quit [Remote host closed the connection]
<tilpner> No, you need to merge them into one assignment
<igghibu> aaaaahhhhh
<igghibu> ohpsie
<tilpner> And please spread it over multiple lines
<tilpner> The ''strings like this'' can span multiple lines
pbogdan has joined #nixos
<tilpner> I just sent it like that, because IRC doesn't do multi-line messages
<tilpner> Replace \n with a proper line too
<tilpner> *newline
<igghibu> would you be kind and paste an example please? I'm confused
<qy[m]> tilpner: by such services do you mean url shorteners?
<nix-build> [nixpkgs] @bhipple opened pull request #84002 → [20.03] hobbes: init at 2020-03-10 → https://git.io/JvdzG
<ottidmes> igghibu: use the '' multiline strings for that text
<betaboon> fetchgitPrivate got removed in 20.03. can anyone point me to the best-practice alternative ?
<qy[m]> or is there something specific about bit.ly
<cole-h> URL shorteners are bad
<nix-build> [nixpkgs] @r-ryantm opened pull request #84003 → openxr-loader: 1.0.6 -> 1.0.8 → https://git.io/Jvdzc
<igghibu> thank you cole-h
<ottidmes> betaboon: I believe you have to use builtins.fetchGit for that use case now, but that's all I got
<tilpner> qy[m]: Yes, please don't use them here
<cole-h> I can guarantee I will never click on a generic shortened URL
<cole-h> git.io is fine because I know it's from GitHub
<cole-h> But bitly can go literally anywhere
<igghibu> apologies about the url shortner, I thought the link was too long
<qy[m]> i suppose i can get behind that
* tilpner said, and uses a self-hosted pastebin that nobody knows
<qyliss> URL shorteners are largely tracking services
<betaboon> adisbladis: around ?
<qyliss> With the added disadvantage that if the shortening service goes away, links break
<adisbladis> betaboon: Somewhat :)
<nix-build> [nixpkgs] @jonringer merged pull request #83306 → pythonPackages.qiskit-ignis: init at 0.2.0 → https://git.io/JvSvr
<nix-build> [nixpkgs] @jonringer pushed commit from @drewrisinger to master « pythonPackages.qiskit-ignis: init at 0.2.0 »: https://git.io/Jvdz4
<ottidmes> Just ran into the interesting situation where importing ./. and ./default.nix means they will be imported twice, even though they are the same file, the caching is not aware of dir defaulting to default.nix
<betaboon> see above my question on fetchgitPrivate. pinging you as your PR removed it, if I'm not mistaken :D
<igghibu> tilpner: cole-h, it complains about ${path} now
<igghibu> error: undefined variable 'path' at /etc/nixos/configuration.nix:109:30
<tilpner> No cole-h, bad cole-h
<adisbladis> betaboon: Right. Use builtins.fetchGit
<cole-h> :(
<tilpner> That's not what igghibu was supposed to learn
<deni> edef: hey. you once wrote "i have a fairly neat auto-ACME'd vault setup i should really share". I was searching the IRC logs for vault related converstaion I'm not stalking you I swear :D .... I'm curious if you wrote about this? Did you mean that you use vault as a cert provider in an acme fashion or that you're configuring the vault server with acme certificates?
<tilpner> igghibu: That's what I meant
<igghibu> true but a good solution as an example can go a long way for my learning, next time I can try to figure it out
<gchristensen> deni: /subscribe
<deni> gchristensen: :)
<tilpner> igghibu: Use pkgs.path instead of path
<cole-h> tilpner: Ah, I missed those `\n`s... They were squished in there... Oops :)
<igghibu> tilpner: thank you
<tilpner> cole-h: And the readLine was still in there twice
<betaboon> adisbladis: can you recall a reason why pkgs.fetchgit is still being used, then ? i understood that builtins.fetchGit fetches at eval-time, whereas pkgs.fetchgit fetches at build-time. but I'm confused now xD
<igghibu> tilpner: it
<igghibu> it's compiling (is that the right term?)
<edef> deni: latter
<edef> deni: i ended up having a lot of trouble with the way the ACME stuff is set up in systemd
<adisbladis> betaboon: We don't allow the use of builtin fetchers in nixpkgs, we only allow fixed-output-derivations as fetchers.
<tilpner> igghibu: It can do both. The generic term is building, but compiling can be correct too
ambro718 has joined #nixos
<adisbladis> This is because (among other things) of how they are cached
<igghibu> tilpner: it worked and the behavior is correct. however, there are now two config for the sme options. it works only because the new one is last
<adisbladis> builtins.fetchGit sticks a checkout somewhere in ~./cache/nix and then adds the repo to the store
<tilpner> igghibu: Hey, that's unfair! You wanted to append, and that's we did
<igghibu> is there a way to replicate sed 's/' instead?
<cole-h> tilpner: ^^;
<tilpner> igghibu: You didn't say anything about removing lines from before
ixxie has joined #nixos
<tilpner> igghibu: It's possible, but it's not fun
<betaboon> adisbladis: so builtins.fetchGit is only to be used for "private" stuff, outside of nixpkgs?
<igghibu> tilpner: can't recall my orignal question. I should have used "replace"
<igghibu> let me check history
<tilpner> igghibu: I recommend just copying the inputrc from nixpkgs, and modifying it as you want
<tilpner> igghibu: Then you can remove the readFile
<adisbladis> betaboon: Which would obviously not be good for Hydra :)
<betaboon> but builtins.fetchGit doesnt support sha256 ? oO
<adisbladis> betaboon: Yes, right now that's true.
<deni> edef: ah I see....I was kind of hoping you were using vault as a certificate provider. Damn! :D I have a private domain (zerotier) that I want to set up auto ssl certs for and I can't use acme becuase the domain verification is DNS based. I can whip something up with bash (puke) but I figured it would be better to use Vault for this. cc gchristensen
<tilpner> igghibu: Hmm, you did say "substitute two lines"
* tilpner sigh
<adisbladis> betaboon: It doesn't really need a sha256 because it clones in the evaluator context and adds the files to the store. It's pretty much equivalent to using a local path.
<gchristensen> deni: you could use vault for certs still, and write a little bit of bash to get certs
<deni> gchristensen: that's what I'm gonna end up doing...but I'm thinking they're gonna be longer lived certs in that case
<deni> (not like acme)
<igghibu> tilpner: sorry for the misunderstanding (language barrier here), but my orignal intention was "12:21 <igghibu> I want to substitute two lines only "
<gchristensen> I DON'T recommend anybody copy any code out of that .nix file, but maybe there is some useful info
<igghibu> tilpner: just seen your other message. didn't want to duplicate that statement.
<betaboon> adisbladis: as builtins.fetchGit can be pointed at ref (eg a tag) and tags can technically be changed, that would leave me in not trusting that i deploy the same code. am i missing something ? oO
<igghibu> tilpner: nonetheless thank you so mcuh for your help! it does work so I can live with it for now
<tilpner> igghibu: Really, copying and editing the copy is more robust
<adisbladis> betaboon: If you want reproducability pass `ref` with a commit-sha
<igghibu> tilpner: any good manul read for that?
<igghibu> pleasea
<nix-build> [nixpkgs] @edolstra pushed to release-20.03 « kdeApplications: 19.12.1 -> 19.12.3 »: https://git.io/Jvdge
<adisbladis> betaboon: But yeah, you're correct if you use only a tag.
<tilpner> igghibu: But if you insist, you can do let original = builtins.readFile ...; in lib.replaceStrings [ "from" ] [ "to" ] original;
<betaboon> it just feels weird that we removed fetchgitPrivate without an equivalent present :/
<adisbladis> Ugh, I mean rev, not ref.
<tilpner> igghibu: Copy and paste from https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/programs/bash/inputrc to your configuration.nix
<betaboon> (not wanting to blame anyone of wrongdoing here)
<igghibu> tilpner: thanks I'll look into that. there was something similar in my recent manual read (reading from top to bottom to get familiar)
<adisbladis> betaboon: fetchgitPrivate _sucked_
kleisli has quit [Ping timeout: 260 seconds]
<adisbladis> It was a huge hack
<tilpner> igghibu: If you want it in an extra file, no problem. Copy it to another file, and then set .source instead of .text
<adisbladis> And we had tons of people asking for support on it
<betaboon> adisbladis: yeah i hated how to set it up. XD
* igghibu instantly in love with nixos
<betaboon> but why doesnt builtins.fetchGit not support sha256, that just feels counterintuitive :/
<tilpner> What
<qy[m]> because the ref is a hash anyway
<tilpner> That sounds wrong, let me check
<adisbladis> What qy[m] said
<adisbladis> And because it's not a derivation
<adisbladis> It's not a fixed-output
<gchristensen> I wish it did support a hash, anyway
<tilpner> Oh, right, sorry
<adisbladis> gchristensen: Totally
<adisbladis> It would be really nice
<betaboon> just pointing back at the usecase of using tags.
<adisbladis> If for no other reason so people would be less confused :P
<tilpner> Can you use fetchTarball?
<nix-build> nix#3216 (by Ma27, 20 weeks ago, open): Add an optional `hash` parameter to `builtins.fetchGit`
<betaboon> qy[m]: you ment rev, right?
genevino has joined #nixos
<adisbladis> Haha ref/rev is so confusing
<betaboon> FRidh2: thanks for the link to the pr :)
<nix-build> [nixpkgs] @bqv opened pull request #84004 → guix: init at 1.0.1 → https://git.io/Jvdg2
<qy[m]> betaboon: yes, that
<qy[m]> nix-build: its a draft dammit
pingiun has joined #nixos
<qy[m]> hang on, i seem to have badly rebased that
<pingiun> I have two addresses bound to my interface, how do I set the default address to use for new outgoing connections in nixos?
Shell has quit [Quit: ZNC 1.7.5 - https://znc.in]
qyliss has quit [Quit: bye]
<tilpner> qy[m]: Yeah, lots of unrelated changes
<qy[m]> there's probably a way to set the route metric
<qy[m]> that's likely the way to do it
<deni> gchristensen: thanks! I'll check it out. I made a promise to myself to write as little bas as possible. :D I was thinking on using terraform to to configure Vault once it's up and running. That would mean creating the CA in terraform. Creating an intermediaty CA that get's imported into Vault and that's the one used for generating new certs. (I did this type of thing for work stuff). Anyway once I
<deni> have that I can create the certificates via terraform as well and then all that's needed is to modify the vault service file to fetch those after before starting the vault service. Hmm possibly I'll have to modify the nginx service as well. Anyway something along those lines. The downside of this is that there is no automatic refresh of certs and I would have to do it manually. Although I could
<deni> write a system timer that checks that I guess....and triggers a restart of dependent services.
<qy[m]> only two, it seems
<adisbladis> gchristensen: I'm almost tempted to see if we can have a new fetchgitPrivate that just wraps builtins.fetchGit in a FOD ^_^
<qy[m]> the guile packages are necessary
Shell has joined #nixos
<qy[m]> curious, what's the policy on creating 7 packages in 1 PR
<adisbladis> That's fine
<qy[m]> given they're tiny libraries
<adisbladis> As long as everything is related :)
qyliss has joined #nixos
<nix-build> [nixpkgs] @bcdarwin opened pull request #84005 → python3Packages.spyder: unbreak package by removing removed "Editor" category → https://git.io/JvdgX
<simpson> Hopefully stupid question: How might I pipe something to nix-instantiate? /dev/stdin doesn't work, and I'm guessing that I need to write a file to $TMPDIR?
<qy[m]> oh good
<qy[m]> i was dreading having to make 7 separate PRs
<adisbladis> That would suck :D
<qy[m]> totally
raingloom has quit [Ping timeout: 240 seconds]
<FRidh2> when developing a flake, how can one locally use nix build to build an attribute of the flake?
<FRidh2> since edition 201909 I'm having a hard time to make it work
<qyliss> simpson: echo 1 + 1 | nix-instantiate --eval -
<qy[m]> FRidh2: nix build .#nixossConfigurations.$HOSTNAME.config.system.build.toplevel is in my fish history
<qy[m]> presumably you can modify that to fit your purpose
<qy[m]> `.` in that context is a reference to the flake
<qy[m]> the first dot at least, anyway
<nix-build> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/deb8fd1136b (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<FRidh2> ahh the dot there, i see
<nix-build> [nixpkgs] @Lassulus merged pull request #83938 → bitcoin-abc: 0.21.1 -> 0.21.3 → https://git.io/JvdIO
<nix-build> [nixpkgs] @Lassulus pushed commit from @r-ryantm to master « bitcoin-abc: 0.21.1 -> 0.21.3 »: https://git.io/Jvd2T
<FRidh2> qy[m]: so I manage to get the defaultPackage working, but how does one refer to a package in packages.x84_64-linux ?
<simpson> qyliss++
<nix-build> qyliss's karma got increased to 45
captjakk has quit [Remote host closed the connection]
cr4y1 has quit [Read error: Connection reset by peer]
<qy[m]> FRidh2: does .#packages.x86_64-linux not work?
<FRidh2> no unfortunatly not
captjakk has joined #nixos
kleisli has joined #nixos
<qy[m]> amazing, i managed to break the build by spelling passthru correctly (as passthrough)
<qy[m]> FRidh2: no idea then, i'm afraid.
<FRidh2> oh well, too bad. I'll ask eelco later then. Thanks.
<pie_[bnc]> tbenst[m]: github told me you did something on the deeplabcut thread but I cant figure out what
<pie_[bnc]> tbenst[m]: a few minutes to an hour ago or somthing
<tbenst[m]> pie_[bnc]: probably commenting on now resolved reviews
<pie_[bnc]> ah
lordcirth has joined #nixos
<tbenst[m]> Now doing final push on code quality and think this will finally be ready for merge
<tbenst[m]> Or a force push
captjakk has quit [Ping timeout: 256 seconds]
<qy[m]> np
<qy[m]> `84004` i always get the best PR numbers
<nix-build> [nixpkgs] @r-ryantm opened pull request #84006 → pfetch: 0.5.0 -> 0.6.0 → https://git.io/Jvd2o
CptCaptain has quit [Ping timeout: 256 seconds]
<nix-build> [nixpkgs] @r-ryantm opened pull request #84007 → picard-tools: 2.22.0 -> 2.22.2 → https://git.io/Jvd2b
<nix-build> [nixpkgs] @LnL7 merged pull request #83873 → plex: 1.18.8.2527 -> 1.18.9.2571 → https://git.io/Jv5zy
<nix-build> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/Jvd2h
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<qy[m]> is there a value somewhere i can use to get the path of the nix store?
<qy[m]> in case it isn't /nix/store
roosemberth has quit [Ping timeout: 256 seconds]
<ottidmes> qy[m]: I think it is in builtins.storePath
mexisme has joined #nixos
<ottidmes> qy[m]: nope, that's not it
<ldlework> I have this module, which has a "lines" option, and i have other modules which add lines to this option: https://gist.github.com/dustinlacewell/f57856358f10eda9d9210998b2b98159
<qy[m]> hm no that seems to get the store path of a derivation
<ldlework> but only the default value, and the bit I add at the bottom, gets inserted into the script
<gustavderdrache> > builtins.storeDir
<nix-build> "/nix/store"
<ldlework> why don't the lines from other modules show up in the script?
<qy[m]> ah yes, thank you
<ldlework> the "loadScript" option, sorry
<gustavderdrache> any time :)
ixxie has quit [Ping timeout: 256 seconds]
kleisli has quit [Remote host closed the connection]
missionformilk has joined #nixos
lovesegfault has joined #nixos
noudle has joined #nixos
<nix-build> [nixpkgs] @mredaelli opened pull request #84008 → notmuch: extract optional dependencies → https://git.io/Jvdau
mexisme has quit [Ping timeout: 240 seconds]
<ldlework> 🤔
<qy[m]> gustavderdrache: is there similar for the state dir? (/nix/var)
<qy[m]> i can't spot it at a glance
<gustavderdrache> i didn't spot it when i looked
<gustavderdrache> doesn't seem like it
<edef> state dir is a runtime choice
<edef> whereas the store dir affects build time
<qy[m]> hmm
kleisli has joined #nixos
<qy[m]> ah, ok
<nix-build> [nixpkgs] @jtojnar pushed commit from @zowoq to release-20.03 « bubblewrap: 0.4.0 -> 0.4.1 »: https://git.io/JvdaP
<ottidmes> ldlework: you sure they actually get imported?
<edef> but NixOS assumes the defaults all over the place anyhow
missionformilk has quit [Ping timeout: 260 seconds]
<qy[m]> yeah, wondered if there was any central place for that setting. guess not
leonardp has quit [Remote host closed the connection]
missionformilk has joined #nixos
morgrimm has joined #nixos
<ldlework> ottidmes: yeah...
<ldlework> ottidmes: the software in the other modules gets installed, but the lines they contribute to this option don't happen
<ekleog> globin: By chance, are you using a self-hosted nextcloud nixos module? (trying the maintainers one by one, hoping not to poke too many people ^^') When I'm trying to use the Talk android app or the nextcloud-client nixos package with my instance, I get an endlessly-looping “please wait” on the “connect” button -- do you also see that, or is it just me?
<morgrimm> Are there docs on how to declaratively use the unstable nixpkgs in your `configuration.nix`? Like, if I wanted some user packages installed from that channel instead of stable
<morgrimm> Or is that just meant to be done imperatively
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<qy[m]> unless you want to pin a certain revision, you just need to add the channel
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<qy[m]> then you can use (import <unstable> {}).pkgs
<qy[m]> or whatever you name it
Izorkin has joined #nixos
<morgrimm> Where would I add the channel in the configuration?
<nix-build> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d011e474945 (from 10 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<qy[m]> you wouldn't, you'd add it using "sudo nix-channel --add https://nixos.org/channels/nixos-unstable unstable"
<qy[m]> and then running "sudo nix-channel --update"
<qy[m]> that would enable you to use "<unstable>" anywhere in your config
<ldlework> argh how did i break this
<morgrimm> Right, yeah okay - what would happen if I was starting a fresh system with that config then?
<morgrimm> Would it just not install those packages until I built a first gen, added the channel, and rebuilt?
dermetfan has quit [Ping timeout: 252 seconds]
<morgrimm> Or would it fail on building
<qy[m]> it would fail until you added the unstable channel
<morgrimm> So I'd have to add the channel in the install environment before installing for the first time
<qy[m]> it would fail to evaluate entirely
<qy[m]> the two alternatives are 1. to pin a specific revision of unstable. the problem with this is that you have to update the rev manually if you ever need to
<qy[m]> and 2. to use fetchTarball, the problem with this is that it will fetch a new nixpkgs every time you build
<qy[m]> in my opinion the channel mechanism is easiest for this purpose
<qy[m]> matter of taste, though...
<nix-build> [nixpkgs] @r-ryantm opened pull request #84010 → pt2-clone: 1.06 -> 1.07 → https://git.io/JvdVW
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<nix-build> [nixpkgs] @adisbladis merged pull request #83990 → minio: 2020-03-06T22-23-56Z -> 2020-03-25T07-03-04Z → https://git.io/JvdBF
<nix-build> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JvdVl
<morgrimm> Like, would I be able to add the channel, and then `nixos-install` in the live CD?
<morgrimm> to avoid having to install with one config and then rebuild immediately with another?
<qy[m]> not sure
shafox has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @r-ryantm opened pull request #84011 → pyradio: 0.8.7.1 -> 0.8.7.2 → https://git.io/JvdVV
zaeph has quit [Ping timeout: 256 seconds]
<ldlework> ottidmes: why do I have to write it like this? https://gist.github.com/dustinlacewell/177b10c6ded38472fa552289fb3f046b/revisions
<pingiun> can someone point me to the nixos module where routes are created?
<nix-build> [nixpkgs] @r-ryantm opened pull request #84012 → qbec: 0.10.5 -> 0.11.0 → https://git.io/JvdVH
<tilpner> pingiun: Here's how to find it yourself: man configuration.nix, /networking.*route, then check "Declared by:"
<ottidmes> ldlework: not quite sure what you are pointing at
<ldlework> ottidmes: i have to drag out the writeScriptBin to the "let" clause
<ldlework> and I have to move the default lines out of the option
<ldlework> and into an assignemnt in the "cfg" clause
betaboon has quit [Quit: ZNC - https://znc.in]
kleisli has quit [Remote host closed the connection]
<ldlework> i assume this is some weird lazy eval shit i'll never internalize
<pingiun> tilpner: I found that the option is defined in nixpkgs/nixos/modules/tasks/network-interfaces.nix, but I cannot find the implementation in there
<ottidmes> ldlework: nix eval '(with import <nixpkgs/nixos> { configuration = with import <nixpkgs/lib>; { options.text = mkOption { type = with types; lines; }; imports = [ { text = "a"; } { text = "b"; } ]; }; }; config.text)' gives "b\na"
betaboon has joined #nixos
ixxie has joined #nixos
<ldlework> ottidmes: what are you trying to say? I mean I know how the lines option is supposed to work.
<ldlework> I mean, in general
<ldlework> ottidmes: look at the first version of the file, and then the secon
<ldlework> ottidmes: maybe it's a confusion over how the default is supposed to work
<ottidmes> ldlework: I am not sure what is failing for you, other than, stuff is not showing up
<ldlework> does any other assignemtn override the defaults completely?
<ottidmes> ldlework: default gets overwritten
zupo has joined #nixos
<ldlework> ok i guess that makes sense then
<tilpner> pingiun: Check network-interfaces-scripted.nix and network-interfaces-systemd.nix in the same directory
<tilpner> pingiun: It depends on which you have activated
<pingiun> systemd is when you use systemd-networkd?
betaboon_ has joined #nixos
<tilpner> pingiun: Yes, that's how I interpret it
thomashoneyman has joined #nixos
<ottidmes> ldlework: default (in option) has 1500, mkDefault has 1000, regular assignments have 100, mkForce has 50, lowest wins, if they are at the same score, they will be merged, which will succeed or fail depending on type
<ldlework> huh
<ldlework> had no idea about that
<ldlework> thanks
betaboon has quit [Ping timeout: 250 seconds]
<cole-h> qy[m]: Good question. Ping gchristensen: when you click on one of the top hashes, it shows the HTML of a 404
<cole-h> Dunno if this is on your side or not
<drakonis> qy[m]: ah you're the guy that forked the nixflk repository and kept it updated
<drakonis> ish
<ottidmes> ldlework: and https://github.com/NixOS/nixpkgs/blob/master/lib/modules.nix#L481-L510 (only those with same lowest prio will be taken into account)
zupo has quit [Ping timeout: 256 seconds]
<ottidmes> ldlework: so rather than a default, you should just set it as config normally
<drakonis> does bumping guile to 3.0 work without extra effort?
<qy[m]> drakonis: i am, yes
<ldlework> ottidmes: right -- thanks a lot
<qy[m]> i haven't really kept the template branch up to date
<qy[m]> but feel free to cherry pick from my live branch
<drakonis> its what i'm trying to do here
<qy[m]> gchristensen: what cole-h said
<drakonis> the home manager flakes work should be pushed upstream
<nix-build> [nixpkgs] @r-ryantm opened pull request #84014 → quilter: 2.1.2 -> 2.2.2 → https://git.io/Jvdwu
<drakonis> having working flakes without resorting to maintaining a fork is nice
<qy[m]> drakonis: not sure, r.e. guile. r.e. home-manager, i pinged rycee about it a few days ago, he said he might merge it into a branch
<ldlework> flakes?
<drakonis> yes, flakes
<ldlework> flakes?
<qy[m]> flakes!
jfroche has quit [Ping timeout: 256 seconds]
<drakonis> i was getting there
<drakonis> ,flakes
<ldlework> hehe
<gchristensen> cole-h, qy[m] that is normal if the build is sort of old
<drakonis> i see, good.
pbogdan has quit [Remote host closed the connection]
raingloom has joined #nixos
<drakonis> nice.
<ldlework> > For example, it's just convention that a repository has a release.nix for Hydra jobs
<nix-build> error: syntax error, unexpected ',', expecting ')', at (string):293:12
<ldlework> > A flake is a directory that contains a file named flake.nix in the root directory.
<nix-build> error: syntax error, unexpected IN, expecting ')', at (string):293:61
<ldlework> that made me chuckle
zupo has joined #nixos
<ldlework> nix-build: shh
<morgrimm> How would I set a user's default shell to a user installed package instead of a system one?
<morgrimm> For example, I want to default my user to `fish`, but I still want my regular `~/.config/fish` directory to be the config source
<qy[m]> energizer: ?
<nix-build> [nixpkgs] @r-ryantm opened pull request #84015 → randoop: 4.2.2 -> 4.2.3 → https://git.io/JvdwM
<energizer> qy[m]: "i pinged rycee about it a few days ago, he said he might merge it into a branch" he did
<qy[m]> oh!
<qy[m]> excellent
<qy[m]> i didn't even notice
<qy[m]> drakonis: ^
<qy[m]> thanks rycee
<drakonis> i've seen it, yes.
<drakonis> i was looking into a way to point the url to a local checkout
pbogdan has joined #nixos
<drakonis> i know i can point to a local flake
<cole-h> gchristensen: Alright, thanks for the info :)
anirrudh has joined #nixos
<gchristensen> logs get deleted after 7d I think
<qy[m]> oh, that's odd, those builds aren't even an hour old
growpotkin has joined #nixos
<qy[m]> i created that PR 2 hours ago
<gchristensen> well, then maybe something else is wrong :P
<cole-h> :P
<qy[m]> heh
<gchristensen> will look in a second
<nix-build> [nixpkgs] @alyssais merged pull request #78753 → zenpower: 0.1.5 -> 0.1.10 → https://git.io/JvYyR
<nix-build> [nixpkgs] @alyssais pushed commit from @alexbakker to master « zenpower: 0.1.5 -> 0.1.10 »: https://git.io/Jvdrf
<anirrudh> Hey, has anyone installed latte-tasks or latte-dock on KDE Plasma? I know this is a small issue, but I'm having the bug that has been documented https://forum.manjaro.org/t/icons-rearrange-when-launching-application-latte-dock/114704/9 here but unsure if this is a nix problem or a Latte problem :(
<qy[m]> the build takes ages, you got plenty of time...
roosemberth has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kenran has joined #nixos
<ldlework> So are flakes usable now?
o1lo01ol1o has quit [Remote host closed the connection]
<qy[m]> depends on your definition of "experimental"
<qy[m]> but i'm on one
<qy[m]> i know a few others that are too
<ldlework> what do you mean "on one"?
lsix1 has joined #nixos
knupfer has quit [Quit: knupfer]
o1lo01ol1o has joined #nixos
<ldlework> it sounds super promising
pluplog has joined #nixos
<qy[m]> my config is flakes-based, rather than channels-based
<ldlework> qy[m]: got a github?
<qy[m]> the two are intended to be incompatibel for the most part
<qy[m]> s/el/le
<qy[m]> have a look at the template branch first
noudle has quit []
jjwatt[m] has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<ldlework> qy[m]: does one need a special version of nix to use this?
<pingiun> anyone here who has a dedicated hetzner server and can share their ipv6 config with me?
<qy[m]> ldlework: you should be able to build that configuration initially by putting it at /etc/nixos
<immae> pingiun: I do, what configuration do you want?
<qy[m]> once built, it will change your system nix to nixFlakes
<qy[m]> which is the version you need for flake support
<nix-build> [nixpkgs] @alyssais merged pull request #82629 → nixos/iio: explain why you might want IIO sensor support. → https://git.io/JvioL
<nix-build> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/Jvdr0
<pingiun> immae: do you have any routes set up? or just addresses and default gateway?
<immae> Just addresses and default gateway
<ldlework> qy[m]: i guess it's time to figure out how to do virtual-machines on nixos so I can test this before inevitably bricking my laptop
<qy[m]> is use of `rec` discouraged, out of curiosity?
<drakonis> there's a bunch of repositories that could be converted into flakes
<pingiun> immae: I have set stuff up using the hetzner wiki, and it works for a small while after boot but then stops working (all static config, no dhcp). do you have any idea?
<qy[m]> ldlework: remember you can always just rollback :p
<qy[m]> that said, when i screwed it up initially i decided to just trudge through until it worked.
<qy[m]> i managed to botch the import of my old config, so it gave me a system that didn't even have vim installed
<qy[m]> where my user didn't exist
<ldlework> qy[m]: it seems like a good practice to be able to test a whole nix config in a vm
<qy[m]> probably
linarcx has joined #nixos
<immae> pingiun: can you maybe compare ip link / ip addr before and after boot?
<immae> I didn’t do anything special
anirrudh has quit [Quit: Leaving]
<qy[m]> infinisil: adisbladis: pinging you two cause i can't think of any other nix vets. should i avoid `rec` unless absolutely necessary, or is it reasonable to use it for stylistic purposes
<immae> fe80::1 for default gateway, and manually entered addresses
cosimone has quit [Quit: Quit.]
<qyliss> qy[m]: In general avoiding rec is good
<qyliss> It's okay in very simple cases, like using a version in a src
<qy[m]> damn, ok
davidak has joined #nixos
<qy[m]> perhaps i'll try it.
davidak has quit [Client Quit]
<nix-build> [nixpkgs] @r-ryantm opened pull request #84016 → saml2aws: 2.24.0 -> 2.25.0 → https://git.io/JvdrH
zeenk has quit [Quit: Konversation terminated!]
mallox has joined #nixos
zaeph has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #84017 → samurai: 1.0 -> 1.1 → https://git.io/Jvdrx
mallox has quit [Client Quit]
<nix-build> [nixpkgs] @r-ryantm opened pull request #84018 → sbt: 1.3.8 -> 1.3.9 → https://git.io/JvdoO
<nix-build> [nixpkgs] @jonringer opened pull request #84019 → nixos/local: deprecate provider → https://git.io/Jvdon
thomasho1eyman has joined #nixos
kenran has quit [Ping timeout: 264 seconds]
<thomasho1eyman> anyone know how to refer to a Nix expression's output from another expression when the output isn't "out"?
<thomasho1eyman> ie. outputs = [ "out", "out2" ]
<thomasho1eyman> where "out2" contains some files used in another Nix expression
<thomasho1eyman> ie. files = (callPackage ./package { }).out2
<thomasho1eyman> or something along those lines
captjakk has joined #nixos
o1lo01ol1o has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<qy[m]> > "${pkgs.nix}"
<nix-build> "/nix/store/83f38s2vp9nlkh3akilbhw2869xy0b9l-nix-2.3.3"
<qy[m]> > "${pkgs.nix.debug}"
<nix-build> "/nix/store/j4a96fkd5sg2wacrvkaj3wy618pxckj3-nix-2.3.3-debug"
pluplog has quit [Read error: Connection reset by peer]
<thomasho1eyman> thanks!
turion has quit [Ping timeout: 264 seconds]
o1lo01ol1o has quit [Ping timeout: 265 seconds]
morgrimm has quit [Remote host closed the connection]
pingiun has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pingiun has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #84020 → sequeler: 0.7.3 -> 0.7.4 → https://git.io/JvdKe
pingiun has quit [Client Quit]
roosemberth has quit [Ping timeout: 264 seconds]
<nix-build> [nixpkgs] @r-ryantm opened pull request #84021 → sickgear: 0.21.17 -> 0.21.22 → https://git.io/JvdKm
roosemberth has joined #nixos
<nix-build> [nixpkgs] @bhipple merged pull request #84011 → pyradio: 0.8.7.1 -> 0.8.7.2 → https://git.io/JvdVV
<nix-build> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvdKc
zupo has joined #nixos
CptCaptain has joined #nixos
alina has quit [Quit: leaving]
<nix-build> [nixpkgs] @r-ryantm opened pull request #84022 → signal-cli: 0.6.5 -> 0.6.6 → https://git.io/JvdKr
jfroche has joined #nixos
dashkal has quit [Ping timeout: 258 seconds]
lord| has quit [Read error: Connection reset by peer]
yvan has quit [Quit: WeeChat 2.7.1]
lord| has joined #nixos
oida has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #84023 → simplenote: 1.15.0 -> 1.15.1 → https://git.io/JvdKF
<nix-build> [nixpkgs] @timokau merged pull request #83788 → vimPlugins: Automate git commits when updating. → https://git.io/Jv7Hj
<nix-build> [nixpkgs] @timokau pushed 7 commits to master: https://git.io/JvdKh
<qy[m]> ok this builds and works now https://github.com/NixOS/nixpkgs/pull/84004
<nix-build> #84004 (by bqv, 2 hours ago, open): guix: init at 1.0.1
aminechikhaoui has quit [Quit: Ping timeout (120 seconds)]
dominikh has quit [Read error: Connection reset by peer]
<gchristensen> qy[m]: interesting, I wonder why package it with Nix?
aminechikhaoui has joined #nixos
o1lo01ol1o has joined #nixos
dominikh has joined #nixos
<qy[m]> > Guix is compatible with Nix, so it is possible to share the same store between both. To do so, you must pass configure not only the same --with-store-dir value, but also the same --localstatedir value. The latter is essential because it specifies where the database that stores metadata about the store is located, among other things. The default values for Nix are --with-store-dir=/nix/store and --localstatedir=/nix/var. Note that
<qy[m]> --disable-daemon is not required if your goal is to share the store with Nix.
<nix-build> error: syntax error, unexpected WITH, expecting ')', at (string):293:20
yvan has joined #nixos
<nix-build> [nixpkgs] @jonringer merged pull request #82166 → pythonPackages.salmon-mail: 3.1.1 -> 3.2.0 → https://git.io/Jvord
<nix-build> [nixpkgs] @jonringer pushed commit from @jluttine to master « pythonPackages.salmon-mail: 3.1.1 -> 3.2.0 »: https://git.io/Jvd6t
dashkal has joined #nixos
v0|d has quit [Ping timeout: 264 seconds]
<qy[m]> i was originally goint to see if i could make it easier to have a side-by-side installation
<qy[m]> then i came across that
<drakonis> qy[m]: its not very compatible now btw
lewo has joined #nixos
<drakonis> they have made enough changes to the daemon that it doesnt play together in the same pen anymore
<drakonis> see also their usage of grafts, which is currently unsupported by nix
dermetfan has joined #nixos
helpusobi has quit [Quit: No Ping reply in 180 seconds.]
mlatus has quit [Remote host closed the connection]
<drakonis> rather, scratch unsupported, as i dont even think it'll be supported
<drakonis> by the way, would a nix spec come to exist at some point?
<drakonis> code as spec is a weird thing to have
<qy[m]> ah, damn. perhaps better to default to running with a standalone store, then
helpusobi has joined #nixos
<drakonis> you can have the guix daemon living together just fine, except when pulling, which you need have shell source the new binaries
<drakonis> instead of pulling from the store
ixxie has quit [Ping timeout: 240 seconds]
mlatus has joined #nixos
<drakonis> oops, the guix binary tells you what you have to invoke in order to pull in the new binaries
<tilpner> drakonis: Sounds like replaceDependency on the reverse closure?
mexisme has joined #nixos
<drakonis> they achieve that through lisp features
<drakonis> but sure
<drakonis> you can graft and not rebuild the whole chain unless it is a extreme change
<tilpner> I think Nix can do the same, though I haven't seen it used
<drakonis> its https://github.com/NixOS/nixpkgs/pull/10851/ this one issue seems to touch on the matter
<tilpner> Also see system.replaceRuntimeDependencies
<drakonis> i find it to be particularly useful for replacing dependencies for leaf packages without needing to rebuild everything else attached
cosimone has joined #nixos
<drakonis> this should be revived
keviv has joined #nixos
tilpner has quit [Read error: Connection reset by peer]
mexisme has quit [Ping timeout: 246 seconds]
tilpner has joined #nixos
<qy[m]> hmm
srid has joined #nixos
<qy[m]> ok well, i've amended the PR to be standalone only, but the option remains in the package inputs
<qy[m]> gonna use this to build a guix service
cruxeternus has quit [Ping timeout: 256 seconds]
<drakonis> admittedly, i wish i was good at the language in order to implement that
bvdw has quit [Read error: Connection reset by peer]
<drakonis> i have run into a few instances where this would be just the stuff for solving my issues
bvdw has joined #nixos
luigy has joined #nixos
zacts has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme has joined #nixos
<gchristensen> mog: I'm thinking this sticker should be deleted: https://www.redbubble.com/i/sticker/Trimps-by-mogorman/37459824.EJUG5
mallox has joined #nixos
<gchristensen> or maybe we should make a more nixos-specific account?
<nix-build> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/926c7638063 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
dashkal has quit [Ping timeout: 256 seconds]
yvan has quit [Quit: WeeChat 2.7.1]
fendor has quit [Quit: Leaving]
<nix-build> [nixpkgs] @r-ryantm opened pull request #84024 → terracognita: 0.3.0 -> 0.4.0 → https://git.io/Jvdig
yvan has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #84025 → tessera: 0.10.2 -> 0.10.4 → https://git.io/Jvdi1
<drakonis> tilpner: it appears that replacedependency does not propagate forward
yvan has quit [Client Quit]
<nix-build> [hydra] @edolstra merged pull request #703 → Update libpqxx usage to move away from deprecated API interactions. → https://git.io/Jvfa2
<nix-build> [hydra] @edolstra pushed 4 commits to master: https://git.io/JvdiD
yvan has joined #nixos
<drakonis> ah, i confused it with guix's implementation
<drakonis> fun.
<drakonis> my bad.
mallox has quit [Quit: WeeChat 2.7.1]
<dukedave> So I installed hie following these instructions, how do I uninstall it?
zupo has joined #nixos
mallox has joined #nixos
<cole-h> `man nix-env` might help :)
chagra has quit [Ping timeout: 256 seconds]
dongcarl has quit [Ping timeout: 264 seconds]
yvan has quit [Client Quit]
lsix1 has quit [Ping timeout: 272 seconds]
<nix-build> [nixpkgs] @matthewbauer merged pull request #83906 → krb5: Add patches to fix build with musl on 1.18 → https://git.io/Jv5FH
<nix-build> [nixpkgs] @r-ryantm opened pull request #84026 → texworks: 0.6.4 -> 0.6.5 → https://git.io/Jvdid
<nix-build> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JvdiF
<dukedave> cole-h: So yeah I found `-e` and `nix-collect-garbage`, but I'm not sure what the package name would be?
chagra has joined #nixos
<cole-h> That's also in the manpage :) Hint: you want to "query" for package names
o1lo01ol1o has quit [Remote host closed the connection]
yvan has joined #nixos
<dukedave> With `-qaP ` ?
<cole-h> `-a` means `available`: `The query operates on the derivations that are available in the active Nix expression.`
<cole-h> So you probably don't want that if you're searching for something that is already `installed`
<dukedave> Ah, bingo, got it with `-q --installed` thanks :)
<cole-h> `--installed` is not necessary because it's the default query operation, FYI
<dukedave> Oh, nice, thanks for all your help 🙏
kleisli has joined #nixos
<excelsiora> can someone point me at a working configuration.nix that works on Linode?
<nix-build> [nixpkgs] @r-ryantm opened pull request #84027 → tiledb: 1.7.6 -> 1.7.7 → https://git.io/JvdPk
<nix-build> [nixpkgs] @Ericson2314 opened pull request #84028 → bazel-*: Consistently self reference → https://git.io/JvdPI
<qy[m]> rycee: i hate to be a pain, but could you rename the flakes branch to not have a slash in it :') it's treated as an invalid url
<rycee> bqv: Alright.
<qy[m]> thanks
<qyliss> we should really do something about that
<rycee> bqv: It's now called `bqv-flakes` instead.
<qy[m]> much appreciated!
<rycee> np.
mallox has quit [Quit: WeeChat 2.7.1]
mallox has joined #nixos
<nix-build> [nixpkgs] @veprbl merged pull request #82815 → gnuplot_qt: fix on darwin → https://git.io/JvXzz
<nix-build> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JvdPH
ekleog has quit [Quit: WeeChat 2.7.1]
ekleog has joined #nixos
chagra_ has joined #nixos
<keviv> Going through the instructions, and I'm wondering if there's any way to define my profile in a file. Like if I wanted to take my profile to a new machine for instance
<nix-build> [nixpkgs] @r-ryantm opened pull request #84029 → topgrade: 4.2.0 -> 4.3.1 → https://git.io/JvdPd
ZaraChimera has joined #nixos
<tilpner> keviv: You can modularise your configuration at will, many people use multiple files
<tilpner> keviv: Add keviv.nix, with the content { ... }: { }, then add it to imports in configuration.nix like this: imports = [ ./hardware-configuration.nix ./keviv.nix ];
<keviv> Ah neat. Is configuration.nix special?
<tilpner> keviv: Now you can keep user-specific and device-specific configuration separate
<tilpner> keviv: It is special in the way that it's the default name, but you can call it anything you want if you tell NixOS where to find it
<keviv> Oh okay neato
chagra has quit [Ping timeout: 260 seconds]
<nix-build> [nixpkgs] @r-ryantm opened pull request #84030 → tpm2-pkcs11: 1.1.0 -> 1.2.0 → https://git.io/JvdPx
mallox has quit [Quit: WeeChat 2.7.1]
<ZaraChimera> That is a neat feature. So one can create different configuration setups say one for a headless server and another for desktop application, and it is easy to clone them to new systems.
mallox has joined #nixos
<nix-build> [nixpkgs] @Ericson2314 merged pull request #84028 → bazel-*: Consistently self reference → https://git.io/JvdPI
<nix-build> [nixpkgs] @Ericson2314 pushed 3 commits to master: https://git.io/JvdXe
o1lo01ol1o has joined #nixos
morgrimm has joined #nixos
<morgrimm> qy[m]: Really liking the flake based config - I notice you use fish
<morgrimm> Do you generate the fish config just out of the intent of keeping it in the nix config?
<morgrimm> Or is it required to generate the config using nix when you set the default shell like that?
mallox has quit [Client Quit]
<tilpner> morgrimm: Not required
mallox has joined #nixos
<nix-build> [nixpkgs] @Ericson2314 opened pull request #84031 → bazel-*: Consistently self reference → https://git.io/JvdXJ
<morgrimm> Like, could I set the default fish shell and still use my `~/.config/fish` setup?
<tilpner> Yes, that'll work
Izorkin has joined #nixos
<qy[m]> yep :)
mallox has quit [Client Quit]
<qy[m]> my aim is to keep ALL config in the nix config eventually
mallox has joined #nixos
<morgrimm> Innteresting
<morgrimm> Love that angle
mallox has quit [Client Quit]
<qy[m]> i see the matrix bridge is lagging a bit, tilpner replies before i can even type a word :p
<morgrimm> I'd do it myself, but my work systems are still MacOS, so I have to keep my dots cross platform :/
mallox has joined #nixos
<qy[m]> the way i've done it (home-manager) it will actually refuse to activate if you have your own files there anyway
<srid> Is it possible to configure networking (via dhcp) on a server without having to use NetworkManger (its build is broken)?
<morgrimm> Really? O.o
<morgrimm> I mean, I guess that's a good way to enforce it '
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<qy[m]> that's doable. the structure lends itself to that. make separate hosts in /hosts, and link in profiles for whatever system you're on
<qy[m]> i extended nrxdp's structure a bit so users work that way too
<qy[m]> yeah
<tilpner> srid: Yes, that should be the default
<nix-build> [nixpkgs] @teto opened pull request #84032 → Fix kernel merge → https://git.io/JvdXO
<morgrimm> I do run nix on my macbook though, for package management
<yourfate> ok, playing with nixos. dotfiles: do I do what I usually do and download them from my github to my home dir, or do I somehow set up a nix config file for exapmle for my zsh?
<srid> tilpner: IP is no assigned unless I manually type `dhcpcd` from the CLI
<srid> s/no/not/
<tilpner> srid: journalctl -eu dhcpcd
chloekek has quit [Ping timeout: 256 seconds]
igghibu has quit [Quit: Konversation terminated!]
apx has joined #nixos
<apx> hello
<ekleog> fpletz: By chance, are you using a self-hosted nextcloud nixos module? (trying the maintainers one by one, hoping not to poke too many people ^^') When I'm trying to use the Talk android app or the nextcloud-client nixos package with my instance, I get an endlessly-looping “please wait” on the “connect” button -- do you also see that, or is it just me?
<qy[m]> yourfate: download your dotfiles, at least for now. you could migrate them to a nix config later if you like
o1lo01ol1o has joined #nixos
<srid> tilpner: -- Logs begin at Wed 2020-04-01 20:34:49 UTC, end at Wed 2020-04-01 20:40:49 UTC. --
<srid> -- No entries --
<yourfate> oh, and SSH private keys
<yourfate> the public key permitted to log in for the user I specified
<yourfate> but the user on there also needs a private key
<tilpner> srid: Can I see your configuration.nix?
<tilpner> srid: You need to enable dhcp per interface now
<tilpner> srid: networking.interfaces.foo.useDHCP = true;
<srid> tilpner: For some backend I must mention I'm trying to do this in a LXD container. Just trying `systemctl start dhcpcd.server` as root, and that hangs indefinitely. Here's the config: https://github.com/srid/nix-config/blob/master/machine/bare.nix
<nix-build> [nixpkgs] @Ma27 pushed to master « linuxPackages.wireguard: 0.0.20200318 -> 1.0.20200401 »: https://git.io/JvdXn
<srid> s/server/service/
<ottidmes> qy[m]: the NixOS challenge is to be able to completely format your main machine and be able completely rebuild it, preferrably in an as automated way as possible. I have to automate some of my backup/restore mechanisms further, but all my servers work like that, I install them with one command and I get back my fully functional server. Still want to go a bit further and make sure I don't keep stuff
<tilpner> srid: Ahh, do you know the interface names?
<ottidmes> around I shouldn't e.g. by reverting the file system on boot or more use of tmpfs, but I don't dare to do that yet on my main machine
<srid> tilpner: yea. try ` networking.interfaces.eth0.useDHCP = true;` now
<srid> *trying
<qy[m]> ottidmes: i aspire for that too, mainly because i know one day i'll royally screw up and actually have to rely on that functionality
<qy[m]> i've already managed to wipe my entire system configuration a few times, luckily nix is extremely resilient
<ottidmes> qy[m]: been there done that, and been happy I was on NixOS when it happened XD
apx has quit [Ping timeout: 250 seconds]
<qy[m]> :D
<ottidmes> qy[m]: when I first started out with using sedutil, I made mistake at some point, bricked my drive, had to use a reset code, which causes all data loss... at the time I had it less automated, but it was still so much easier than say Arch
<srid> tilpner: Same problem.
<srid> tilpner: If I run `dhcpcd` directly from root CLI, it works (forks to backend), and I can access the network consequently
rsa_ has joined #nixos
<qy[m]> ottidmes: how do you handle backing up your $HOME, out of interest
<nix-build> [nixpkgs] @utsl42 opened pull request #84033 → fpc: 3.0.0 -> 3.0.4; lazarus: 1.8.4 -> 2.0.6 → https://git.io/JvdXV
<qy[m]> i reckon with a full nix configuration, and a copy of my $HOME, i could recreate my system to the point where i couldn't tell them apart
<qy[m]> at least this local one
IslandUsurper_ has joined #nixos
<tilpner> srid: And you only have lo and eth0?
<srid> tilpner: yup.
<tilpner> srid: I have never used lxd, so I have no idea how it differs from the things I do know, and probably can't help you
thomashoneyman has quit [Quit: Connection closed for inactivity]
<tilpner> srid: Without any of that knowledge, I would try to get dhcpcd to log more, and if that fails attach a debugger or tracer
<srid> AH, what, my container's configuration.nix is effectively empty. It did not use the configuration I specified during image creation. tilpner
<tilpner> Hah, that's unfair
<srid> this doesn't import the actual configuration.nix apparently https://github.com/srid/nix-config/blob/master/machine/buildLxcImage.sh
<tilpner> How do you tell?
<nix-build> nix-community/nixos-generators#42 (by asbachb, 28 weeks ago, open): [Discussion] Lxc image should contain configuration used for generation as `/etc/nixos/configuration.nix`
<srid> I just looked in /etc/nixos/configuration.nix
<tilpner> That doesn't mean the configuration wasn't used
<srid> Also, trying to update nix channels fails with: error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': No such file or directory
<tilpner> But you should probably verify that it was
<tilpner> Install a random package into systemPackages, see if you can use it inside the container thing
<yourfate> difference betwen environment.systempackages and programs.zsh.enable?
<tilpner> yourfate: They are entirely different things
<yourfate> so, adding zsh to system packages is different from enabling it?
<tilpner> yourfate: If your question is actually "what's the difference between installing zsh using A or B", then it's still different, but now we can start listing differences
<yourfate> so far I added programs I want to be available in environment.systempackages
<yourfate> I now want to set my user shell to zsh, but I read I should enable it
<yourfate> so far I have not enabled programs
<tilpner> yourfate: Enabling programs via options usually means there's additional setup required to make that program work well
<tilpner> In the case of programs.zsh, that's because it allows you to configure e.g. aliases, init, completion, and various other options, from your configuration
<yourfate> aah
<yourfate> but in my case, having an old fashioned .zshrc, I could just set it as my shell and be done?
<nix-build> [nixpkgs] @stigtsp opened pull request #84034 → rkdeveloptool: 1.3 -> 1.3-62 → https://git.io/JvdXN
<tilpner> You can still configure those things manually, you don't need to use programs.zsh
<yourfate> for now
keviv has quit [Quit: Leaving]
zacts has quit [Quit: WeeChat 2.8]
<nix-build> [nixpkgs] @ryantm merged pull request #83983 → khronos: 1.0.6 -> 1.0.8 → https://git.io/JvdWQ
<nix-build> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvdXx
<tilpner> yourfate: Not exactly, no. By default, zsh is not an accepted shell for your user
<yourfate> oh, it worked
<yourfate> :P
<tilpner> yourfate: By setting programs.zsh.enable = true;, it is added to that list
<yourfate> I set my shell to pkgs.zsh
<yourfate> which worked
<yourfate> no enabling
<tilpner> Huh
<tilpner> Can you run nixos-option environment.shells?
<nix-build> [mobile-nixos] @samueldr merged pull request #118 → Add hydra build product to the rootfs → https://git.io/Jv595
<nix-build> [mobile-nixos] @samueldr pushed 4 commits to master: https://git.io/Jvd1v
<tilpner> Maybe the check is less strict than I thought
<yourfate> hmm, zsh is not one of them
<tilpner> That is weird
<tilpner> You may still want to set programs.zsh.enable = true;, I vaguely remember having problems with ssh login otherwise
<yourfate> I did ssh login :P
<yourfate> but yes, I shall enable it
<tilpner> This is odd, for once I want something to not work
<tilpner> Ahh, it''s not used there
<yourfate> any more stuff you want me to check before I rebuild with it turned on?
<tilpner> yourfate: /etc/shells should contain zsh, right?
<yourfate> it does not
<yourfate> :D
<tilpner> (╯°□°)╯︵ ┻━┻
<yourfate> /run/current-system/sw/bin/zsh
<yourfate> is what is set in passwd
<yourfate> is it maybe because I set the shell to pkgs.zsh instead of naming the executable?
<yourfate> does that maybe implicitly allow it?
IslandUsurper_ is now known as IslandUsurper
<tilpner> Probably, but I'd like to find where that happens in nixpkgs
<nix-build> [nixpkgs] @r-ryantm opened pull request #84035 → wtf: 0.27.0 -> 0.28.0 → https://git.io/Jvd1q
FRidh2 has quit [Quit: Konversation terminated!]
melling has quit [Quit: WeeChat 2.7.1]
<IslandUsurper> How much of a problem is it to get "wrong ELF type" in the post-installation fixup steps?
inf has quit [Remote host closed the connection]
<cole-h> Usually isn't, at least in my experience.
inf has joined #nixos
<IslandUsurper> cvbn`,12.356789y;['
<IslandUsurper> ';yu76
linarcx has quit [Ping timeout: 250 seconds]
gustavderdrache has quit [Quit: Leaving.]
* IslandUsurper sighs. Toddler getting to my keyboard when I step away for a second.
<nix-build> [nixpkgs] @r-ryantm opened pull request #84036 → x11docker: 6.6.0 -> 6.6.1 → https://git.io/Jvd1W
<nix-build> [nixpkgs] @worldofpeace opened pull request #84037 → nixos/none: remove → https://git.io/Jvd18
yvan has quit [Quit: WeeChat 2.7.1]
yvan has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #84038 → xmrig: 5.7.0 -> 5.10.0 → https://git.io/Jvd1z
<worldofpeace> When did the bot get renamed to nix-build?
rardiol has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<IslandUsurper> Well, I'm getting an undefined symbol in one of those files and wondered if that contributed. Thanks, cole-h.
<aranea> I thought types.submodule could just be passed an attribute set with options declarations, but it apparently accepts functions as well? What are the semantics of this? https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/tasks/network-interfaces.nix#L137
<cole-h> worldofpeace: A couple/few days ago I think
<aranea> (I unfortunately can't find the definition of types.submodule right now)
<morgrimm> What's the best practice way to deal with passwords/login for declarative users with `mutableUsers` off?
<aranea> (Background is that I'm debugging a bizarre bug that has caused my network interfaces to be named "lolo", "eth0eth0" and the like)
<cole-h> worldofpeace: https://logs.nix.samueldr.com/nixos/2020-03-30#3245789; and following
<tilpner> morgrimm: Use hashedPassword over initialPassword, and don't make your config public
<tilpner> morgrimm: Combine with git-crypt or similar secret management methods if you want to not depend on your git repo security
<aranea> morgrimm: There's passwordFile as well.
<nix-build> [nixpkgs] @Ma27 pushed to master « gitea: 1.11.3 -> 1.11.4 »: https://git.io/Jvd1r
yvan has quit [Quit: WeeChat 2.7.1]
<worldofpeace> cole-h: lol, it seems to be a bug without reason
smatting has quit [Ping timeout: 256 seconds]
<excelsiora> tilpner: thanks for trying to help yesterday. I gave up with that install and started over with the tutorial - I can ping my server now! :) But I can't ssh into it from my computer directly, I can only ssh from their LISH (linode shell) thing. :( I think maybe `networking.interfaces.eth0.useDHCP = true;` made it pingable...
<cole-h> Seem to be a lot of those recently ^^;
<worldofpeace> "dunno"
<morgrimm> I'd ideally like to put my entire config on github
<aranea> Oh, duh, I'm blind.
mallox has left #nixos ["WeeChat 2.7.1"]
<excelsiora> morgrimm: why not do it then?
<aranea> Well, I've found the definitions, but they're rather hard to read, so my question still stands.
yvan has joined #nixos
<morgrimm> It might be easier to use passwordFile - I've never used git-crypt
<yorick> how do we package go these days?
<yorick> vgo2nix?
<morgrimm> I guess I can `git-crypt` the password file
<morgrimm> Or just point to a file mounted on the host instead of in VS
<morgrimm> vcs*
<nix-build> [nixpkgs] @lsix merged pull request #84035 → wtf: 0.27.0 -> 0.28.0 → https://git.io/Jvd1q
<nix-build> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/Jvd1D
<cole-h> morgrimm: Just make sure to keep that file out of the store
<ottidmes> morgrimm: I just gitignore all secret files, never commit any of them, and sync the secret files over to the machine they are needed on
<srid> can `nixos-rebuild switch` be told to ignore boot configuration? (it doesn't apply on lxc container anyway)
<morgrimm> ottidmes: How do you deal with initial setup? For example, where does the secret file live, where do you place it for first login, etc
<ottidmes> morgrimm: I SSH in the installer from a machine that has the needed files
<ottidmes> morgrimm: and I use a custom installer (no secrets in it though, just a public key of the build machine)
ben[m] has joined #nixos
<morgrimm> Just the keys you need to be able to ssh in, yeah?
<ottidmes> yep
rardiol has joined #nixos
yvan has quit [Quit: WeeChat 2.7.1]
<morgrimm> and then you place the files in like, `/etc` before `nixos-install`ing? or some path that's preserve
<morgrimm> preserved*
yvan has joined #nixos
yvan has quit [Client Quit]
yvan has joined #nixos
<ottidmes> I just format the drive, mount those, and place the files in the needed locations
coco has quit [Ping timeout: 258 seconds]
<qy[m]> yorick: buildGoModule works nicely if it's a module
<morgrimm> Do you put them in homedirs?
<morgrimm> For stuff like user passwords?
<ottidmes> morgrimm: nope, I keep stuff like that together in the nixos config
<qy[m]> doesn't require any generation
<morgrimm> Ah, gotcha
<qy[m]> i use git-crypt. i was apprehensive at first, but it's just massively convenient compared to anything else
<ottidmes> morgrimm: and I have some absolute paths in my config, but I limit the ones I use, and for those I create symlinks so they still work while in /mnt
<morgrimm> qy[m]: Could you theoretically keep fish configs in their normal structure/state, and just read them into the nix config definition?
<morgrimm> I'd rather keep some semblance of structure vs putting the entire config in one nix definition - plus, I have no clue how to set up proper vendor conf dirs and autoload dirs via nix
<qy[m]> as in convert them to a nix config?
<ottidmes> morgrimm: yes, I have seen others do this, if I understand you correctly, they have dotfiles directory, and then they place them through NixOS/HM config into their right locations
<qy[m]> ah. well you could start by just putting your config.fish into nix configuration
<qy[m]> that can then import other files from .config/fish
<qy[m]> i imagine with vendor directories it would be an almighty pain to create home.files entries for every file
Baughn has quit [Ping timeout: 258 seconds]
Baughn has joined #nixos
<nix-build> [nixpkgs] @rycee pushed commit from @r-ryantm to master « nethogs: 0.8.5 -> 0.8.6 »: https://git.io/JvdMi
<nix-build> [nixpkgs] @rycee closed pull request #83997 → nethogs: 0.8.5 -> 0.8.6 → https://git.io/JvdEI
chagra_ has quit [Read error: Connection reset by peer]
<qy[m]> why is my texinfo in spanish...
<morgrimm> Like, right now I have a bunch of domain separated files to keep all my functions and settings clean - and I also have some vendor conf dirs for work-related fish stuff on that onemachine
natrys has quit [Ping timeout: 256 seconds]
<morgrimm> I could add my dotfiles as a submodule at the top level of my nixos config, and just have nixos add them for now, like ottidmes said
<qy[m]> i don't think there's much point just dumping them into a nix file for the sake of them being in nix. i would keep them out until you can confidently create a well structured configuration for them
<qy[m]> or that, i guess.
<morgrimm> I mean, I get it too though. I don't want to half-ass a solution
<morgrimm> But I also don't want to maintain duplicate dotfiles, when my personal machine is entirely nixos
<morgrimm> and my work machine relies on normal dotfiles
<morgrimm> Although, I believe you can use home-manager on macos
<yorick> qy[m]: updating the hash will be problematic
<morgrimm> Then again
<morgrimm> I can also just... virtualize nixos
<morgrimm> on my work machine, and use that as my primary work one lol
<qy[m]> yorick: howso
<qy[m]> morgrimm: fair enough
<yorick> qy[m]: forgetting to update it causes unexpected failure, but only on other systems but your own
<yorick> sometimes
ben[m] is now known as BenSima[m]
<ottidmes> morgrimm: I have a few dotfiles being generated in my NixOS config with a files modules that places them in my home folders, but I still have it on my planning to store all of my dotfiles in my nixos config, but I would just keep them as files, and only use NixOS to place them in their right places, and I already have the structuring with my NixOS config to have seperate config projects working
<ottidmes> together
<qy[m]> yorick: huh. i see
zebrag has quit [Ping timeout: 240 seconds]
<qy[m]> even if you build with --pure?
<yorick> qy[m]: --pure does nothing on builds, afaik
<yorick> you can use --check, maybe
<drakonis> hmm, where do i go for C manpages?
<drakonis> cant find those
aveltras has quit [Quit: Connection closed for inactivity]
<qy[m]> right
zebrag has joined #nixos
lord| has quit [Read error: Connection reset by peer]
coderobe5 has joined #nixos
<drakonis> have tried didnt work
lord| has joined #nixos
mkaito- has joined #nixos
manveru_ has joined #nixos
_rvl has quit [Ping timeout: 246 seconds]
<drakonis> i dont see glibc's pages anywhere
lsix has quit [Quit: WeeChat 2.7.1]
statusfailed has quit [Ping timeout: 256 seconds]
<ottidmes> drakonis: even with documentation.dev.enable = true;
natrys has joined #nixos
Naptra has quit [Remote host closed the connection]
lecethim1n has joined #nixos
<drakonis> hmm
<drakonis> i had to enable it in the environment to work
<drakonis> i have missing manpages lol
<drakonis> wth
smatting has joined #nixos
mog- has joined #nixos
morgrimm has quit [Remote host closed the connection]
__monty__ has quit [Quit: leaving]
dredozub- has joined #nixos
<simukis_> omg
<simukis_> oh
<simukis_> wrong channel T_T
<nix-build> [nixpkgs] @alyssais opened pull request #84039 → haskellPackages: mass unmark non-broken packages → https://git.io/JvdDJ
wavirc22 has joined #nixos
mog has quit [*.net *.split]
fadenb has quit [*.net *.split]
lohfu has quit [*.net *.split]
jrddunbr has quit [*.net *.split]
manveru has quit [*.net *.split]
coderobe has quit [*.net *.split]
mkaito has quit [*.net *.split]
e has quit [*.net *.split]
davean has quit [*.net *.split]
lecethimon has quit [*.net *.split]
sauyon has quit [*.net *.split]
dredozubov has quit [*.net *.split]
coderobe5 is now known as coderobe
manveru_ is now known as manveru
mog- is now known as mog
emptyflask has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
smatting has quit [Ping timeout: 256 seconds]
Twey has quit [Ping timeout: 264 seconds]
Twey has joined #nixos
fadenb has joined #nixos
davean has joined #nixos
cosimone has quit [Quit: Quit.]
statusfailed has joined #nixos
<qy[m]> drakonis: hey what do you think about having nix and guix share a store, just not a statedir
<qy[m]> completely separates stores that just happen to share a directory
<excelsiora> hey, I finally ssh'd into my linode...
<nix-build> [nixpkgs] @zowoq opened pull request #84040 → gitAndTools.gh: 0.6.3 -> 0.6.4 → https://git.io/JvdD3
<excelsiora> thanks all for trying to help yesterday...
natrys has quit [Ping timeout: 250 seconds]
<nix-build> [nixpkgs] @zowoq opened pull request #84041 → kepubify: 3.1.1 -> 3.1.2 → https://git.io/JvdDs
dingenskirchen has quit [Quit: dingenskirchen]
philr has joined #nixos
dingenskirchen1 has joined #nixos
<excelsiora> would this have fixed it? networking.interfaces.eth0.useDHCP = true;
<excelsiora>
CptCaptain has quit [Ping timeout: 260 seconds]
cosimone has joined #nixos
dingenskirchen1 is now known as dingenskirchen
coco has joined #nixos
<qy[m]> i guess that'd serve no purpose other than to make both stores less tidy...
<excelsiora> I think another problem is I gave the ssh key I was trying to use a passphrase.
<nix-build> [nixpkgs] @r-ryantm opened pull request #84042 → abcmidi: 2020.02.12 -> 2020.03.25 → https://git.io/JvdDn
<nix-build> [nixpkgs] @ryantm merged pull request #83981 → janet: 1.7.0 -> 1.8.1 → https://git.io/JvdCu
<nix-build> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvdDC
<nix-build> [nixpkgs] @rycee opened pull request #84044 → emacs: fix setup-hook → https://git.io/JvdDW
_rvl has joined #nixos
chagra_ has joined #nixos
lohfu has joined #nixos
jrddunbr has joined #nixos
sauyon has joined #nixos
pjt_014 has joined #nixos
lohfu has quit [Max SendQ exceeded]
lohfu has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #84045 → apacheHttpd: 2.4.41 -> 2.4.43 → https://git.io/JvdDV
dongcarl has joined #nixos
<excelsiora> if I wanted to use a passphrase with my key how would I do that?
<nix-build> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/926c7638063 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<danderson> ... oh, nixpkgs-19.09, not nixos
<danderson> I was very confused by "nixos" and "darwin" near each other, and wondered if I'd missed an amazing announcement by apple
<nix-build> [nixpkgs] @lopsided98 opened pull request #84046 → opentx: 2.3.5 -> 2.3.7 → https://git.io/JvdDx
e has joined #nixos
konobi has quit [Quit: konobi]
justanotheruser has quit [Ping timeout: 256 seconds]
<excelsiora> I also explicitly opened port 22 in the firewall, could that have been it?
<tilpner> excelsiora: Passphrase on key should be a client problem
o1lo01ol1o has quit [Remote host closed the connection]
<tilpner> excelsiora: If explicitly opening 22 helped, that's a bug
<excelsiora> it's all my problem because I'm the client and the server...
<tilpner> excelsiora: Report it, if you can reproduce it
<excelsiora> :D
<excelsiora> I just got it working and I don't wanna start over...
o1lo01ol1o has joined #nixos
<nix-build> [nixpkgs] @jtojnar pushed to master « Revert "make-options-doc: fix string context issues" »: https://git.io/Jvdyv
<drakonis> qy[m]: its structured differently actually
<drakonis> they can't share a store anymore
o1lo01ol1o has quit [Ping timeout: 240 seconds]
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
thomasho1eyman has quit [Quit: Lost terminal]
<drakonis> also they build against /gnu/ instead of /nix/
<drakonis> its going to lead into pain and suffering
<qy[m]> yeah fair enough
justanotheruser has joined #nixos
cosimone has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sigmundv_ has quit [Ping timeout: 256 seconds]
erasmas has quit [Ping timeout: 258 seconds]
raingloom has quit [Ping timeout: 256 seconds]
peanutbutter144_ has quit [Ping timeout: 240 seconds]
sigmundv_ has joined #nixos
<nix-build> [nixpkgs] @jtojnar pushed to staging-next « Revert "make-options-doc: fix string context issues" »: https://git.io/Jvdyg
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
sigmundv_ has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @aaronjanse opened pull request #84047 → emulateApp: document $NIX_ANDROID_EMULATOR_FLAGS → https://git.io/JvdyK
<qy[m]> ah man, switching to small may have been a mistake, it's just started building webkit...
<nix-build> [nixpkgs] @Ma27 pushed 3 commits to release-20.03: https://git.io/JvdyD
<nix-build> [nixpkgs] @r-ryantm opened pull request #84048 → python37Packages.sly: 0.3 -> 0.4 → https://git.io/Jvdyy
<pjt_014> hey look at the bright side
<pjt_014> only gotta do it once :]
<pjt_014> test
<pjt_014> hm
<qy[m]> ...per version of webkit
<pjt_014> oh
<pjt_014> well the same bright side applies
<qy[m]> back when i was a gentoo-er, it really was build once, pin, then never build again unless you're a masochist. with nix it's hard to avoid updates for specific packages :p
<pjt_014> just to a much lesser degree
<pjt_014> how much disk space does it need?
<qy[m]> i might actually cancel this and switch back to large, i haven't got time to wait for webkit to compile
<qy[m]> eh space isn't the issue, the fact that iirc webkit can take up to 8 hours to build is the issue
<pjt_014> hm
<pjt_014> fair
<pjt_014> I gotta go for a bit
<MichaelRaskin> Then there is Chromium
inkbottle has joined #nixos
wavirc22 has quit [Read error: Connection reset by peer]
codygman has quit [Read error: Connection reset by peer]
<nix-build> [nixpkgs] @jtojnar pushed to release-20.03 « Revert "make-options-doc: fix string context issues" »: https://git.io/Jvdy5
zebrag has quit [Ping timeout: 256 seconds]
captjakk has quit [Remote host closed the connection]
codygman has joined #nixos
<nix-build> [nixpkgs] @Ericson2314 merged pull request #84031 → bazel-*: Consistently self reference → https://git.io/JvdXJ
<nix-build> [nixpkgs] @Ericson2314 pushed 2 commits to release-20.03: https://git.io/Jvdyd
mbrgm_ has joined #nixos
wavirc22 has joined #nixos
<qy[m]> hang on what the hell
<qy[m]> it's still building webkit
<nix-build> [nixpkgs] @r-ryantm opened pull request #84049 → python37Packages.jsonrpc-websocket: 1.0.2 -> 1.1.0 → https://git.io/JvdyF
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm_ is now known as mbrgm
captjakk has joined #nixos
<alexgood> Hey folks, anyone have any experience building Electron apps in Nix? I'm not looking to package this thing up, I just need to work on it so I need a shell with the various build requirements of node-gyp set up.
konobi has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<nix-build> [nixpkgs] @r-ryantm opened pull request #84050 → python37Packages.HTSeq: 0.11.2 -> 0.11.4 → https://git.io/Jvdyp
<nix-build> [nixpkgs] @jonringer merged pull request #84049 → python37Packages.jsonrpc-websocket: 1.0.2 -> 1.1.0 → https://git.io/JvdyF
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.jsonrpc-websocket: 1.0.2 -> 1.1.0 »: https://git.io/JvdSJ
<nix-build> [nixpkgs] @jonringer merged pull request #84048 → python37Packages.sly: 0.3 -> 0.4 → https://git.io/Jvdyy
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.sly: 0.3 -> 0.4 »: https://git.io/JvdSU
<nix-build> [nixpkgs] @jonringer merged pull request #84050 → python37Packages.HTSeq: 0.11.2 -> 0.11.4 → https://git.io/Jvdyp
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.HTSeq: 0.11.2 -> 0.11.4 »: https://git.io/JvdSL
<nix-build> [nixpkgs] @r-ryantm opened pull request #84051 → python37Packages.vowpalwabbit: 8.8.0 -> 8.8.1 → https://git.io/JvdSt
srid has quit [Quit: Connection closed for inactivity]
satoshi has joined #nixos
<excelsiora> ok, now that I have a nixos on linode, what do I do?
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « signal-cli: 0.6.5 -> 0.6.6 »: https://git.io/JvdSY
<nix-build> [nixpkgs] @jonringer merged pull request #84022 → signal-cli: 0.6.5 -> 0.6.6 → https://git.io/JvdKr
<nix-build> [nixpkgs] @jonringer merged pull request #84025 → tessera: 0.10.2 -> 0.10.4 → https://git.io/Jvdi1
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « tessera: 0.10.2 -> 0.10.4 »: https://git.io/JvdSs
<nix-build> [nixpkgs] @jonringer merged pull request #84023 → simplenote: 1.15.0 -> 1.15.1 → https://git.io/JvdKF
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « simplenote: 1.15.0 -> 1.15.1 »: https://git.io/JvdSn
<nix-build> [nixpkgs] @r-ryantm opened pull request #84052 → python37Packages.django-mailman3: 1.3.1 -> 1.3.2 → https://git.io/JvdSc
<nix-build> [nixpkgs] @jonringer merged pull request #84021 → sickgear: 0.21.17 -> 0.21.22 → https://git.io/JvdKm
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « sickgear: 0.21.17 -> 0.21.22 »: https://git.io/JvdSW
<nix-build> [nixpkgs] @jonringer merged pull request #84027 → tiledb: 1.7.6 -> 1.7.7 → https://git.io/JvdPk
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « tiledb: 1.7.6 -> 1.7.7 »: https://git.io/JvdS8
<nix-build> [nixpkgs] @jonringer merged pull request #84018 → sbt: 1.3.8 -> 1.3.9 → https://git.io/JvdoO
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « sbt: 1.3.8 -> 1.3.9 »: https://git.io/JvdSR
codygman has quit [Ping timeout: 264 seconds]
codygman has joined #nixos
<nix-build> [nixpkgs] @jonringer merged pull request #84051 → python37Packages.vowpalwabbit: 8.8.0 -> 8.8.1 → https://git.io/JvdSt
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.vowpalwabbit: 8.8.0 -> 8.8.1 »: https://git.io/JvdSr
<nix-build> [nixpkgs] @r-ryantm opened pull request #84053 → python37Packages.dash-core-components: 1.8.1 -> 1.9.0 → https://git.io/JvdSo
<qy[m]> oh christ it's being pulled in by my nonstandard emacs
<nix-build> [nixpkgs] @jonringer merged pull request #84052 → python37Packages.django-mailman3: 1.3.1 -> 1.3.2 → https://git.io/JvdSc
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.django-mailman3: 1.3.1 -> 1.3.2 »: https://git.io/JvdSX
bhipple has joined #nixos
<nix-build> [nixpkgs] @jonringer merged pull request #84046 → opentx: 2.3.5 -> 2.3.7 → https://git.io/JvdDx
<nix-build> [nixpkgs] @jonringer pushed commit from @lopsided98 to master « opentx: 2.3.5 -> 2.3.7 »: https://git.io/JvdSy
<nix-build> [nixpkgs] @r-ryantm opened pull request #84054 → python37Packages.cliff: 2.17.0 -> 3.1.0 → https://git.io/JvdSQ
<sevanspowell> I'm having this issue using "callCabal2nix" in 20.03. Can anyone explain to me why, in this gist: https://gist.github.com/sevanspowell/baa3f2cbb973adf21904d2eb5a0578fa, running "make working" works and "make broken" doesn't? I haven't been able to identify any changes myself. The buildInputs are empty in the broken version and contain minio in the working version.
<nix-build> [nixpkgs] @jonringer merged pull request #84041 → kepubify: 3.1.1 -> 3.1.2 → https://git.io/JvdDs
<nix-build> [nixpkgs] @jonringer pushed commit from @zowoq to master « kepubify: 3.1.1 -> 3.1.2 »: https://git.io/JvdS5
dermetfan has quit [Ping timeout: 272 seconds]
<nix-build> [nixpkgs] @jonringer merged pull request #84036 → x11docker: 6.6.0 -> 6.6.1 → https://git.io/Jvd1W
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « x11docker: 6.6.0 -> 6.6.1 »: https://git.io/JvdSF
<nix-build> [nixpkgs] @jonringer merged pull request #84040 → gitAndTools.gh: 0.6.3 -> 0.6.4 → https://git.io/JvdD3
<nix-build> [nixpkgs] @jonringer pushed commit from @zowoq to master « gitAndTools.gh: 0.6.3 -> 0.6.4 »: https://git.io/JvdSb
sigmundv_ has joined #nixos
sigmundv__ has joined #nixos
<nix-build> [nixpkgs] @jonringer merged pull request #84038 → xmrig: 5.7.0 -> 5.10.0 → https://git.io/Jvd1z
<nix-build> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « xmrig: 5.7.0 -> 5.10.0 »: https://git.io/Jvd9T
xkapastel has quit [Quit: Connection closed for inactivity]
dermetfan has joined #nixos
sigmundv__ has quit [Remote host closed the connection]
sigmundv_ has quit [Remote host closed the connection]
jfroche has quit [Remote host closed the connection]