worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<lc> How do i access the package on master
dedz has joined #nixos
<lc> lc: Also, how did you know the hash in unstable is still correct? Did you check the file in master or somehow install it?
<lc> pistache*
codygman has quit [Ping timeout: 264 seconds]
<pistache> the hash is not correct in unstable, but it's indeed correct in master (I've checked the file, and I'm trying to install it right now to confirm it works)
<pistache> yep, it does build on master
fresheyeball has quit [Quit: WeeChat 2.7.1]
smatting has quit [Ping timeout: 260 seconds]
codygman has joined #nixos
smatting has joined #nixos
<lc> Is there any way I can build the rescuetime package that's on master manually
<pistache> lc: there's two ways of doing that
<pistache> you could either copy the current version of rescuetime's definition and import it directly from your configuration
evanjs has quit [Ping timeout: 272 seconds]
leungbk has joined #nixos
user_0x58 has quit [Ping timeout: 246 seconds]
<pistache> or clone the whole nixpkgs repository, import that as "nixos-master", and use install "nixos-master.rescuetime"
user_0x58 has joined #nixos
evanjs has joined #nixos
<lc> How would I do the first option
<leungbk> How can I install the npm package @angular/cli globally? I've tried `nix-env -iA nodePackages.@angular/cli` and some variants thereof but haven't gotten it to work.
<lc> import filehere, where filehere is the default.nix?
MmeQuignon has quit [Ping timeout: 260 seconds]
bhipple has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<Henson> clever: do you have anything in your OUTPUT chain? It's annoying that a nixos output chain doesn't exist, because I would have to add my own which means I need to run shell scripts in the extraCommands section to check if a chain exists or doesn't exist before deleting or creating it.
<clever> Henson: nothing in OUTPUT for mine, i only filter incoming
codygman has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @risicle opened pull request #87227 → gitAndTools.git-fast-export: 190107 -> 200213, fix → https://git.io/Jfcqq
<pistache> lc: so I don't really remember what's the proper way to do this (I'm a beginner with NixOS as well)
codygman has joined #nixos
<Henson> clever: ok. Do you think there would be value in having a nixos-fw-output chain (or something similarly named) added to address this problem, or is it perhaps not that big of a problem?
<pistache> lc: but "(callPackage ./rescuetime.nix { mkDerivation = stdenv.mkDerivation; })" seems to work here
<pistache> however, I don't understand why I have to provide mkDerivation to callPackage
<clever> Henson: you could use mkMerge, mkBefore, and mkAfter, to add your own nixo-fw-output, and flush it before all other rules, then append after others
<lc> pistache: Thanks
<clever> Henson: but having it in nixpkgs natively would be nicer for others
<pistache> lc: also use "inherit (stdenv) mkDerivation" rather than "mkDerivation = stdenv.mkDerivation"
<Henson> clever: how would I go about initiating a conversation with whoever's in charge of the firewall stuff to see if it would make sense to add one? An e-mail, and IRC conversation, a pull-request?
ONDIE has joined #nixos
<Henson> clever: and IRC -> an IRC
<lc> Where exactly do I put "callPackage"?
<clever> Henson: either irc or a PR, check `git blame` to see who has been touching most of it
<pistache> lc: in home.packages
<Henson> clever: I also just noticed there's a networking.firewall.extraStopCommands that could be used to delete the chain I create in the networking.firewall.extraCommand section.
dot-product[m] has joined #nixos
marcusr has quit [Remote host closed the connection]
<lc> pistache: how did you solve the allowUnfree issue. I have allowUnfree in my config.nix but it doesnt seem to care
user_0x58 has quit [Ping timeout: 272 seconds]
user_0x58 has joined #nixos
jluttine has quit [Ping timeout: 256 seconds]
<pistache> lc: by setting allowUnfree in .config/nixpkgs/config.nix, I think
marcusr has joined #nixos
<lc> My config.nix in ./config/nixpkgs/cofig.nix is { allowUnfree = true; } and nothing else
<pistache> lc: let me check
ONDIE has left #nixos [#nixos]
marcusr has quit [Remote host closed the connection]
<dot-product[m]> I think you have to do it in /etc/nixos/configuration.nix if you are installing system packages. The other config works if you are installing as a user of the NixOS system.
<clever> lc: configuration.nix doesnt read config.nix
<clever> lc: the error says to use nixpkgs.config if using configuration.nix
bhipple has quit [Ping timeout: 260 seconds]
<lc> I'm not using configuration.nix
<clever> lc: is it in ~/.config or ~/config ?
marcusr has joined #nixos
<pistache> lc: it's the same for home-manager, set "nixpkgs.config.allowUnfree = true;" in your home.nix
<dot-product[m]> According to this the former:
<dot-product[m]> * lc: According to this the former:
<lc> I am trying to call the package from my home manager file in ~/.config/nixpkgs/home.nix, and my config.nix is located at ~/.config/nixpkgs/config.nix
<dot-product[m]> * lc: According to this the former, "~/.config/nixpkgs/config.nix":
<{^_^}> [nixpkgs] @aanderse merged pull request #87213 → kdev-php: 5.5.0 -> 5.5.1 → https://git.io/Jfceq
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Jfcqg
<{^_^}> [nixpkgs] @aanderse merged pull request #87218 → kdevelop-unwrapped: 5.5.0 -> 5.5.1 → https://git.io/Jfcfz
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Jfcq2
<pistache> lc: the advice given for configuration.nix (setting nixpkgs.config.allowUnfree) works for home-manager as well
bhipple has joined #nixos
FolkLore has quit [Read error: Connection reset by peer]
<lc> This worked, but rescuetime crashed, with the error qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jfcq6
<{^_^}> [nixpkgs] @aanderse opened pull request #87228 → moodle: 3.8.1 -> 3.8.2 [20.03] → https://git.io/JfcqM
user_0x58 has quit [Ping timeout: 272 seconds]
user_0x58 has joined #nixos
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Jfcqy
<{^_^}> [nixpkgs] @aanderse merged pull request #87217 → kdev-python: 5.5.0 -> 5.5.1 → https://git.io/Jfcvy
charukiewicz has joined #nixos
<dot-product[m]> Has anyone attempted to get GUIX scheme to work as a replacement for the nix language but still have nix packages instead of GUIX packages? I am looking at GUIX and it looks nice, except I want to be free to install any packages, not exclusively FSF approved ones.
<emily> there are non-free package repositories for guix, or you can also probably use nix/nixpkgs on guix
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87229 → krita: 4.2.7.1 -> 4.2.9 → https://git.io/JfcqH
<lc> all that work and the app doesn't even run :(
<pistache> lc: hmm, I don't understand why is that happenning (I do have the same error)
<dot-product[m]> Interesting, presumably because they both use the same build system. That does make GUIX more attractive.
<emily> pistache: you need to use libsForQt5.callPackage
<emily> lc: too
<pistache> emily: thanks
<emily> 6283: rescuetime = libsForQt5.callPackage ../applications/misc/rescuetime { };
<emily> you should mirror the line in all-packages.nix when importing stuff
<emily> but also it would probably be better to just do (import pinned-nixpkgs {}).rescuetime
<pistache> yes I was going to advise him to clone nixpkgs and import it from there
<pistache> (it seems the fixed package has not reached nixos-unstable yet)
<leungbk> How can I install the npm package @angular/cli globally? I've tried `nix-env -iA nodePackages.@angular/cli` and some variants thereof but haven't gotten it to work.
<charukiewicz> I'm trying to enter the nix-shell for a Haskell library I'm working with that has a tiny dependency list (base, text, and hspec), but for some reason it seems to be recompiling a mountain of packages as well as GHC. Here's my default.nix that my shell.nix relies on: https://github.com/charukiewicz/isbn/blob/master/default.nix - Is there something I could change so that it doesn't randomly start to
rogue_koder has quit [Ping timeout: 260 seconds]
<charukiewicz> recompile things for 45+ minutes?
<pistache> lc: so just "(libsForQt5.callPackage ../applications/misc/rescuetime { })" should work, no need to set mkDerivation now that we use the correct callPackage variant
<lc> I'm getting an xprop error in the output in my terminal, but it seems to be working
eoli3n_ has quit [Quit: WeeChat 2.8]
bhipple has quit [Ping timeout: 246 seconds]
rogue_koder has joined #nixos
punkj has quit [Remote host closed the connection]
bhipple has joined #nixos
eoli3n__ has quit [Ping timeout: 256 seconds]
thc202 has quit [Ping timeout: 240 seconds]
<evelyn> dot-product[m]: no you can probably get nix to work on guixsd and it will be its own little thing. it probably won't touch guix e.g. they use different store paths
lc has quit [Ping timeout: 264 seconds]
<dot-product[m]> I know, I am more interested in using scheme to configure nix packages. I am currently working on installing the GUIX package manager on my (NixOS) system to see if I can change things to work with nix packages.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87230 → keycloak: 9.0.3 -> 10.0.0 → https://git.io/JfcmB
<cole-h> dot-product[m]: If you haven't seen it yet, there's an open PR for guix
<cole-h> #85463
<{^_^}> https://github.com/NixOS/nixpkgs/pull/85463 (by bqv, 2 weeks ago, open): guix: init at 1.1.0
<energizer> dot-product[m]: why scheme over nix?
aveltras has quit [Quit: Connection closed for inactivity]
<cole-h> dot-product[m]: There's also a test module to use guix posted in the comments of that PR by the author
<dot-product[m]> TBH Nix is kind of not that great of a language in itself and I enjoy using lisps in general. Like basically my litmus test is that while I can write code in Nix I would never choose it to write a project in as it tends to be not that great. I might very well write a project in scheme though (or another lisp. Lisps as a whole are very interchanagable.).
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/Jfcm1
butcher has quit [Ping timeout: 260 seconds]
<dot-product[m]> And I am looking at the PR. I am thinking of contributing to some of the prerequs reccomended by timokau.
<cole-h> Those comments aren't really something that can be done by somebody other than the author, though...
<dot-product[m]> Yeah. I mean I could make my own and make more work for people. But yeah, that's best to avoid doing.
numkem has joined #nixos
bhipple_ has joined #nixos
<cole-h> (So basically, just wait :^) )
<{^_^}> [nixpkgs] @jonringer opened pull request #87231 → jetbrains.*: 2020.1 -> 2020.1.1 → https://git.io/JfcmS
<pie_> Ericson2314: I dont suppose you could help me with this? https://paste.lassul.us/chGjGrir/+inline
<pie_> the only thing i've been able to figure out is it works fine with 19.09 but not with anything newer
<pie_> and i have no idea whats going on with those llvm sybols
<pie_> sy does llvm end up referring to symbols from like 20 different glibc versions?
rogue_koder has quit [Remote host closed the connection]
rogue_koder has joined #nixos
<pie_> this is if i use cabal repl with
<EdLin> I'm trying to get CUPS to work with my PS compatible HP printer that has IPPS/IPP. The test page always says "the printer is in use" and does not print.
smatting has quit [Ping timeout: 264 seconds]
asbachb has quit [Ping timeout: 245 seconds]
andromeda-galaxy has quit [Ping timeout: 260 seconds]
<EdLin> there we go.
<EdLin> nevermind. :)
<pie_> :D
braunse has joined #nixos
braunse_ has quit [Ping timeout: 272 seconds]
sigmundv__ has quit [Read error: Connection reset by peer]
<cole-h> EdLin: What was the issue? Just impatience? :P
<EdLin> didn't append /print to the URI
<cole-h> Haha
<EdLin> hey, it's the first time I tried while not using the printer driver.
<EdLin> printer supports CUPS built in.
<EdLin> and postscript too, so filters aren't needed... :P
<cole-h> Not making fun of you :D Just entertaining that the solution was so simple
<EdLin> now it's reporting a paper jam, but no paper is being fed?
<EdLin> sigh...
* EdLin throws HP anything out the window now
iqubic has joined #nixos
<cole-h> :D
<sjanes[m]> Unfortunately in my experience, just about every printer out there ships with the worst possible timeline of supporting software because... well, you've already bought it--there's no need to make it functional.
<{^_^}> [nixpkgs] @marcus7070 opened pull request #87232 → pythonPackages.ipykernel: 5.1.3 -> 5.2.1 → https://git.io/JfcYw
Darkmatter66 has joined #nixos
h0m1 has quit [Ping timeout: 244 seconds]
<Ericson2314> pie_: sorry not gonna lie I have a big headache and kinda running out of steam at the end of the day
<pie_> Ericson2314: sure
Darkmatter66_ has quit [Ping timeout: 256 seconds]
<pie_> meanwhile im trying to reduce the problem some more but i just dont even knw
h0m1 has joined #nixos
andromeda-galaxy has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #87228 → moodle: 3.8.1 -> 3.8.2 [20.03] → https://git.io/JfcqM
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to release-20.03: https://git.io/JfcYD
EdLin has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @ryantm merged pull request #87165 → ssm-session-manager-plugin: init at 1.1.61.0 → https://git.io/JfnEv
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfcYd
hmpffff_ has joined #nixos
markus1189 has joined #nixos
hmpffff has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #86966 → grisbi: get rid of sha1 + package cleanup → https://git.io/JfZf0
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfcOT
nuncanada has quit [Read error: Connection reset by peer]
markus1199 has quit [Ping timeout: 272 seconds]
butcher has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
dedz has quit [Ping timeout: 256 seconds]
lc has joined #nixos
rogue_koder has quit [Ping timeout: 246 seconds]
<Henson> so, I finally got my networking.firewall.extraCommands stuff figured out, and there are a lot of perils in using this command. Is anybody here well-versed in NixOS firewall stuff so I can discuss what I encountered?
leungbk has quit [Ping timeout: 256 seconds]
felixfoertsch23 has joined #nixos
jluttine has joined #nixos
felixfoertsch has quit [Ping timeout: 272 seconds]
felixfoertsch23 is now known as felixfoertsch
numkem has quit [Ping timeout: 240 seconds]
rogue_koder has joined #nixos
hmpffff has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
hmpffff_ has quit [Ping timeout: 265 seconds]
mrpi has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
ajs124 has quit [Quit: killed]
das_j has quit [Quit: killed]
ajs124 has joined #nixos
mrpi has joined #nixos
das_j has joined #nixos
Scriptkiddi has joined #nixos
m0rphism has joined #nixos
chagra_ has quit [Ping timeout: 246 seconds]
freeman42x[m] has quit [Quit: Connection closed for inactivity]
<andi-> Henson: shoot
punkj has joined #nixos
<Henson> andi-: so, I tried adding things with the networking.firewall.extraCommands. I talked to clever earlier about whether I should use the built-in nixos-fw and related chains, or the iptables INPUT, OUTPUT, etc chains. Clever suggested the nixos chains....
<Henson> andi-: I also tried using the nixos-fw-accept and related chains for the targets for my rules...
<Henson> andi-: but then I discovered some serious problems. Whenever I use the nixos-fw-accept or other targets, it prevents them from being cleaned up properly on reload and restart because there are still references to them...
<Henson> andi-: and in the case of NAT connections I found that the nixos-nat-pre and nixos-nat-post chains weren't actually created in one circumstance (later that changed and they were there). So it seemed as though assuming the built-in NixOS chains are there isn't that great of an assumption...
<andi-> Yeah, I usually just make up my own and have a wrapper function that creates both the create and the delete function
<Henson> andi-: and partway through all of this I discovered that for every creation command in extraCommands, I needed to add a deletion command in extraStopCommands. But not only that, I need to append "|| true" to it in order to prevent trying to delete something that hasn't been created from causing an exit code 1 failure...
<andi-> Since day 1 of using NixOS I've had the idea to have structured firewall rules that fix that...
<andi-> Yeah that || : is an essential part :/
<andi-> For my latest project I've started using `nft` since that is a lot more declarative and the cleanup just works (tm)
<Henson> andi-: and furthermore, any error that you make in doing this, which causes the firewall.service to fail, causes the firewall not to be restored correctly. There were many times that the jump to nixos-fw was not added to the INPUT table, and since INPUT is ACCEPT by default, cause my system to be left wide open many times. I think if I were to call "systemctl restart firewall.service" that may..
<andi-> If you are stuck with iptables I'd recommend just using `ferm` and writing a converter from `networking.firewall.alowed…` to ferm
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
<Henson> andi-: have restored the firewall back to the state when I booted the system. Fortunately I was doing "nixos-rebuild test" for all of these and could just reboot.
<andi-> Yeah, I feel your pain...
<Henson> andi-: but none of this was clear when I started out, and my firewall was left wide open many times. Fortunately I was looking for this and rebooted the computer whenever it happened.
* Henson breathes
<andi-> I think getting rid of the 80% use-cases for extraCommands is the only way forward. Also having some kind of verification before actually applying the changes.
<clever> i also think using iptables-restore would be better for performance
quinn has joined #nixos
<clever> but increases the complexity
<andi-> not just performance also atomic
<clever> yeah
<andi-> either it is all correct or nothing
<andi-> but that probably breaks with all the extraCommands users
ris has quit [Ping timeout: 246 seconds]
<clever> you would just run them after the iptables-restore, and tell them to migrate
<andi-> sure
<Henson> andi-: I'm not stuck with iptables, it's just what I'm familiar with. "ferm" is a better tool?
<andi-> Henson: ferm is a nice wrapper for iptables
<andi-> it does syntax checks and uses iptables-restore under the hood
<Henson> andi-: is it composable? Can I have multiple "ferm" things sprinkled throughout my derivations?
<andi-> not really, you'll have to write some glue code yourself
<Henson> andi-: hmm, that's too bad
<andi-> it supports includes so you can just have a list of files that are then combined
m0rphism has quit [Ping timeout: 246 seconds]
<andi-> You can probably get away with <10 lines of low complexity module system code.
<andi-> Would gladly chat more about this and your use-cases but I'm in bed and it's almost 5am...
EdLin has joined #nixos
<Henson> andi-: ok, well, thanks for the tips. Maybe we could chat another time.
turona has quit [Ping timeout: 272 seconds]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
leungbk has joined #nixos
<andi-> Henson: feel free to query me here or open an issue/discourse thread how we can make it better and less painful
<Henson> andi-: ok, thank you.
turona has joined #nixos
Ilya_G has quit [Remote host closed the connection]
leungbk has quit [Ping timeout: 246 seconds]
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<{^_^}> [nixpkgs] @marsam merged pull request #81707 → catt: 0.10.3 -> 0.11.0 → https://git.io/JvaQC
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfcsq
lc has quit [Remote host closed the connection]
Maxdamantus has quit [Ping timeout: 246 seconds]
Gaelan has joined #nixos
Maxdamantus has joined #nixos
<Gaelan> I'm having a really weird issue: if I try to build an SD card image from a file that includes <nixpkgs/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix>, it works fine. But if I copy that file into my own directory verbatim (except for changing relative imports to <nixpkgs> imports), it fails with error: assertion (((args) ? localSystem) -> (! (((args) ? system) || ((args) ? platform)))) failed at /nix/store/v2j8i2bzayjas4injx2j7npjni4cwwa0-nixos-20.09
<Gaelan> pre224185.ed755a65570/nixos/pkgs/top-level/impure.nix:82:1
<Gaelan> Any idea what could be oging on?
<Gaelan> going*
evanjs has quit [Ping timeout: 264 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @Ericson2314 closed pull request #44206 → llvm 3.8, 3.9, 4: WIP split out compiler-rt for other versions → https://git.io/fN2kF
proofofkeags has quit [Remote host closed the connection]
choward has quit [Quit: Ping timeout (120 seconds)]
choward has joined #nixos
* colemickens has been using nixos too long to still be confused by hydra channel status pages
<colemickens> https://hydra.nixos.org/job/nixos/trunk-combined/tested says a build passed a day ago
<colemickens> and that build, all constituents succeeded, so should nixos-unstable not have advanced?
iqubic` has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #87233 → pythonPackages.internetarchive: 1.9.0 -> 1.9.3 → https://git.io/JfcGL
iqubic` has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 252 seconds]
<Gaelan> Solved my issue (although I don't understand exactly why): TIL <nixpkgs>/foo.nix != <nixpkgs/foo.nix>
punkj has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ehmry opened pull request #87234 → gnu-config: 2019-04-15 -> 2020-05-04 → https://git.io/JfcG3
drakonis has quit [Quit: WeeChat 2.8]
drakonis has joined #nixos
drakonis has quit [Client Quit]
iqubic has joined #nixos
justanotheruser has quit [Ping timeout: 244 seconds]
drakonis has joined #nixos
hlisp has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 272 seconds]
drakonis has quit [Client Quit]
justanotheruser has joined #nixos
proofofkeags has joined #nixos
proofofkeags has quit [Ping timeout: 260 seconds]
mjrosenb_ has quit [Ping timeout: 246 seconds]
abaiste^ has quit []
nbrspo^ has joined #nixos
endformationage has quit [Quit: WeeChat 2.6]
EdLin has quit [Ping timeout: 272 seconds]
<bqv> Anyone considered https://wiki.archlinux.org/index.php/Binfmt_misc_for_Java but for nixos?
<bqv> I guess its not that useful. I just hate seeing java spam in process trees
<{^_^}> [nixpkgs] @jtojnar merged pull request #87208 → gsettings-desktop-schemas: 3.36.0 -> 3.36.1 → https://git.io/Jfnx1
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfcGN
<{^_^}> [nixpkgs] @jtojnar merged pull request #87195 → gnome3.gnome-desktop: 3.36.1 -> 3.36.2 → https://git.io/JfnQ3
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfcGA
bhipple has quit [Remote host closed the connection]
bhipple_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar merged pull request #86062 → ghostscript: fix parallel building → https://git.io/JftQJ
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfcZe
<{^_^}> [nixpkgs] @FRidh pushed 488 commits to staging-next: https://git.io/JfcZJ
<pmc_> bqv: the boot.binfmt module should let you do that pretty easily https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/binfmt.nix
hlisp has joined #nixos
<bqv> I know, just wondered if anyone had tried it
user_0x58 has quit [Quit: Leaving]
justsomeguy has joined #nixos
proofofkeags has joined #nixos
<kalbasit> is there any doc/wiki about Nix flakes?
<ehmry> kalbasit: no, flakes are still experimental and the spec changes from time to time
<justsomeguy> Is it possible to install nixos to a btrfs subvolume on an existing fs?
<{^_^}> [nixpkgs] @FRidh pushed 1000 commits to staging: https://git.io/JfcZt
<{^_^}> [nixpkgs] @FRidh merged pull request #87220 → numpy: set lapack, blas sections → https://git.io/JfcJV
<{^_^}> [nixpkgs] @FRidh pushed commit from @matthewbauer to staging « numpy: set lapack, blas sections »: https://git.io/JfcZq
<justsomeguy> I'm just going to assume the answer to my stupid question is "Yes, you'll need to write a configuration.nix, read the docs."
<kalbasit> ehmry: I'm aware of that but I want to try it out. I can't seem to find much about its current state besides https://gist.github.com/edolstra/40da6e3a4d4ee8fd019395365e0772e7
hlisp has quit [Ping timeout: 264 seconds]
proofofkeags has quit [Ping timeout: 256 seconds]
<cole-h> ehmry: Be aware things seem to be somewhat-kinda-maybe stabilizing, because there's a (draft) PR from the flakes branch to master.
<ehmry> kalbasit: that I've not seen, I would look at the RFC and https://github.com/NixOS/nixos-org-configurations
<{^_^}> [nixpkgs] @FRidh merged pull request #87164 → libiberty: use pname → https://git.io/Jfn0u
<{^_^}> [nixpkgs] @FRidh pushed commit from @sheenobu to staging « libiberty: use pname »: https://git.io/JfcZZ
<ehmry> yea, I'm using flakes everywhere already
<{^_^}> [nixpkgs] @FRidh merged pull request #87134 → openblas, mkl: also export unversioned libraries for linux → https://git.io/Jfnvq
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/JfcZc
<ehmry> but its not ready for documentation
<kalbasit> I did not know about the RFC. Thanks!
<{^_^}> [nixpkgs] @FRidh merged pull request #87001 → libuv: 1.35.0 -> 1.37.0 → https://git.io/JfZY1
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libuv: 1.35.0 -> 1.37.0 »: https://git.io/JfcZl
<{^_^}> [nixpkgs] @FRidh merged pull request #86951 → libinput: 1.15.4 -> 1.15.5 → https://git.io/JfGAM
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libinput: 1.15.4 -> 1.15.5 »: https://git.io/JfcZ8
justsomeguy has left #nixos [#nixos]
mjrosenb has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #86822 → cmake: 3.17.0 -> 3.17.2 → https://git.io/JfGGk
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « cmake: 3.17.0 -> 3.17.2 »: https://git.io/JfcZR
inkbottle has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @FRidh merged pull request #86680 → libuninameslist: 20200313 -> 20200413 → https://git.io/JfswB
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libuninameslist: 20200313 -> 20200413 »: https://git.io/JfcZ0
inkbottle has joined #nixos
rardiol has quit [Ping timeout: 256 seconds]
<bqv> Oh wow, here's an idea. Nix should use graalvm for java apps
<bqv> so java apps don't requi
<bqv> re a full jre
<bqv> Reduce app closure sizes
<bqv> Either way I wanna try graal…
<{^_^}> [nixpkgs] @FRidh merged pull request #86679 → libsass: 3.6.3 -> 3.6.4 → https://git.io/Jfswc
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libsass: 3.6.3 -> 3.6.4 »: https://git.io/JfcZz
<{^_^}> [nixpkgs] @FRidh closed pull request #87232 → pythonPackages.ipykernel: 5.1.3 -> 5.2.1 → https://git.io/JfcYw
<{^_^}> [nixpkgs] @FRidh merged pull request #87011 → libqmi: 1.24.6 -> 1.24.10 → https://git.io/JfZsL
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libqmi: 1.24.6 -> 1.24.10 »: https://git.io/JfcZi
<{^_^}> [nixpkgs] @FRidh merged pull request #86985 → lv2: 1.16.0 -> 1.18.0 → https://git.io/JfZtN
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « lv2: 1.16.0 -> 1.18.0 »: https://git.io/JfcZ1
<{^_^}> [nixpkgs] @FRidh merged pull request #86973 → libgsf: 1.14.46 -> 1.14.47 → https://git.io/JfZkE
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libgsf: 1.14.46 -> 1.14.47 »: https://git.io/JfcZy
<{^_^}> [nixpkgs] @FRidh merged pull request #86959 → libgdiplus: 6.0.4 -> 6.0.5 → https://git.io/JfZev
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libgdiplus: 6.0.4 -> 6.0.5 »: https://git.io/JfcZ9
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #86883 → help2man: 1.47.13 -> 1.47.15 → https://git.io/JfGwN
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « help2man: 1.47.13 -> 1.47.15 »: https://git.io/JfcZ7
<{^_^}> [nixpkgs] @FRidh pushed 38 commits to staging-next: https://git.io/JfcZN
<{^_^}> [nixpkgs] @FRidh opened pull request #87235 → Staging next → https://git.io/JfcZp
<{^_^}> [nixpkgs] @FRidh merged pull request #87223 → python.pkgs.ipykernel: 5.1.4 -> 5.2.1 → https://git.io/JfckP
<{^_^}> [nixpkgs] @FRidh pushed commit from @timokau to master « python.pkgs.ipykernel: 5.1.4 -> 5.2.1 »: https://git.io/JfcZj
<{^_^}> [nixpkgs] @FRidh pushed 38 commits to staging-20.03: https://git.io/JfcnU
<{^_^}> [nixpkgs] @bcdarwin opened pull request #87236 → python3.ipydatawidgets: init at 4.0.1 → https://git.io/JfcnQ
<wedens[m]> does vscode remote work with nix? e.g. when one system is nixos and another is arch, or when both are nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #87222 → jupyter_client, nbformat, notebook: fix on python2 → https://git.io/JfcTA
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to master: https://git.io/Jfcnh
asheshambasta has joined #nixos
butcher has quit [Ping timeout: 256 seconds]
<la-s> wedens: why wouldn't it work?
<wedens[m]> I've read somewhere (probably nixos discourse) that there were some problems
<wedens[m]> perhaps they've been fixed since
hlisp has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #86090 → coq-zorns-lemma: 8.9.0 -> 8.11.0 → https://git.io/JfqTQ
<{^_^}> [nixpkgs] @vbgl pushed commit from @amiloradovsky to master « coq-zorns-lemma: 8.9.0 -> 8.11.0 »: https://git.io/JfccA
bebarker has quit [Read error: Connection reset by peer]
bebarker has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #87236 → python3.ipydatawidgets: init at 4.0.1 → https://git.io/JfcnQ
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/Jfcch
hlisp_ has joined #nixos
leungbk has joined #nixos
<bqv> acewcaorlgjlkulrcr6xss7qvyqpjymoxwu2pj3fx5diyyevamora
<cole-h> Nice.
<leungbk> How can I install the npm package @angular/cli globally? I've tried `nix-env -iA nodePackages.@angular/cli` and some variants thereof but haven't gotten it to work.
<leungbk>
hlisp has quit [Ping timeout: 256 seconds]
Ralith_ has quit [Remote host closed the connection]
<cole-h> leungbk: Define "haven't gotten it to work."
<cole-h> Do you see an error message?
<leungbk> error: syntax error, unexpected '@', expecting ID or OR_KW or DOLLAR_CURLY or '"', at /etc/nixos/configuration.nix
alp has joined #nixos
<cole-h> Yep. You'll need to quote it.
<leungbk> I'm not sure how to deal with the @ and the /
Ralith_ has joined #nixos
<cole-h> `nix-env -iA nodePackages."@angular/cli"` is probably what you want
<bqv> actxsdsmesbyje3fexklwurvhyntllqf2rxtyxg3ygmvqtfsf63fs
<cole-h> bqv: You OK there?
<cole-h> :P
hlisp_ has quit [Remote host closed the connection]
<bqv> sorry, was cheekily using this as a clipboard
<bqv> done now :p
<leungbk> cole-h: I'm now getting `error: attribute 'nodePackages' in selection path 'nodePackages.@angular/cli' not found`, and I've also tried `pkgs.nodePackages."[...]"`
hlisp has joined #nixos
<cole-h> You probably need to point it to your nixpgks. Try `nix-env -f '<nixpkgs>' -iA nodePackages."@angular/cli"`
<leungbk> cole-h: It works, thanks!
<cole-h> :)
butcher has joined #nixos
<euank> There's a couple packages that like having both git tag and revision in `--version` (i.e. containerd/runc/docker). They right now use `fetchFromGitHub rev = vx.y.z` to build a specific tag. Adding a commit variable just to plumb into `make COMMIT=$hash` seems like it would be easy for that variable to get out of date...
<euank> But doing a full clone to do `rev-parse HEAD` and get the commit seems slower and worse than what fetchFromGitHub defaults to
<euank> I see two possible solutions here that don't require manually updating a commit nor cloning a git repo to build
<euank> 1) Adding a resolveGithubRevision function that can go from a tag to a revision using `api.github.com`, or 2) add a package update script that does said resolution and is used to update the tag + commit, thus removing the manual bit there
<euank> I've seen a few packages that have update scripts of some sort with them. I haven't dug around to see if there's anything akin to the 1st option there already in use
cole-h has quit [Quit: Goodbye]
<euank> I guess my very vague question is: "do either of those things seem better or worse? Do either of them seem reasonable?"
fabianhjr has quit [Quit: Leaving.]
leungbk has quit [Remote host closed the connection]
alp has quit [Ping timeout: 256 seconds]
<Fare> I inspected the docker output to determine what was taking so much space in my images... and the answer is, 1GB of .git for nixpkgs!!!
<Fare> just wow
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<{^_^}> [nixpkgs] @vcunat opened pull request #87237 → gcc10, gfortran10, gnat10: init at 10.1.0 → https://git.io/JfcCi
alp has joined #nixos
nbrspo^ has quit []
tsrt^ has joined #nixos
hlisp has quit [Remote host closed the connection]
<Fare> So... how do I get a copy of nixpkgs in the image, but with a massively stripped down git directory?
mallox has joined #nixos
rauno has joined #nixos
<bqv> awesome. having a guix daemon pays off, now that i have a package i want to try that's packaged for guix but not for nix :D
<Fare> bqv, what package?
<bqv> i do find it weird how guix seems to like to "update substututes" several times in one run, though
<bqv> Fare: jami
<Fare> and... in the other way, could I be using the more-than-free nix kernel on a guix distribution, so I can use the wifi, etc.?
hlisp has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87238 → mupdf: 1.16.1 -> 1.17.0 → https://git.io/JfcC9
waleee-cl has quit [Quit: Connection closed for inactivity]
hlisp has quit [Remote host closed the connection]
opthomasprime has joined #nixos
jb55 has quit [Ping timeout: 240 seconds]
jb55 has joined #nixos
oborot has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Izorkin opened pull request #87239 → ruby: fix soname tag → https://git.io/JfcWT
NeoCron has joined #nixos
<bqv> ok interesting, the guix-built jami binary doesn't like our glibc-locales
<bqv> ah, i was on glibc-2.29 with guix and 2.30 with nix
<bqv> that makes sense then
<{^_^}> [nixpkgs] @vbgl opened pull request #87240 → ocamlPackages.lablgtk: 2.18.8 → 2.18.10 → https://git.io/JfcWq
nschoe has joined #nixos
bob_twinkles has quit [Ping timeout: 260 seconds]
bob_twinkles has joined #nixos
opthomasprime has left #nixos [#nixos]
charukiewicz has quit [Quit: leaving]
eoli3n_ has joined #nixos
o1 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #87241 → reviewdog: 0.9.17 -> 0.10.0 → https://git.io/JfcWu
<{^_^}> [nixpkgs] @pandaman64 closed pull request #56078 → python: qiskit: 0.6.1 -> 0.7.3 → https://git.io/fhdXM
eoli3n__ has joined #nixos
alp has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87242 → mup: 6.7 -> 6.8 → https://git.io/JfcWX
markus1189 has quit [Ping timeout: 264 seconds]
markus1189 has joined #nixos
cr4y1 has joined #nixos
zakkor has joined #nixos
<{^_^}> [nixpkgs] @euank opened pull request #87243 → steam: switch to the newer steam-runtime packaging → https://git.io/JfcW7
<{^_^}> [nixpkgs] @sorki opened pull request #87244 → U-boot: add Pi4 variants and support in uboot-builder → https://git.io/Jfcln
dnlkrgr has joined #nixos
Darkmatter66_ has joined #nixos
Darkmatter66 has quit [Ping timeout: 260 seconds]
slack1256 has quit [Remote host closed the connection]
austinbutler[m] has joined #nixos
cyrilgarin[m] has joined #nixos
ninjajnin[m] has joined #nixos
<bqv> nice, got it working with guix containers and dbus-launch
splintah has joined #nixos
alexherbo2 has joined #nixos
asbachb has joined #nixos
johnjay has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #87242 → mup: 6.7 -> 6.8 → https://git.io/JfcWX
smatting has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @r-ryantm to master « mup: 6.7 -> 6.8 (#87242) »: https://git.io/Jfc8W
<asbachb> Hi. I generate some system image via `nixos-generate`. I wonder if there's a way to bake some configuration in that image so that when I use the image I don't need to specify that configuration explicitly. Like setting a default value from false to true.
<{^_^}> [nixpkgs] @max-wittig opened pull request #87245 → gitlab-runner: 12.10.1 -> 12.10.2 → https://git.io/Jfc88
Woutifier has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #87246 → topgrade: 4.3.1 -> 4.4.0 → https://git.io/Jfc8g
<dmj`> my yarn2nix derivation crashes a 32-core machine
<dmj`> how does this happen
<dadada_> you mean while building the derivation?
eyenx[m] has quit [Ping timeout: 246 seconds]
<srk> asbachb: looks like its using configuration.nix to build the image, you can adjust that or create your own
<dmj`> dadada_: yep
eyenx has quit [Ping timeout: 256 seconds]
<asbachb> srk: Yeah. But Afterwards I need to configure the same stuff in /etc/nixos/configuration.nix if I want to do nixos-rebuild inside the image.
<dmj`> dadada_: I have the derivation if you'd like to repro
<dmj`> dadada_: it's for facebook's static site generator
<srk> asbachb: you can use cloneConfig for that
vidbina has joined #nixos
<srk> asbachb: installer.cloneConfig
<dadada_> dmj`: I'd love to, but I don't have 32 cores at my disposal.
<dmj`> dadada_: only 1 will suffice :)
<{^_^}> [nixpkgs] @filalex77 opened pull request #87247 → gitAndTools.gitui: 0.2.0 -> 0.2.1 → https://git.io/Jfc89
<dmj`> dadada_: do you have yarn2nix experience?
<dadada_> dmj`: no and i don't think i'd be of much help with your problem. sorry. sounds interesting, though
<Fare> Ah, after using a git worktree, my docker images shrunk from 1.8GB to < 300 MB. Much better.
vidbina has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87248 → mercury: 20.01.1 -> 20.01.2 → https://git.io/Jfc4U
fendor has joined #nixos
thc202 has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
<asbachb> srk: I guess that might be what I'm looking for.
zaeph has quit [Ping timeout: 258 seconds]
<dmj`> dadada_: lerna info Executing command in 8 packages: "yarn run tsc"
orivej has joined #nixos
<dmj`> dadada_: is the last think I see, then I black out
<dmj`> thing*
nschoe has quit [Ping timeout: 244 seconds]
<dadada_> dmj`: with black out you mean your machine powers off?
<dadada_> or just unresponsive?
danimal-moo[m] has joined #nixos
johnjay has joined #nixos
alp has joined #nixos
<asbachb> srk: Thanks for your input. I play around a little bit with it.
<{^_^}> [nixpkgs] @martinbaillie opened pull request #87249 → [20.03] ssm-session-manager-plugin: init at 1.1.61.0 → https://git.io/Jfc45
Fare has quit [Ping timeout: 260 seconds]
zaeph has joined #nixos
<srk> asbachb: yw!
tomturbo has joined #nixos
c0c0 has quit [Ping timeout: 264 seconds]
<srk> dmj`: it's a bit cold here, how much space does it require to build?
<tomturbo> when running "nixops check", there is a column called "Notes" where no values are set. is it possible to edit these values?
<{^_^}> [nixpkgs] @Mic92 merged pull request #86407 → home-assistant: 0.109.0 -> 0.109.6 → https://git.io/JfOtB
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/Jfc4h
eyenx has joined #nixos
eyenx has quit [Changing host]
eyenx has joined #nixos
eyenx[m] has joined #nixos
<tomturbo> nevermind, looked at the code and apparently it is used for error messages
c0c0 has joined #nixos
asbachb has quit [Ping timeout: 245 seconds]
leotaku has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update the list of failing builds »: https://git.io/JfcRk
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfcRm
smatting has quit [Ping timeout: 264 seconds]
nschoe has joined #nixos
<JJJollyjim> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<{^_^}> [nixpkgs] @Ma27 pushed to master « clipman: 1.5.0 -> 1.5.1 »: https://git.io/JfcRN
c0c0 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « clipman: 1.5.0 -> 1.5.1 »: https://git.io/Jfc0O
eyenx[m] has quit [Quit: killed]
cfricke has joined #nixos
phreedom has joined #nixos
eyenx[m] has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: more broken builds »: https://git.io/Jfc0M
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jfc0S
maddo has joined #nixos
eyenx[m] has quit [Client Quit]
eyenx[m] has joined #nixos
pjt_014 has quit [Ping timeout: 260 seconds]
pjt_014 has joined #nixos
m0rphism has joined #nixos
knupfer has joined #nixos
dermetfan has joined #nixos
c0c0 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JfcEy
pjt_014 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Ma27 merged pull request #87247 → gitAndTools.gitui: 0.2.0 -> 0.2.1 → https://git.io/Jfc89
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfcuI
nixbitcoindev has joined #nixos
fdert has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
emilsp has quit [Read error: Connection reset by peer]
<chvp> ,locate bin mailx
<{^_^}> Couldn't find in any packages
<angerman> can I ask nix to just give me the attrs from a file as a json expression?
<hyper_ch> chvp: what are you trying to do?
<{^_^}> [nixpkgs] @urkud opened pull request #87250 → python3Packages.qtconsole: fix compile → https://git.io/Jfcui
emilsp has joined #nixos
<chvp> `atd ` complains in it's logs that it can't find the mail command
<chvp> and I would like to know what it's trying to send
<chvp> because it's not executing some commands correctly
dermetfan has quit [Ping timeout: 256 seconds]
<hyper_ch> I did setup sendmail in the configuration.nix and added mutt to the system packages and use that
<hyper_ch> working without problems here
freethink has left #nixos [#nixos]
<hyper_ch> I use mutt because it allows me to easily attach a file
<hyper_ch> I use it to attach files to email that are being scanned
knupfer has quit [Ping timeout: 272 seconds]
sigmundv__ has joined #nixos
splintah has quit [Ping timeout: 272 seconds]
<chvp> I'm not trying to send mails to other machines
<chvp> I just want local programs to be able to deliver mails locally
<hyper_ch> :)
o1lo01ol1o has joined #nixos
pjstadig has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<pjstadig> I'm on 19.03.173691.34c7eb7545d (Koi) and I'm struggling to get openjdk11 to load libsodium. I've tried overrides, but I'm not sure that's what I need or that I'm doing it right.
<pjstadig> Can anyone give me help or a pointer?
nschoe has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @primeos merged pull request #86960 → sway: fix gtk wrapper → https://git.io/JfZeG
<{^_^}> [nixpkgs] @primeos pushed commit from @Elyhaka to master « sway: Fix the GTK wrapper (#86960) »: https://git.io/Jfczf
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #86242 → ipfs: 0.4.23 -> 0.5.0 → https://git.io/Jfmwh
<{^_^}> [nixpkgs] @Mic92 pushed 7 commits to master: https://git.io/Jfczm
<infinisil> pjstadig: Nobody can be helpful with the little amound of information you gave on the problem :)
<pjstadig> infinisil: I'm happy to give more information :) what should I let you know?
<pjstadig> I'm trying to dynamically load the libsodium library in the JVM, but it complains that it cannot find the library.
<simpson> What have you tried? What did you want to have happen?
<pjstadig> I have libsodium installed. I tried using some overrides to add libsodium to openjdk11's buildInputs, but I'm not sure that's even the right approach.
<pjstadig> i want libsodium to be in openjdk11's environment
<pjstadig> I've tried this in my ~/.nixpkgs/config.nix https://gist.github.com/pjstadig/6a07f4a501861f57391a94ec79e28aff
<simpson> Hm. I'm not sure which libsodium binding you're using, but perhaps you want to write a derivation which uses libsodium and openjdk11 as build inputs?
jasom has quit [Ping timeout: 244 seconds]
alexherbo2 has joined #nixos
fdert has quit [Read error: No route to host]
<pjstadig> simpson: thanks! i'll see if i can give that a try.
fdert has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #87245 → gitlab-runner: 12.10.1 -> 12.10.2 → https://git.io/Jfc88
<{^_^}> [nixpkgs] @zimbatm pushed commit from @max-wittig to master « gitlab-runner: 12.10.1 -> 12.10.2 (#87245) »: https://git.io/JfczX
<{^_^}> [nixpkgs] @Mic92 opened pull request #87252 → nixos/zfs: populate PATH with needed programs for zed → https://git.io/JfczH
ggpeti[m] has joined #nixos
<{^_^}> [nixpkgs] @utdemir opened pull request #87253 → <!-- To help with the large amounts of pull requests, we would appreciate your reviews of other pull requests, especiall… → https://git.io/Jfcz7
dermetfan has joined #nixos
fusion809 has quit [Remote host closed the connection]
alp has quit [Ping timeout: 265 seconds]
zakkor has quit [Quit: Connection closed for inactivity]
never_released_ has joined #nixos
never_released has quit [Ping timeout: 256 seconds]
sigmundv__ has quit [Remote host closed the connection]
sigmundv_ has joined #nixos
<pjstadig> simpson: I tried this derivation and it's nix is complaining that $src is not defined. https://gist.github.com/pjstadig/9b161068a8908f840f65934807a29a8f
<pjstadig> is there an example of inheriting from an existing derivation to add a dynamic shared library?
butcher_ has joined #nixos
alp has joined #nixos
<simpson> pjstadig: I am not a JNI expert but I am not sure that this is the right approach; I suspect that you might want to place a JRE and libsodium in the same environment, next to each other.
cosimone has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
butcher has quit [Ping timeout: 264 seconds]
<simpson> Something like https://bpaste.net/IGRQ
<simpson> I only tested this with nix-shell. I still have no idea which binding you're using or what you're incanting to make it go.
jakob_55 has joined #nixos
MmeQuignon has joined #nixos
<pjstadig> I think you're right. I need libsodium to be on the JVM LD_LIBRARY_PATH, so I can dynamically load it.
<pjstadig> the current value for the Java system property "java.library.path" is "/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib"
jakob_55 has quit [Quit: Leaving]
<pjstadig> simpson: I tried your derivation and got the same error: variable $src or $srcs should point to the source
<simpson> pjstadig: I was using nix-shell.
<simpson> To use nix-build instead, you'll want pkgs.buildEnv: https://bpaste.net/MK6A
emilsp has quit [Read error: Connection reset by peer]
dugurr has quit [Remote host closed the connection]
dugurr has joined #nixos
sonerhalis[m] has joined #nixos
zupo has quit [Ping timeout: 260 seconds]
knupfer has joined #nixos
zupo has joined #nixos
iyzsong has joined #nixos
iyzsong has quit [Changing host]
iyzsong has joined #nixos
hlisp has joined #nixos
<{^_^}> [nixpkgs] @sikmir opened pull request #87254 → josm: fix package → https://git.io/Jfc28
<pjstadig> simpson: thanks for your help! I'm just a simple nixos user trying to learn to write derivations.
<pjstadig> i ended up just setting adding "/run/current-system/sw/lib" to my "LD_LIBRARY_PATH" in my profile and it works :)
<{^_^}> [nixpkgs] @marsam merged pull request #87241 → reviewdog: 0.9.17 -> 0.10.0 → https://git.io/JfcWu
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfc2E
hlisp has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #87246 → topgrade: 4.3.1 -> 4.4.0 → https://git.io/Jfc8g
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfc2r
bebarker has quit [Quit: Leaving]
ris has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #86859 → qimgv: 0.9 -> 0.9.1 → https://git.io/JfGuO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfc21
Bunogi has quit [Quit: The Lounge - https://thelounge.chat]
Bunogi has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Mic92 merged pull request #87252 → nixos/zfs: populate PATH with needed programs for zed → https://git.io/JfczH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-20.03: https://git.io/Jfc2F
splintah has joined #nixos
<maralorn> I am trying to build a package that at compiletime depends on a bash-script from its src Dir being in path. How should I do that?
<maralorn> I could make an own derivation to first build the bash-script on its own.
<maralorn> And then use that as buildInput?
opticnerve has joined #nixos
Maxdamantus has quit [Ping timeout: 272 seconds]
Maxdamantus has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<adisbladis> maralorn: I'd just `export PATH=$PATH:./path/to/script` in some early phase like preConfigure
<maralorn> Whait, that works?
<maralorn> didn‘t seem to work for me
<adisbladis> Maybe it's not executable?
<adisbladis> maralorn: Could you pastebin your expression
<{^_^}> [nixpkgs] @marsam merged pull request #87248 → mercury: 20.01.1 -> 20.01.2 → https://git.io/Jfc4U
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfcaG
pbb has joined #nixos
<maralorn> adisbladis: It‘s not my derivation/project so this is very much not a MnWE. derivation: https://termbin.com/o20or error: https://termbin.com/7xhg
<{^_^}> [nixpkgs] @symphorien opened pull request #87255 → dovecot: restart when modules are changed → https://git.io/Jfcal
<maralorn> Context: Neuron has a writeShellScript call in it‘s buildInputs and I am trying to change this upstream because I can‘t use ifd in nixpkgs.
<{^_^}> [hydra] @basvandijk merged pull request #740 → Add GithubRefs plugin → https://git.io/JfI0V
<{^_^}> [hydra] @basvandijk pushed 2 commits to master: https://git.io/Jfcaz
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
<{^_^}> [nixpkgs] @jdbaldry opened pull request #87256 → vpn-slice: init at 0.14 → https://git.io/Jfcaw
<maralorn> adisbladis: Is the whole buildprocess on huge shell-script? If yes how can I have a look at it?
<{^_^}> [nixpkgs] @Luflosi opened pull request #87257 → youtube-dl: 2020.05.03 -> 2020.05.08 → https://git.io/JfcaD
katie_ has quit [Ping timeout: 264 seconds]
katie_ has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker opened pull request #87258 → code-server: init at 3.2.0 → https://git.io/JfcaF
MmeQuignon has quit [Ping timeout: 240 seconds]
splintah has quit [Ping timeout: 272 seconds]
<maralorn> adisbladis: Figured it out.
negaduck has joined #nixos
<fgaz> how do I get a working riscv64 toolchain? pkgsCross.riscv64.gcc does not have the -march=rv64 option
cjpbirkbeck has joined #nixos
jb55 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87259 → mysql-workbench: 8.0.19 -> 8.0.20 → https://git.io/JfcV4
Noisytoot has joined #nixos
MmeQuignon has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
jb55 has joined #nixos
booterror has joined #nixos
<booterror> Hi all
<booterror> Gonna try nixos today, coming from a veteran arch user
<booterror> got any pointers for me?
<bqv> have an ibuprofen ready
<{^_^}> [nixpkgs] @ehmry pushed to master « picard: 2.3.1 -> 2.3.2 »: https://git.io/JfcVD
<theduke[m]> @boote
<fgaz> Well... read the manual(s), but since you come from arch I guess you already know that
<booterror> damn lol
o1lo01ol1o has quit [Remote host closed the connection]
<booterror> The docs have pretty good claims on stability
<fgaz> Also nix pills if you want to know more about how it all works
cosimone has quit [Remote host closed the connection]
<booterror> And does this thing about using configuration to setup entire system works well?
tomturbo has quit [Quit: leaving]
cosimone has joined #nixos
<gchristensen> you should try it and decide :)
<fgaz> ^
<booterror> Traditionally I would spend 2-3 days to get a borked arch setup wiped and fresh install with all those dual graphics setups
<gchristensen> sounds painful
<gchristensen> I've never needed to reinstall nixos
<booterror> I take that as an advertisement gchristensen:
<gchristensen> booterror: I try to be a pretty transparent person :)
<booterror> yea exactly why I'm looking forward to this
<fgaz> I had to, but it's like 10 minutes and it's already configured how I want
<gchristensen> oh what happened fgaz?
<booterror> damn that's something impossible for me until now
<fgaz> hardware issue
<booterror> I like how you could configure boot, systemd all from a single config
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
<{^_^}> [nixpkgs] @marsam merged pull request #86738 → Jc 1.9.3 -> 1.10.7 → https://git.io/JfsHv
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Jfcwu
virus_dave_ has joined #nixos
lord| has joined #nixos
<fgaz> so... anyone have any idea about that cross toolchain?
cjpbirkbeck has quit [Quit: cjpbirkbeck]
virus_dave has quit [Ping timeout: 272 seconds]
virus_dave_ is now known as virus_dave
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
sethetter_ is now known as sethetter
hlisp has joined #nixos
splintah has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @symphorien opened pull request #87261 → nixos/tt-rss: small improvements → https://git.io/Jfcra
<{^_^}> [nixpkgs] @peti pushed to release-20.03 « cabal2nix: update from version 2.15.0 to 2.15.3 »: https://git.io/Jfcrw
hlisp has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « Merge remote-tracking branch 'origin/master' into haskell-updates. »: https://git.io/JfcrP
incognito9999_ has joined #nixos
incognito9999 has quit [Quit: ZNC 1.7.2+deb3~bpo9+1 - https://znc.in]
troydm has quit [Ping timeout: 256 seconds]
troydm has joined #nixos
ninjajnin[m] has left #nixos ["User left"]
<betawaffle> on the zfs root wiki page (https://nixos.wiki/wiki/NixOS_on_ZFS) it uses partition 1 for zfs, 2 for bios, and 3 for efi. what goes into that decision? are the partition number completely arbitrary?
<betawaffle> numbers*
bodgix_ has joined #nixos
<qyliss> Pretty much
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87262 → padthv1: 0.9.13 -> 0.9.14 → https://git.io/Jfcoc
chagra has joined #nixos
<{^_^}> [nixpkgs] @arianvp opened pull request #87263 → nixos/resolved: Include dbus alias of resolved unit → https://git.io/Jfco4
<betawaffle> if i was to put a lot of thought into this, what are the benefits of numbering them differently from their order on disk?
<gchristensen> I think that is probably a historical accident
<qyliss> I do mine in disk order
<qyliss> But I haven't always
<qyliss> It's nice if partition 1 is your main partition, maybe?
<betawaffle> k. and the numbers i pick influence the `-partN` suffixes, right?
<gchristensen> is it? :P
<qyliss> Yeah
<betawaffle> gchristensen: what numbering scheme do you use?
kcalvinalvin has quit [Ping timeout: 256 seconds]
<gchristensen> I don't think I use an intentional scheme :)
<betawaffle> fair enough
<betawaffle> i'll go with disk-order
kcalvinalvin has joined #nixos
<betawaffle> is there any benefit to leaving unused space at the end of the disk? ie. for swap and/or ssd over-provisioning?
<bqv> oh
<bqv> by the way
<bqv> you know how i was on about having used btrfs for years and years without any disk corruption
<bqv> turns out that's just because i'd never used quotas
greymalkin has quit [Ping timeout: 256 seconds]
<bqv> i turned them on recently and within 3 days had quite a lot of corruption
<bqv> praise be to rollbacks
<betawaffle> ahh. well luckily i'm gonna use zfs
<bqv> i know, you just reminded me
<bqv> i still refuse to use zfs
<bqv> but at least now i know i can just not use quotas and be ok
<niso> bqv: did you try to pass a btrfs subvolume to a nixos-container?
<gchristensen> betawaffle: modern ssds are well overprovisioned and don't need the extra space really
<betawaffle> i'm interested to hear your reasons bqv
alexherbo2 has joined #nixos
<betawaffle> gchristensen: btw, this is a sabrent rocket 4.0
greymalkin has joined #nixos
<bqv> niso: nope, never tried that
<bqv> betawaffle: eh, mostly just preconceptions. zfs was monkeypatched in from an entire other operating system, it'll never feel right to me compared to something like btrfs
<bqv> plus, i know and am intimately familiar with btrfs
<betawaffle> gchristensen: and with 64 g of ram, i don't really need on-disk swap either
<niso> bqv: i see, thx
<betawaffle> bqv: i understand the feeling. i look forward to bcachefs
<bqv> niso: my set up is /nix on it's own sub, the nixos root on it's own sub, and /home on it's own sub, plus a few other misc subs that aren't important
<bqv> yeah
jperras has quit [Ping timeout: 256 seconds]
<niso> bqv: why /nix on it's own sub?
<betawaffle> i think i'm going to go with some variations of the datasets described in gchristensen's blog posts
<niso> bqv: i was asking since systemd-nspawn seems to support btrfs-subvolumes, which, in theory, would be awesome for backups
<bqv> niso: so it can be shared across systems, and so i can fiddle it specifically without affecting the rest of a system
<bqv> ah, cool
jperras has joined #nixos
<niso> bqv: ah, makes sense, nice :)
<betawaffle> i'd like someone to write a comprehensive guide on keeping secrets out of the nix store
<bqv> (this nixos's /nix actually started out on gentoo, which is pretty cool :p)
<niso> betawaffle: are there other options than a) working with filepaths as strings b) using nixops to manage secrets?
<betawaffle> niso: nixops doesn't seem like it would be a good fit for a workstation though...
<gchristensen> not really needed anyway
<niso> betawaffle: i've read of a couple of people who are suing nixops to deploy to localhost (i'm actually just in the process of migrating to that too)
<betawaffle> is nixops still a bunch of python scripts?
<niso> betawaffle: yes
<betawaffle> not sure why i distrust scripts so much in general (shell, python, perl, etc)
* niso is wondering why tools like nixops are written in python rather than haskell
<bqv> would you rather it was written in node.js
<betawaffle> bqv: definitely not!
<bqv> :p
<bqv> silver linings
<betawaffle> i'd be cool if everything was written in stuff like zig, rust, haskell, etc
<betawaffle> i find those more trustworthy (well, not zig quite yet)
<gchristensen> I'm not sure why nixops would be written in haskell
<gchristensen> at its core it is two shell commands: nix-build; nixos-rebuild --targetHost ....
<bqv> i too, find myself less trusting of nontrivial things being written in scripting languages
<booterror> And I want to know if using btrfs is better than lvm+ext4
<niso> gchristensen: typesafety would be quite nice, e.g. i was running into somewhat cryptic errors due to the dynamic way nixops uses dicts (atleast with the hetzner backend)
<bqv> booterror: eminently, yes
<simpson> Interesting, seeing the same mistake in two different ways.
<betawaffle> booterror: depends on your needs, but presumably feature-wise yeah
<simpson> booterror: Nope, not really. If you're concerned, set up two systems and do benchmarks to test.
<maddo> what's the difference in nixos between hplip and hplipWithPlugin?
<simpson> betawaffle, bqv: Nope, not really. If you're concerned, implement nixops in two different languages and do benchmarks to test.
<gchristensen> niso: gotcha, hopefully NixOps 2.0 will deal with and eliminate most of those errors
<maddo> as in, would hplip without plugin work?
<bqv> simpson: never said speed was my concern :p
<booterror> I use lvm for dynamic volume creation and resizing, and snapshotting only
jb55 has quit [Remote host closed the connection]
<betawaffle> so now i've got another question... i want to use the same computer for work and personal stuff, and i want to use nixos for both. but my work requires some system settings and some services that i'm not interested in having around outside of work
eoli3n__ has quit [Ping timeout: 256 seconds]
jb55 has joined #nixos
<niso> question about nixops: are there plans on using kexec as a plugin/backend to provision soon-to-be nixos machines?
<gchristensen> betawaffle: you can have specialisations so you can swap between two versions of your system
<betawaffle> can i do some kind of lightweight dual-booting of slightly different nixos systems sharing most stuff?
<{^_^}> [nixpkgs] @ryantm merged pull request #87149 → libspiro: 20190731 -> 20200505 → https://git.io/JfnLg
<simpson> bqv: Then benchmark for bugs, using something like a fuzzer. What *is* your concern? I'm merely observing the tribal nature of discourse about programming languages.
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfcK4
<betawaffle> gchristensen: what does the workflow look like there?
<MichaelRaskin> booterror: I have exactly one reason I use BtrFS for store (on top of LVM2, though, next to ext4 /home): dynamical inode allocation
rogue_koder has quit [Remote host closed the connection]
<bqv> simpson: i said it, i just trust it less. it's not necessarily a rational concern, but i'm not obliged to like all software equally...
<gchristensen> betawaffle: on stable, not quite as nice as unstable -- but: nesting.clone = [ { services.somethingextra = true; ... } ] and then sudo /run/current-system/fine-tune/child-1/bin/switch-to-configuration
rogue_koder has joined #nixos
<gchristensen> niso: sounds like a cool idea
<betawaffle> gchristensen: where does `fine-tune` and `child-1` come from?
<simpson> bqv: Of course. It's just confusing to me. To trust something is to be vulnerable to it; it seems strange to trust *any* code above other code.
<gchristensen> betawaffle: this is exactly why it isn't so nice on stable :P
magnetophon has quit [Ping timeout: 260 seconds]
<betawaffle> what's it like on unstable?
<niso> gchristensen: thanks, credits to clever
<betawaffle> tbh, for a workstation unstable seems reasonable. doesn't it?
<bqv> i don't necessarily trust x written in haskell just because it's written in haskell, but i'm definitely more likely to trust it than any given y written in python
<gchristensen> betawaffle: specialisation.example-sub-configuration.configuration = { somethingextra ... }; then sudo /run/current-system/specialisation/example-sub-configuration/bin/switch-to-configuration test
<niso> bqv: agree
<betawaffle> and the `test` part is just to make it non-persistent on reboot, right?
<niso> simpson: also imo maintenance of scripting languages is way more difficult
<betawaffle> and how do you switch back?
<simpson> niso: How so? In any language, when a library or construct changes, the code may also need changes, and I can imagine how choice of language impacts that, but I don't really know what a "scripting language" is or why they're worse at it.
<gchristensen> betawaffle: great question
<simpson> Nix certainly doesn't know or care, AFAICT.
<gchristensen> betawaffle: sorry, I don't know
<betawaffle> maybe it would be a different switch-to-configuration?
<gchristensen> yeah
<gchristensen> but it is probably possible :P... all of my uses of it are one-way transitions
<infinisil> simpson: I guess they meant s/scripting language/dynamically-typed language/
<gchristensen> btw people have been pretty respectful I think and nobody seems to be a jerk herew.r.t. langs, so thanks for that
eoli3n__ has joined #nixos
<niso> simpson: by scripting language i was refering to something un-typed. I do find refactoring way easier if the language forces me to encode why i need something (and for what), since the compiler will throw an error if i do something which goes against the previous specification
rople has joined #nixos
rople has quit [Client Quit]
<simpson> niso: IYSS.
<niso> s/untyped/dynamically-tyed
<booterror> read on nixos docs that you can essentially host your system's packages for another machine to install packages, that sounds cool actually
<fgaz> betawaffle: there's a nixops alternative that's written in a static compiled language (go maybe). let me look it up
<booterror> useful for people with network limitations
rople has joined #nixos
<gchristensen> simpson: it might be time to drop it :P
vidbina has joined #nixos
<booterror> Can that be used to derive a sync state as in 2 machine have same set of packages and one updates based on the packages of the other machine?
<simpson> gchristensen: It seems so. I hope that you can understand why I often sense that there are memetically-driven irrational opinions about programming languages, and why I dislike the resulting tribalism.
<infinisil> fgaz: Probably https://github.com/DBCDK/morph
<fgaz> yeah that one
<fgaz> there's also nix-deploy, but I'm not sure that's maintained
<gchristensen> simpson: I do, and I agree with you
<betawaffle> should i use mkfs.vfat or mkfs.fat for the EFI partition?
<gchristensen> I've always done vfat
rople has quit [Quit: rople]
chagra has quit [Ping timeout: 264 seconds]
<maddo> it is irrelevant betawaffle
WilliButz has quit [Quit: bye]
<maddo> they are the very same util and the difference is nonexistent for FAT32
magnetophon has joined #nixos
<maddo> it's only relevant for FAT16
WilliButz has joined #nixos
<gchristensen> for some reason `journalctl -e -u x<tab>` has recently become *very, very* slow for me across a half dozen machines. anyone seen this?
chagra has joined #nixos
maurer has quit [Ping timeout: 256 seconds]
<betawaffle> what should i name my root pool? rpool, zroot, root, tank, ...
maurer has joined #nixos
splintah has quit [Ping timeout: 256 seconds]
<maddo> gchristensen maybe too large logs?
<maddo> have you tried vacuum?
<niso> betawaffle: how about "null"?
cfricke has quit [Quit: WeeChat 2.8]
<maddo> lel
<gchristensen> betawaffle: tank, if you like the matrix
Fare has joined #nixos
<betawaffle> maybe i should name it something unusual
vuko has quit [Ping timeout: 256 seconds]
vuko has joined #nixos
<betawaffle> can it be renamed later?
<gchristensen> yeah but it is a bit annoying I think
<{^_^}> [nixpkgs] @Ma27 merged pull request #87257 → youtube-dl: 2020.05.03 -> 2020.05.08 → https://git.io/JfcaD
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jfc6g
oida has quit [Ping timeout: 240 seconds]
lorimer has quit [Read error: Connection reset by peer]
<maddo> renaming it is actually easy, but it may require a live system to boot
<maddo> and you have to update all your refs
<betawaffle> ok, so does anyone have naming recommendations?
<gchristensen> I use rpool
<betawaffle> yeah, lots of things i've seen have used that
<gchristensen> it really doesn't matter
<betawaffle> and how about options. any recommendations besides what's on the nixos wiki page?
<gchristensen> ah uh don't do the unicode / formd thing
<gchristensen> (I think I deleted that from the page)
<betawaffle> k. why is that bad?
<{^_^}> [nixpkgs] @Ma27 pushed commit from @Luflosi to release-20.03 « youtube-dl: 2020.05.03 -> 2020.05.08 »: https://git.io/Jfc6y
mauli has quit [Quit: WeeChat 2.7.1]
<gchristensen> some packages put files with invalid unicode sequences in their source tarballs on purpose
oida has joined #nixos
splintah has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #87264 → treewide: per RFC45, remove more unquoted URLs → https://git.io/Jfc67
<betawaffle> this (https://wiki.alpinelinux.org/wiki/Alpine_Linux_with_root_on_ZFS_with_native_encryption) mentions `canmount=off`, what does that do?
alp has quit [Ping timeout: 244 seconds]
<{^_^}> [nixos-search] @garbas pushed to master « somehow in a working starte with bugs and missing features »: https://git.io/Jfc6p
iyzsong has quit [Ping timeout: 244 seconds]
<xfix> betawaffle: it's pretty much like saying mountpoint=none, with some subtle changes involving ZFS inheritance (mostly non-important)
<xfix> in this case, i believe it does nothing
alp has joined #nixos
<xfix> about inheritance: canmount doesn't get inherited, mountpoint does
lorimer has joined #nixos
<{^_^}> [nixpkgs] @priegger opened pull request #87265 → ipfs-migrator: 7 -> 1.5.1 → https://git.io/JfciL
<bqv> am i missing something or is apache 2.0 not in lib.licenses?
<bqv> oh, asl20. i read past that and missed it twice. quite unobvious
hlisp has joined #nixos
realrokka has quit [Ping timeout: 256 seconds]
<edef> gchristensen: any examples?
realrokka has joined #nixos
zeenk has joined #nixos
<ar> gchristensen: why would they?
<betawaffle> any opinions on failmode=continue?
<{^_^}> [nixpkgs] @Mic92 merged pull request #87265 → ipfs-migrator: 7 -> 1.5.1 → https://git.io/JfciL
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfciP
lunik10 has joined #nixos
lunik1 has quit [Read error: Connection reset by peer]
lunik10 is now known as lunik1
zupo has joined #nixos
<gchristensen> edef: "2020-05-01 01:54:05 julm damned, using a /nix/store over a ZFS dataset using normalization=formD breaks the libsass unpacking, which contains two directories whose names have the same normalization :("
<emily> betawaffle: I name my system pools after the host
magnetophon has quit [Ping timeout: 258 seconds]
<betawaffle> this'll be on NVMe, should i set autotrim=on?
<edef> gchristensen: oof
<gchristensen> betawaffle: I wouldn't, no, nixos will schedule a regular trim anyway and that'll have less load on your storage
<betawaffle> k
mallox has quit [Quit: WeeChat 2.8]
proofofkeags has joined #nixos
<betawaffle> what do people thing about atime=off vs relatime=on ?
<emily> atime has no value unless you use one of the few programs that look at it
<fgaz> Wait is there an option for scheduled trim?
<emily> or care about strict POSIX compliance
<gchristensen> I'm an atime=off kind of person
<julm> gchristensen: more precisely, the utf-8 sequence is not invalid, it's two unicode sequences that normalise to a same sequence, hence producing a filename conflict when the filesystem (ZFS here) enforces the normalizing of filenames
<gchristensen> julm: yeah
<gchristensen> julm: but the lesson is the same: a package could do it, a package did do it, a package will do it :P
<julm> :)
<betawaffle> so i want mountpoint=none on my pool and mountpoint=legacy on each of the datasets that i actually want mounted, right?
<betawaffle> none will be inherited for all the intermediate datasets that are just supposed to be containers for mounted datasets?
plutes has quit [Ping timeout: 246 seconds]
lsyoyom has quit [Ping timeout: 258 seconds]
jluttine has quit [Ping timeout: 256 seconds]
<maddo> fgaz: fstrim.service comes pretty much by default on every distro nowadays
<maddo> once a week is the generally accepted consensus
jluttine has joined #nixos
<maddo> betawaffle nowadays, relatime basically packs every advantage of noatime with none of its drawbacks
<maddo> if you're using something like a text based email client (like I am) you definitely want relatime instead of noatime
<betawaffle> for my "root" dataset (mounted at /), if i go with gchristensen's style of rolling back to an empty snapshot on every boot, does it make sense to use `sync=disabled` for it?
<betawaffle> since by definition i wouldn't care about that data being preserved
<emily> maddo: hm, does maildir require atime with mutt et al. or is that only for mbox?
<emily> seems like a good reason to move off mbox if the latter
jasom has joined #nixos
<gchristensen> sure, betawaffle
<xfix> i want to say if a software depends on atime, it's likely broken, that vaue is likely never particularly reliable
<xfix> * i want to say if a software depends on atime, it's likely broken, that value is likely never particularly reliable
<betawaffle> so here's what i've got, let me know if anything seems wrong: `zpool create -o ashift=12 -O acltype=posixacl -O compression=lz4 -O dnodesize=auto -O mountpoint=none -O relatime=on -O xattr=sa -R /mnt rpool $DISK-part2`
<gchristensen> interesting, dnodesize
<betawaffle> "Consider setting dnodesize to auto if the dataset uses the xattr=sa property setting and the workload makes heavy use of extended attributes."
numkem has joined #nixos
gustavderdrache has joined #nixos
<betawaffle> it seems like not setting it to auto is just for legacy support
<xfix> this is likely not very important unless extended attributes will be common (typically the case for SELinux systems)
<{^_^}> [nixpkgs] @Mic92 merged pull request #87255 → dovecot: restart when modules are changed → https://git.io/Jfcal
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfcP9
<xfix> that being said, it's likely not harmful
<exarkun> on CI-as-a-service (eg circleci) I sometimes have nix builds get killed because (as far as I can tell) resources for the job (memory I guess) have been exhausted
<exarkun> are there any better options for dealing with this situation than playing with --max-jobs and --cores?
<exarkun> It seems like a shame to turn jobs down to 1 when 90% of builds could run 2 or 4 in parallel and there are just one or two that need the whole system to themselves
<maddo> emily the latter I believe
<maddo> and xfix: correct
<maddo> that's why a migration to maildir is generally preferrable nowadays
<emily> exarkun: so, stdenv passes -l to make with the same value as -j, which tries to make it avoid going over a certain load average
<emily> exarkun: in theory if all your builds cooperate to avoid using up too much CPU then you can run more of them in parallel without overloading things
<emily> this is probably only applicable if you have parallel builds that aren't picking that up from the usual make machinery though
<exarkun> pretty sure a bunch of my problematic builds don't do t hat
<exarkun> the specific package that raised this issue for me is a python package, not using make anywhere
<emily> maybe you can try and get them to limit their CPU then (but it's dependent on support in the build system implementing the job schedulign)
<exarkun> it has -j but no -l equivalent afaict
<exarkun> I wonder how effectively high load proxies for "you're about to get oom killed"
<emily> I feel like "cgroups" is the answer to these resource limiting questions but I don't know how those can be integrated with Nix builds if at all
<exarkun> "the build system has to cooperate" is a useful answer though, I suppose eventually I could fashion a solution out of that
<emily> ultimately if you can't stop the builds increasing memory pressure then you pretty much just have to run fewer of them I think
<exarkun> just wondered if I was missing a "--this-job-needs-to-run-alone=somename"
KeiraT has quit [Remote host closed the connection]
<emily> exarkun: you could mark those jobs as big-parallel and use remote builders to ship them off to a less contended host
vuko has quit [Quit: leaving]
<emily> that's what nixpkgs does
vuko has joined #nixos
KeiraT- has joined #nixos
<exarkun> if I had a fancier CI system maybe :)
<emily> i guess that doesn't really fit in with circleci, but
<exarkun> perhaps someday
<emily> maybe you can do a thing where you build the small jobs in parallel in one CI task and the big ones sequentially in another
<exarkun> Hm, yes probably
<azazel> exarkun: just wondering, which part of the build ? The "instantiate" or the store realize?
<exarkun> I have thus far managed to avoid internalizing a sound understanding of those two concepts
<emily> "nix evaluation" vs. "running builds"
<emily> is a simpler way of thinking about it
<emily> if you're running out of memory in the former then you're probably doing horrifying things though
KeiraT- is now known as KeiraT
<exarkun> The latter, then. The problem most commonly comes partway through the test suite for one particular package.
<betawaffle> gchristensen: how does this look? https://gist.github.com/betawaffle/6bad3a0ccd27f0fc16269637c3428710
<gchristensen> lgtm!
<betawaffle> the home one will behave as expected, right?
<betawaffle> (it'll still mount my user directory, right?)
<emily> betawaffle: ashift might want to be 13 depending on your hardware
<emily> unfortunately it's pretty hard to find conclusive answers
<gchristensen> I think you'll need to specify a mount for it
<betawaffle> emily: this is a sabrent rocket nvme
<emily> you might also want compression=on rather then =lz4
<azazel> ah, so if it's the testing, how it's different than a situation with another build tool?
<betawaffle> emily: because better compression might be chosen?
<emily> yeah, zfs supports zstd as of recently
civodul has joined #nixos
<exarkun> azazel: Maybe it isn't different at all. This is problem. There are many others like it but this one is mine. ;)
johnjay has quit [Read error: Connection reset by peer]
<emily> betawaffle: also, can I recommend full disk encryption? ZFS' native encryption is pretty great
<emily> (less of a clear-cut choice for a server though)
johnjay has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<betawaffle> emily: slightly worried about forgetting the key, tbh
<emily> write it down and put it in a afe place and it's still better than no encryption whatsoever :) but yeah, it's a tradeoff
<emily> I've found I'm thankfully pretty good at memorizing diceware passphrases, but I store my disk encryption keys in my password manager just in case
morgrimm has joined #nixos
<hyper_ch> emily: pass?
<betawaffle> i may enable encryption on a per-user basis or something
<hyper_ch> zfs encryption works well, been using it since it was introduced... there's however a small issue under certain circumstances
mauli has joined #nixos
<emily> hyper_ch: 1password; pass doesn't meet my needs unfortunately (mainly metadata encryption, but the browser autofill quality seems lower too)
<betawaffle> emily: i'm also not worried about my disks getting into the wrong hands
<emily> I would prefer something tied to my yubikey though, so pass has that going for it
<hyper_ch> emily: browser autofill? /me *shudders*
seku has joined #nixos
<emily> hyper_ch: browser autofill is actually an important security feature, beyond being convenient. phishing prevention is one of the biggest benefits of a password manager
<emily> and the clipboard isn't exactly a secure channel in many ways
<hyper_ch> I see browser as dangerous tools that can't be trusted with access to passwords
<azazel> exarkun: what I meant was that maybe it isn't really a nix problem, but a problem with the way the testing is done, and so that you can look up for solutions in a broader community other than the nix one. But I'm sure you thought of it. In my CI jobs I tend to maintain a control over the CI workers so I have better control of their config when they run the jobs
<betawaffle> gchristensen: if that's the case, should i leave home as mountpoint=none?
<emily> hyper_ch: shrug, you can do autofill with a process-separated architecture. 1password does on mac/windows, you can even code it yourself with pass, all you need is the browser to spit out a domain name and the credentials data to come back after user approval
plutes has joined #nixos
<hyper_ch> emily: I don't trust browsers :)
butcher_ has quit [Ping timeout: 260 seconds]
<exarkun> azazel: Ah, I see. Yes, indeed. The problematic package definitely has a number of questionable decisions in its test suite. That's a problem it's going to take a while to work through, alas.
<emily> this model doesn't involve trusting browsers, though?
<emily> the amount of trust is "you manually decide to give it the password for a site". the only way to avoid that is never logging into anything with your browser
<emily> hyper_ch: also, generally on desktop linux as soon as you copy something from pass output to paste into your super secure ssh terminal or whatever, your browser could easily read it from the clipboard and exfiltrate it to a malicious server, so if you're this worried about your browser process getting access to your passwords then just avoiding autofill extensions is not nearly enough
evanjs has joined #nixos
<emily> sorry for the offtopic though, this is probably more -chat material >_>
orbekk has quit [Ping timeout: 256 seconds]
orbekk1 has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #87215 → jitsi: use X-Internet for desktop categories → https://git.io/JfcvO
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfcXS
<{^_^}> [nixpkgs] @7c6f434c merged pull request #87264 → treewide: per RFC45, remove more unquoted URLs → https://git.io/Jfc67
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JfcX7
numkem has quit [Ping timeout: 256 seconds]
numkem_ has joined #nixos
numkem_ is now known as numkem
cole-h has joined #nixos
<{^_^}> [nixpkgs] @adisbladis opened pull request #87268 → nixos-container: Use new configuration & state directories → https://git.io/Jfc1G
kqb has joined #nixos
kqb2 has joined #nixos
kqb has quit [Client Quit]
kqb2 has quit [Client Quit]
kqb has joined #nixos
kqb has quit [Client Quit]
chagra has quit [Ping timeout: 256 seconds]
zeta_0 has joined #nixos
zupo has joined #nixos
vidbina has quit [Ping timeout: 256 seconds]
ddellacosta has joined #nixos
<viric> these days I have some problems with some systemd time synchronisation service in 20.03
proofofkeags has quit [Ping timeout: 258 seconds]
<viric> Network Time Synchronisation. I didn't care so far
drakonis has joined #nixos
<{^_^}> [nixos-search] @garbas pushed to fix-search-on-correct-index « make request to the right search page, fixes #4 »: https://git.io/Jfc1H
<{^_^}> [nixos-search] @garbas opened pull request #7 → make request to the right search page, fixes #4 → https://git.io/Jfc1Q
hlisp_ has joined #nixos
<zeta_0> i finally got ihaskell `somewhat` working in my (lorri+direnv+emacs-direnv) setup, in a lorri shell, whenever i type either: ihaskell/ghc/jupyter --version commands, all the binaries are being detected in emacs shell(M-x shell), but whenever i run: M-x ein:run, these errors are thrown? https://dpaste.org/00Wk
hlisp has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @luc65r opened pull request #87269 → Pkg/tartube → https://git.io/JfcMO
<zeta_0> when i type jupyter --version, it detects the installed binaries, so i'm not sure what's going on? https://dpaste.org/eQQk
dedz has joined #nixos
<{^_^}> [nixos-search] @garbas merged pull request #7 → make request to the right search page, fixes #4 → https://git.io/Jfc1Q
<{^_^}> [nixos-search] @garbas pushed to master « make request to the right search page, fixes #4 (#7) »: https://git.io/JfcMC
<{^_^}> [nixos-search] @garbas pushed 0 commits to fix-search-on-correct-index: https://git.io/JfcMW
dedz has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @martinetd opened pull request #87270 → mpd: add services.mpd.fluidsynth option → https://git.io/JfcM4
dedz has joined #nixos
Fare has quit [Ping timeout: 256 seconds]
dedz has quit [Max SendQ exceeded]
dedz has joined #nixos
<zeta_0> here's the shell.nix file that i'm using for ihaskell: https://dpaste.org/K4vy
Fare has joined #nixos
thefenriswolf has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3571 → Add unit tests → https://git.io/JfZMj
<{^_^}> [nix] @edolstra pushed 13 commits to master: https://git.io/JfcMN
fabianhjr has joined #nixos
nopsled has joined #nixos
dermetfan has quit [Ping timeout: 265 seconds]
<nopsled> hello; are there any good resources around for patching ubuntu executables to run on nixos?
chagra has joined #nixos
<simpson> nopsled: There's the FHS user environment: https://nixos.org/nixpkgs/manual/#sec-fhs-environments However, since most software on Ubuntu is open source, you'll likely have a better time using the versions from nixpkgs, or packaging whatever's missing.
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/02faf44f52d (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<nopsled> ok
<thefenriswolf> does anybody have some experience with root on zfs?
<xfix> it works, not sure if there is anything more to say
<xfix> you mount ZFS under /mnt during installation, and it works, you may find https://nixos.wiki/wiki/NixOS_on_ZFS#How_to_install_NixOS_on_a_ZFS_root_filesystem useful for instructions
<thefenriswolf> not sure if this is user error but for me a nix-channel --update fills up my ram completely
<xfix> yeah, you may want to use swap with ZFS
<thefenriswolf> I know arc is supposed to use as much ram as possible, but this seems a little extreme
beww has joined #nixos
<xfix> when a program suddenly requests a lot of use RAM, ZFS may not free up RAM quickly enough
<xfix> a lot of RAM*
<thefenriswolf> I tried restricting max arc size with boot.kernelParams = ["zfs.zfs_arc_max=xyz"] but it seems to be ignored
<xfix> this isn't arc related
<xfix> it's just how ZFS works
bew has quit [Ping timeout: 246 seconds]
<betawaffle> thefenriswolf: i'm setting a zfs root up right now!
proofofkeags has joined #nixos
<thefenriswolf> arc is the read cache stored in ram, I just want it to not eat my whole ram
hlisp_ has quit [Ping timeout: 272 seconds]
proofofkeags has quit [Remote host closed the connection]
hlisp has joined #nixos
<xfix> have a swap partition, or if you don't want one, use zram to have swap in RAM
proofofkeags has joined #nixos
proofofkeags has quit [Remote host closed the connection]
lunik1 has quit [Quit: :x]
proofofkeags has joined #nixos
<thefenriswolf> betawaffle tell me how it went
<thefenriswolf> xfix thanks
<betawaffle> it's going well so far
proofofkeags has quit [Remote host closed the connection]
<thefenriswolf> the install went really smooth for me as well, I just had the issue that the arc doesn't free ram quickly enough and the kernel oom killer kicks in if I want to use a little ram
lunik1 has joined #nixos
proofofkeags has joined #nixos
proofofkeags has quit [Remote host closed the connection]
<xfix> yeah, having swap is a good idea
proofofkeags has joined #nixos
<gchristensen> I'd rather have oom and get things killed
<{^_^}> [nixpkgs] @gebner opened pull request #87271 → elan: 0.9.0 -> 0.10.0 → https://git.io/JfcyU
<gchristensen> if my system is doing things like that, something is wrong and swapping isn't going to help things
<cole-h> From the "Known Issues" of the NixOS on ZFS wiki: "You shouldn't use a ZVol as a swap device, as it can deadlock under memory pressure."
<cole-h> (Keep it in mind)
<{^_^}> [nixpkgs] @0x4A6F opened pull request #87272 → xandikos: 0.1.0 -> 0.2.1 → https://git.io/JfcyL
<xfix> don't make your swap huge then, even 512MB of swap will do
lunik1 has quit [Client Quit]
<thefenriswolf> will do thanks, can I set up my swap across a raid0 with mdadm?
<xfix> Linux managed memory a bit differently when you have any swap
<xfix> manages*
justanotheruser has quit [Ping timeout: 252 seconds]
<xfix> even zram should be fine if you really don't want to reserve space on disk for swap
<azazel> Let's just say that Linux without swap fails to cope with memory pressure
lunik1 has joined #nixos
<viric> Running two "nix-env -i" in parallel still produces an env missing one of the two. :)
<viric> ^ niksnut :)
<thefenriswolf> thanks guys you were really helpful
<betawaffle> thefenriswolf: how much ram do you have?
<thefenriswolf> 16G
lunik1 has quit [Client Quit]
ultranix has joined #nixos
<azazel> do you plan to put it to hibernation?
<xfix> my recommendation: put `zramSwap.enable = true;` into your configuration.nix, this will create swap in RAM
<azazel> sometime I mean
<est31> running without swap for years
<est31> if you are under memory pressure, swap wont help you much either
<est31> yeah it'll prevent a freeze so that you can close apps
<est31> but that's it
<xfix> are you using ZFS?
<est31> sysrq will still work
<thefenriswolf> azazel no, this machine never hibernates
<xfix> i think not having swap is viable when not using ZFS
<{^_^}> [nixpkgs] @blitz opened pull request #87273 → virtualbox: Fix build issue due to open-watcom-bin → https://git.io/Jfcy0
waleee-cl has joined #nixos
erasmas has joined #nixos
<azazel> est31: If I just could remember the sysrq magic keys when I need them!
<est31> you can use acpi reboot if you want as well
<est31> issue is that it wont save opened files
<ultranix> hello, does the generic builder not know how to extract a *.gz file? seems basic to me
<est31> but that's what you got journaling file systems for :p
dedzy has joined #nixos
<azazel> w/o swap my X session just freezes slowing down responsiveness to ages
<xfix> REISUB, if you need mnemonic
<xfix> reverse of BUSIER
<est31> yeah
<xfix> Reboot Even If System Utterly Broken
<est31> the advantage of this is that it unmounts the fs cleanly
<est31> unsaved work will still be lost but at least the journal doesnt have to be consulted any more at next boot
<est31> the solution to memory pressure is to buy more ram
<azazel> xfix: mmm you lost me, but I remember from the days when kernel compilation was normal stuff that the sysrq keys had to enabled explicitly at compilation time... are they available by default?
<est31> not to put wear on your SSD or defer to slow HDD
dedz has quit [Ping timeout: 264 seconds]
<xfix> well, yes, you need to enable SysRq, because for whatever reason systemd breaks it by default
<xfix> why? i have no idea
<azazel> ah
<azazel> enable?
<{^_^}> [nixpkgs] @gebner merged pull request #87271 → elan: 0.9.0 -> 0.10.0 → https://git.io/JfcyU
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JfcSq
<cole-h> sysctl kernel.sysrq=1
lunik1 has joined #nixos
<azazel> oh
<azazel> tanks
justanotheruser has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @gebner pushed to release-20.03 « elan: 0.9.0 -> 0.10.0 »: https://git.io/JfcSZ
<betawaffle> with 64G of ram, what should i set my arc max to?
<betawaffle> 50% seems a bit excessive, doesn't it?
<clever> betawaffle: it will dynamically adjust based on how other apps are using ram
<{^_^}> [nixpkgs] @rasendubi merged pull request #85996 → nixos/nixos-installer: use temporary directory on target filesystem → https://git.io/JftTI
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/JfcSV
<betawaffle> so leave it as default then?
<clever> yeah
dugurr has quit [Quit: Leaving]
zeta_0 has left #nixos ["rcirc on GNU Emacs 26.3"]
<thefenriswolf> xfix zram helped a lot thanks
hlisp has quit [Remote host closed the connection]
ibinzari[m] has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #87274 → ardour: 5.12 -> 6.0-rc1 → https://git.io/Jfc9e
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87275 → smarty3: 3.1.35 -> 3.1.36 → https://git.io/Jfc9f
thefenriswolf has quit [Remote host closed the connection]
fdert has quit [Read error: Connection reset by peer]
hlisp has joined #nixos
hlisp has quit [Ping timeout: 264 seconds]
hlisp has joined #nixos
nschoe has joined #nixos
chloekek has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87276 → petsc: 3.13.0 -> 3.13.1 → https://git.io/Jfc9W
nhill has joined #nixos
nhill has quit [Quit: WeeChat 2.8]
Noisytoot has quit [Ping timeout: 240 seconds]
nschoe has quit [Ping timeout: 246 seconds]
dedz_ has joined #nixos
nschoe has joined #nixos
hlisp has quit [Ping timeout: 272 seconds]
civodul has quit [Read error: Connection reset by peer]
dedz_ has quit [Client Quit]
dedzy has quit [Ping timeout: 256 seconds]
growpotkin has joined #nixos
nschoe_ has joined #nixos
nschoe has quit [Ping timeout: 260 seconds]
hlisp has joined #nixos
__monty__ has joined #nixos
plutes has quit [Ping timeout: 260 seconds]
civodul has joined #nixos
<{^_^}> [nixpkgs] @CheariX opened pull request #87277 → <!-- To help with the large amounts of pull requests, we would appreciate your reviews of other pull requests, especiall… → https://git.io/JfcHl
<betaboon> is it possible to set the NIX_PATH that lorri uses from within the shell.nix ?
<{^_^}> [nix] @balsoft opened pull request #3577 → Improve 'waiting for' message by supplying a reason for the message → https://git.io/JfcH4
<{^_^}> [nixpkgs] @jonringer merged pull request #87233 → pythonPackages.internetarchive: 1.9.0 -> 1.9.3 → https://git.io/JfcGL
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JfcH0
<hyper_ch> betawaffle: did you read the "erase your darlings" guide?
<betawaffle> of course ;)
hlisp has quit [Ping timeout: 256 seconds]
<betawaffle> it's so awesome
<azazel> uf, the last advancement of unstable was on 29th of april!
<{^_^}> [nixpkgs] @jonringer merged pull request #87250 → python3Packages.qtconsole: fix compile → https://git.io/Jfcui
<{^_^}> [nixpkgs] @jonringer pushed commit from @urkud to master « python3Packages.qtconsole: fix compile »: https://git.io/JfcHV
<azazel> hyper_ch: what is it?
<{^_^}> [nixpkgs] @jonringer merged pull request #87163 → safety-cli: init at 0.5.1 → https://git.io/JfnlG
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JfcHi
<hyper_ch> written by a regular in this channel ;)
<cole-h> balsoft: (re your most recent comment on 3564: It's actually fixed in 3577, not 3557)
<azazel> ah, I see
Noisytoot has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker closed pull request #69324 → peepdf: init at 0.4.2 → https://git.io/JesSJ
<balsoft> cole-h: thanks
<{^_^}> [nixpkgs] @kampka opened pull request #87278 → direnv: 2.21.2 -> 2.21.3 → https://git.io/JfcH5
hlisp has joined #nixos
<cole-h> :^)
cosimone has quit [Quit: Quit.]
<__monty__> ,locate bin libav-merge-next-commit
<{^_^}> Couldn't find in any packages
endformationage has joined #nixos
plutes has joined #nixos
magnetophon has joined #nixos
magnetophon has left #nixos [#nixos]
plutes has quit [Client Quit]
<{^_^}> [nixpkgs] @jonringer merged pull request #85112 → ptags: init at 0.3.2 → https://git.io/JvjgX
<{^_^}> [nixpkgs] @jonringer pushed commit from @Pamplemousse to master « ptags: init at 0.3.2 »: https://git.io/JfcQR
plutes has joined #nixos
rauno has quit [Remote host closed the connection]
philr has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87279 → python37Packages.azure-core: 1.4.0 -> 1.5.0 → https://git.io/JfcQ5
<{^_^}> [nixpkgs] @zimbatm merged pull request #87278 → direnv: 2.21.2 -> 2.21.3 → https://git.io/JfcH5
<{^_^}> [nixpkgs] @zimbatm pushed commit from @kampka to master « direnv: 2.21.2 -> 2.21.3 (#87278) »: https://git.io/JfcQd
ultranix` has joined #nixos
hlisp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #87276 → petsc: 3.13.0 -> 3.13.1 → https://git.io/Jfc9W
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfcQp
dsg has quit [Quit: Lost terminal]
ultranix has quit [Ping timeout: 272 seconds]
dongcarl has quit [Read error: Connection reset by peer]
<betaboon> Profpatsch: maybe you know if its possible to set the NIX_PATH that lorri uses for a specific shell.nix ?
<cole-h> Have you tried `NIX_PATH = "....";`?
<{^_^}> [nixpkgs] @SlothOfAnarchy opened pull request #87280 → nixos/znapzend: Use generic mbuffer path → https://git.io/Jfc7k
<clever> betawaffle: i would just not use <nixpkgs> within that shell.nix
<betaboon> cole-h: i am using the lorri service in nixos. dunno where i would use that.
<betawaffle> betaboon: that was for you
<clever> betaboon: if you never use <foo> then the value of NIX_PATH doesnt matter
dsg has joined #nixos
hlisp has joined #nixos
<betaboon> clever: yeah I'm just trying to work around using nixpath. just makes stuff ugly in alot of places :(
dsg has quit [Client Quit]
dsg has joined #nixos
aveltras has joined #nixos
dsg has quit [Remote host closed the connection]
hlisp has quit [Ping timeout: 256 seconds]
Fare has quit [Ping timeout: 256 seconds]
hlisp has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/210d8624ac4 (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<{^_^}> [nixpkgs] @KoviRobi opened pull request #87281 → guile-opengl: fix dynamic loading of libraries → https://git.io/Jfc7y
emilsp has joined #nixos
dsg has joined #nixos
dsg has quit [Client Quit]
dsg has joined #nixos
hlisp has quit [Ping timeout: 260 seconds]
hlisp has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
zeenk has quit [Quit: Konversation terminated!]
oida has quit [Remote host closed the connection]
shuwan4games has joined #nixos
<{^_^}> [nixpkgs] @symphorien opened pull request #87282 → krop: install dektop file → https://git.io/Jfc59
<balsoft> BTW Please review https://github.com/NixOS/nix/pull/3564 if you have some time. It's a pretty annoying issue and I hope to get this merged in time for 2.4.
<{^_^}> nix#3564 (by balsoft, 3 days ago, open): Wait for build users when none are available
oida has joined #nixos
<balsoft> It's especially annoying because of 32 build users by default on NixOS, which can cripple performance when you run 4 nix-build commands in parallel on an 8-core machine. I believe that after this is merged in nixpkgs, we can rather safely set the default nrBuildUsers to maxJobs in 21.03.
hlisp has quit [Ping timeout: 272 seconds]
splintah has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Luflosi opened pull request #87283 → dino: allow newer versions of libsignal-protocol-c → https://git.io/JfcdC
webster23 has joined #nixos
<betawaffle> what fonts can be given to `console.font`?
<betawaffle> can i use a font from my `fonts.fonts` list?
<{^_^}> [nixpkgs] @1000101 opened pull request #87284 → blockbook: fix go version → https://git.io/Jfcdw
xcmw has joined #nixos
<webster23> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<niso> betawaffle: it seems to accept any font which is supported by setfont
xcmw has quit [Client Quit]
<niso> betawaffle: for documentation on the format you can check "man setfont"
shuwan4games has quit [Quit: exit]
<the_pumpkin_man[> Hello, I am trying to figure out how to write Nix expressions, I already had a look at the Nix manual and to Nixpkgs manual. Now, how do you package something ? Like how do you figure out dependencies, test the expression, etc ?
<betawaffle> for some reason that manpage isn't helpful. i must be missing some underlying information
<aanderse> whats the quickest and easiest way to create a nixos container that uses my ~/nixpkgs checkout?
<cole-h> `<command to create container> -I nixpkgs=~/nixpkgs`?
<cole-h> :D
<cole-h> (sorry, I don't know how to create a container on NixOS0
<cole-h> )
<balsoft> { nixpkgs.pkgs = import /home/you/nixpkgs {}; }
<balsoft> in your container config
<niso> betawaffle: according to the manpage PSF fonts are supported
<balsoft> If declarative, then just containers.my-nixpkgs-checkout.config = { nixpkgs.pkgs = import /home/you/nixpkgs {}; };
<betawaffle> i think i may have figured it out
asheshambasta has quit [Ping timeout: 246 seconds]
<niso> betawaffle: here's some description of the format: https://www.win.tue.nl/~aeb/linux/kbd/font-formats-1.html
<balsoft> If imperative, then nixos-container --config '{ nixpkgs.pkgs = import /home/you/nixpkgs {}; }'
<aanderse> balsoft: will the container be able to access that path? isn't it at least somewhat isolated from the main file system?
<betawaffle> niso: ok, i think i'm good now
<balsoft> aaron: access happens at eval time on your host machine
<balsoft> aaron: the container is isolated from your host system. And you won't be able to access your $HOME in the container.
oborot has joined #nixos
<balsoft> However, each time you type something like /home/you/nixpkgs in nix (as opposed to "/home/you/nixpkgs") it's a path and not a string. If you convert that path to a string, it becomes "string with context" and copies your path (/home/your/nixpkgs) to nix store, also adding that store path to your container's closure.
<niso> cole-h: while -I nixpkgs is the fastest way it's easy to forget this flag uppon deployment (talking from experiense :/ )
<balsoft> Which your container later accesses.
<cole-h> niso: Fair. It was the "quickest and easiest way" I could come up with, though ;)
<balsoft> niso: god save the flakes, we don't have to do this awkward stuff anymore
Noisytoot has quit [Ping timeout: 272 seconds]
<emily> warning: unable to download 'https://api.github.com/repos/emilazy/nixpkgs/commits/emily': HTTP error 403; using cached version
<emily> oh no...
<emily> does anyone know if there's any way to point githubFlakes to a github token
<emily> er, nixFlakes
<{^_^}> [nixpkgs] @peti pushed 27 commits to haskell-updates: https://git.io/JfcFI
<niso> balsoft: agree, something as simple as pinning a repo is way too difficult right nwo
<niso> *now
<cole-h> Dunno if that will help
<bqv> emily: afaik it just uses nix's normal fetcher, so if ssh, surely just set up your key
<emily> bqv: you can clearly see it's hitting the github api over http from that output
<bqv> Obviously use root if as root
<cole-h> "GitHub access token to get access to GitHub data through the GitHub API for github:<..> flakes"
<emily> cole-h: oh nice, thanks! I kind of just assumed it wouldn't exist
<bqv> Oh, yeah
<emily> bqv: flakes uses github tarballs, not actual git clones
<bqv> Gah
<emily> cole-h: ok, but... you can't specify a path to the secret, I guess...
<emily> so this is kind of horrible to configure on nixos
<emily> since the nix configuration is just a string...
<emily> I guess I can just pass it to individual commands
<cole-h> :(
zupo has joined #nixos
<cole-h> Feature request time?
<{^_^}> [nixpkgs] @peti pushed 7 commits to haskell-updates: https://git.io/JfcFG
<balsoft> I think the proper feature request would be per-user nix configs
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
knupfer1 has joined #nixos
<emily> oh joy, I can't even do that because it's a trusted user setting, and my user isn't a trusted user because trusted user means passwordless root
<{^_^}> [nixpkgs] @peti pushed 131 commits to haskell-updates: https://git.io/JfcFc
<emily> and even when I throw caution to the wind and run nix as root it just hard-403s... hmm :(
<emily> I get the impression this functionality wasn't extensively tested
<cole-h> lol
<bqv> To be fair, it's a feature I'd never have used
<aanderse> balsoft: hmm... i specified nixos-container create test --config-file ~/test.nix (where test.nix is a machine config that has nixpkgs.pkgs = /home/aaron/nixpkgs {}; ) but it seems to build against my channel still :\
<emily> bqv: you'll need it once you nix flake update one too many times and start getting rate-limited
knupfer has quit [Ping timeout: 246 seconds]
knupfer1 is now known as knupfer
<balsoft> <aanderse "balsoft: hmm... i specified nixo"> Hmm, interesting
<{^_^}> [nixpkgs] @lheckemann opened pull request #87285 → freerdp: 2.0.0 -> 2.1.0 → https://git.io/JfcF4
<{^_^}> [nixpkgs] @mmahut merged pull request #87284 → blockbook: fix go version → https://git.io/Jfcdw
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to release-20.03: https://git.io/JfcFE
<niso> aanderse: mind sharing the config file?
hlisp has joined #nixos
<balsoft> aaron: sorry, I don't know how to help further at the moment
<bqv> D:
<balsoft> I thought it would work since it's just an eval-config thing that should use the nixpkgs.pkgs from config
<aanderse> balsoft: no problem, appreaciate the help up to this point :)
<niso> aanderse: it's important that you specify nixpkgs.pkgs = <your stuff> inside the config {} block of your container declaration
<bqv> Luckily I update about once a week at best
<aanderse> niso: sure, very simple... https://pastebin.com/05NjgKbf
<balsoft> aaron: oh, I should've just RTFMed a bit, sorry
<balsoft> In declarative containers, `containers.your-container.pkgs = import /home/you/nixpkgs {};
<balsoft> In imperative containers, use NIX_PATH=nixpkgs=/home/you/nixpkgs
<balsoft> Or maybe there's a better option for imperative, I don't know
<dxtr> Hmm, let's say I am making a shell script that needs to access a file in a package but that file isn't being symlinked from /nix/store - how would I go about getting the path to said file?
<bqv> error: /home/you: no such file or directory
hlisp has quit [Ping timeout: 258 seconds]
<balsoft> bqv: do I seriously need to write (you: "NIX_PATH=nixpkgs=/home/${you}/nixpkgs") ?
<cole-h> lol
<bqv> error: you: undefined variable
<niso> aanderse: this should work: https://pastebin.com/QzF024DP
<bqv> :p
<balsoft> bqv: It's bound in the lambda, so fix yo interpreter
<cole-h> A more apt reply would have been `<LAMBDA>`
<bqv> Ah, oops. the interpreter is me, and I'm a bit lightheaded right now so misread
<aanderse> balsoft: and we have a winner! thanks
<aanderse> niso: unfortunately... not a winner :|
<bqv> I'll send myself in for debugging…
Soo_Slow has joined #nixos
<niso> aanderse: strange, since this does work with my setups (and since nixos-container loads <nixpkgs> as an arugment for config - which prolly explains the win). just an idea, if you install the package via environment.systemPackages you do get the correct version?
<aanderse> niso: i'm more specifically interested in modules, the package is less relevant...
oborot has quit [Ping timeout: 246 seconds]
m0rphism has quit [Quit: WeeChat 2.7.1]
vidbina has joined #nixos
<balsoft> cole-h: «lambda @ irc.freenode.net/#nixos:20200508»
<aanderse> balsoft++ niso++
<{^_^}> balsoft's karma got increased to 3
<{^_^}> niso's karma got increased to 9
<aanderse> thanks again for the help
<bqv> balsoft: :D
<balsoft> My karma wasn't 0? Interesting :)
<cole-h> It certainly isn't now :P
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7aa47b492b5 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<bqv> My karma is probably best described as Indeterminate Form, since I can't stick to a nick :p
<cole-h> Accurate.
* cole-h looks at bqy bqv[m] bqv[m]1
<balsoft> Apparently I helped someone out over a year ago, wow
<balsoft> I don't even remember that
<cole-h> You're so helpful, when you help somebody, it doesn't even register any more ;)
hlisp has joined #nixos
<balsoft> I usually help in other places and other languages, so yeah, maybe :)
chagra has quit [Ping timeout: 264 seconds]
hlisp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @mweinelt opened pull request #87286 → networkmanager: 1.22.10 → 1.24.0 → https://git.io/JfcbV
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87287 → python37Packages.bidict: 0.18.3 -> 0.19.0 → https://git.io/Jfcby
Adrian11 has joined #nixos
<Adrian11> hello
Adrian11 has left #nixos [#nixos]
hlisp has joined #nixos
Vikingman has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9daa5fba8dc (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #87288 → tinywm: init at 2014-04-22 → https://git.io/Jfcbx
Noisytoot has joined #nixos
chagra has joined #nixos
hlisp has quit [Ping timeout: 260 seconds]
<quiet_laika[m]> has anyone used the haskell package text-icu under nix?
c0c0 has quit [Quit: WeeChat 2.6]
<quiet_laika[m]> im getting a linker error: `.stack/snapshots/x86_64-linux-nix/13d609b3132405701f41f71ea00793613f4a8de2d1ace3d2aee0158da3f30e2b/8.6.5/lib/x86_64-linux-ghc-8.6.5/text-icu-0.7.0.1-JejFEKt5vpa5ez9tKsOTMT/libHStext-icu-0.7.0.1-JejFEKt5vpa5ez9tKsOTMT.a(text_icu.o):function __get_max_bytes_for_string: error: undefined reference to 'ucnv_getMaxCharSize_64'`
<quiet_laika[m]> (and a ton more similar messages)
<betawaffle> who here uses sway on nixos?
jakobrs has joined #nixos
<srk> quiet_laika[m]: works for me via pkgs.haskellPackages.text-icu
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<balsoft> betawaffle: me
<betawaffle> got any juicy tips?
cjpbirkbeck has joined #nixos
<betawaffle> this is _sort of_ my first time using sway
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87289 → python37Packages.aiofiles: 0.4.0 -> 0.5.0 → https://git.io/JfcNc
<balsoft> betawaffle: IDK. home-manager's i3 config works for sway (mostly)
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-hlint: drop obsolete override for ghc-8.10.x »: https://git.io/JfcNW
<{^_^}> [nixpkgs] @rycee pushed commit from @sikmir to master « josm: fix package »: https://git.io/JfcNl
nopsled has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @rycee closed pull request #87254 → josm: fix package → https://git.io/Jfc28
<{^_^}> [nixpkgs] @jonringer merged pull request #87231 → jetbrains.*: 2020.1 -> 2020.1.1 → https://git.io/JfcmS
<{^_^}> [nixpkgs] @jonringer pushed to master « jetbrains.*: 2020.1 -> 2020.1.1 »: https://git.io/JfcNg
dermetfan has joined #nixos
shibboleth has quit [Quit: shibboleth]
jakobrs has quit [Quit: WeeChat 2.8]
Fare has joined #nixos
<virus_dave> qq: Is there a reason why i wouldn't be able to supply as `patches` to a derivation, symlinks to patchfiles ? That is, `patches = [ ./some_real.path ./a-symlink.patch ];` where `a-symlink.patch` is a symlink pointing elsewhere
<{^_^}> [nixpkgs] @ryantm merged pull request #87262 → padthv1: 0.9.13 -> 0.9.14 → https://git.io/Jfcoc
<virus_dave> the behavior i'm seeing:
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfcAn
<niso> aanderse: balsoft: alright, cannot reproduce, this sucessfully allows me to upgrade/downgrade the mysql server via my nixpkgs fork in an imperative container https://pastebin.com/z3CGmF7V
<cole-h> virus_dave: If you posted code/multiline text, we on IRC can't see it. Please paste it somewhere.
<virus_dave> If i go into repl and try to build the derivation, it fails with a "permission denied" trying to apply the symlink patch. But if i instead `:s my-der` and do `genericBuild` in the subshell, it builds just fine
<cole-h> virus_dave: Because builds happen in a sandbox
<cole-h> If that symlink is in your user somewhere, the builder just copies that symlink to the build sandbox and fails when it tries to read it (because the real file is not owned by the builder)
<niso> aanderse: in my test i downgraded mysql to 5.7.25 (and re-upgraded it to 5.7.27)
zakkor has joined #nixos
<aanderse> niso: ok hmm
<{^_^}> [nixpkgs] @albakham opened pull request #87290 → rofi-calc: 1.6 -> 1.7 → https://git.io/JfcAu
<{^_^}> [nixpkgs] @marsam merged pull request #87210 → prometheus: 2.17.2 -> 2.18.1 → https://git.io/Jfnhl
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfcA2
<{^_^}> [nixpkgs] @peti merged pull request #87050 → Hedgewars server fix haskell → https://git.io/JfZ8h
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/JfcAo
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87292 → python27Packages.bids-validator: 1.3.12 -> 1.5.1 → https://git.io/JfcA6
<virus_dave> @cole-h thanks, that was exactly my suspicion and i was hoping someone would know if that's what was happening. You're my hero :)
orivej has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 22 commits to haskell-updates: https://git.io/JfcAd
demize has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 13 commits to haskell-updates: https://git.io/Jfcxe
eoli3n__ has quit [Quit: WeeChat 2.8]
eoli3n__ has joined #nixos
<virus_dave> @cole-h is there a way to tell nix "do a deep copy into the sandbox" ?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87293 → python27Packages.cma: 2.7.0 -> 3.0.3 → https://git.io/Jfcxv
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2020-05-08T08:52:23Z »: https://git.io/Jfcxf
<{^_^}> [nixpkgs] @peti merged pull request #86961 → Update Haskell package set to LTS 15.11 (plus other fixes) → https://git.io/JfZe4
<{^_^}> [nixpkgs] @peti pushed 15 commits to master: https://git.io/JfcxT
<cole-h> virus_dave: AFAIK: no.
<euank> virus_dave: is there a reason you want the patch to be a symlink? I'm curious why that's desirable and maybe there's some alternative solution to the root problem you're trying to fix there
<virus_dave> Good Q: [1] We have a monorepo using bazel internally. [2] Bazel invocation is done inside a `nix-shell` which refers to a custom local (in-monorepo) tree of nix files. This tree does things like "apply custom patchfiles to upstream wrapped nixpkgs". [3] Some tests for 1stparty code inside the monorepo actually want to invoke bazel themselves, since they're testing functionality that invokes bazel. [4] Bazel tests are executed inside a bazel sand
<virus_dave> for the same reason nix uses one. This sandbox is populated with symlinks to the original files. [5] The tests which invoke bazel thus specify "all of the nix files" as being runtime dependencies of those tests, so they (or rather, symlinks to them) are created inside the test sandbox, within which a nix-shell'd bazel invocation happens. [6] BOOM
<euank> And bazel is making absolute symlinks rather than relative ones? If they were relative and the nix-build src included the entire monorepo, it seems like the symlinks could resolve
<euank> Or is it that the src includes a subset of the monorepo, and thus even a relative symlink would be outside of it and break?
<Raito_Bezarius> is there a way to create a "data-derivation", I put there a binary and some file and I want to be able to get the path where it is stored?
<Raito_Bezarius> I tried to set installPhase and cp -r . $out/ but that didn't work well I think
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87294 → python27Packages.clikit: 0.4.3 -> 0.6.0 → https://git.io/JfcxW
<euank> Raito_Bezarius: check out the data pkgs: https://github.com/NixOS/nixpkgs/tree/master/pkgs/data
<virus_dave> yes absolute symlinks
<euank> I know there's a reasonable example in there, let me find one
<gilligan> infinisil: can you provide docs for the poetry2nix changes that were just introduced through your merged PR please? :)
<cole-h> virus_dave: Maybe your problem could be solved by making the symlinks be relative -- is that be possible?
eoli3n__ has quit [Quit: WeeChat 2.8]
<Raito_Bezarius> euank: thanks!
<infinisil> gilligan: Oh didn't even think of the readme docs
<virus_dave> package `src` cannot be "the whole monorepo" for somewhat boring reasons. in fact, the `src` for this is an upstream <nixpkgs> that's been fetchFromGithub'd
<infinisil> gilligan: I'll keep the PR in my notifications to do this later :)
<euank> Hm. I guess maybe that's not super helpful Raito_Bezarius; if you have an input tarball or such, you probably need an unpack phase. If you don't, copying things over in the installPhase is reasonable
<virus_dave> @cole-h i don't think that's possible, but i also don't see how it would help, since the whole monorepo isn't in the sandbox; only a subset of it, via "duplicated directory structure subset containing per-file symlinks into the source monorepo"
<euank> You can override the phases that run specifically if you want more control. I guess if you have a more specific question after poking through that, I could try for it.
<cole-h> virus_dave: Right, just got to that... Could the files be copied instead of linked? ;^)
<euank> If you start with a tarball, doing something like fetchurl and overriding the unpack phase to `tar -C $out` can be handy to avoid having to write the files twice at least
numkem has quit [Ping timeout: 246 seconds]
Neo--- has quit [Ping timeout: 260 seconds]
<euank> virus_dave: you need to copy in the parts of the monorepo that are referenced though anyway I think
<gilligan> infinisil: thank you
<gilligan> infinisil: spent some time on the README, would like to keep it up to date ;-}
<euank> One possibility could be to have a whole-monorepo derivation that you use as a src and then copy it over including rewriting symlinks... but that sounds like a quite different setup than you've got now and like a mess to work with.
vidbina has quit [Ping timeout: 256 seconds]
<Raito_Bezarius> euank: I indeed tried to use installPhase and copying stuff
aveltras has quit [Quit: Connection closed for inactivity]
<Raito_Bezarius> but it's complaining during the cp
<Raito_Bezarius> that $src does not exist or something like this
<Raito_Bezarius> I'm forcing phases = ["installPhase"] only
<Raito_Bezarius> it's complaining indeed that $src does not exist
eoli3n__ has joined #nixos
<Raito_Bezarius> nevermind
<euank> sounds like you got it working? If so, great
<Raito_Bezarius> yes :)
<Raito_Bezarius> euank++ thanks
<{^_^}> euank's karma got increased to 1
<adisbladis> gilligan++
<{^_^}> gilligan's karma got increased to 0b1
<adisbladis> We should totally have a PR template with docs included
<Raito_Bezarius> Also, is there a good way to setuid a binary?
<virus_dave> @euank @cole-h not easily (to copy rather than symlink), but it's potentially possible
<adisbladis> Raito_Bezarius: security.wrappers
<Raito_Bezarius> adisbladis: thanks!
<Raito_Bezarius> adisbladis: does it edit the binary directly?
<Raito_Bezarius> or generate a derivation?
<cole-h> virus_dave: Maybe try disabling the sandbox and see if that works? `--option sandbox false` Disclaimer: I'm not responsible for any dead kittens
<adisbladis> No, it's a NixOS module activation step
<adisbladis> The store cannot contain setuid binaries
<Raito_Bezarius> so it creates wrappers somewhere?
<adisbladis> Yep
<Raito_Bezarius> can I get the path somehow?
<Raito_Bezarius> I need to some linkage
<Raito_Bezarius> symlink*
eoli3n__ has quit [Quit: WeeChat 2.8]
<cole-h> /run/current-system/sw/wrappers/<bin-name> I think
eoli3n__ has joined #nixos
<Raito_Bezarius> Thanks, cole-h !
* cole-h boots up vm to check
<cole-h> Raito_Bezarius: I was wrong -- /run/wrappers/bin/<bin-name>
<Raito_Bezarius> :D
<Raito_Bezarius> cole-h++, adisbladis++ thanks!
<{^_^}> adisbladis's karma got increased to 69
<{^_^}> cole-h's karma got increased to 44, that's Numberwang!
<infinisil> !
<cole-h> infinisil: I'm extremely disappointed you don't have a special spice specifically for 69 karma (and presumably 420)
<cole-h> >:(
<cole-h> infinisil--
<infinisil> :P
<cole-h> Literally unusable
eoli3n__ has quit [Client Quit]
eoli3n__ has joined #nixos
eoli3n__ has quit [Client Quit]
eoli3n__ has joined #nixos
<Raito_Bezarius> can I do builtins.filterSource on a nix store path?
<Raito_Bezarius> wait, that's kinda stupid
<Raito_Bezarius> nevermind
<bgamari> Does anyone know what would cause nix-store --export to fail with:
<bgamari> error: hash of path '/nix/store/l9in14pg5smp2gw1mys40zw0r8k8h7la-python-2.7.18' has changed from 'sha256:1gzxf1si048n3n65clr2a2b0qdqsxw6c2a0rb26z765922m3sb0c' to 'sha256:1127x2375rklhj6i68n10yfagqjmnqb698fliqkqnj50if34k97p'!
eoli3n__ has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « Merge pull request #86961 from NixOS/haskell-updates »: https://git.io/JfcpB
Noisytoot has quit [Quit: Leaving]
<clever> bgamari: what if you run `nix-store --verify-path` on that path?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87295 → python37Packages.asdf: 2.5.2 -> 2.6.0 → https://git.io/Jfcp0
<bgamari> clever, unfortunately this came from CI so I can't easily check
<clever> bgamari: it sounds like something modified /nix/store after a build was done
<bgamari> hmm
<clever> bgamari: `nix-store --verify --check-contents` will just check every path, and report any problems
<clever> so you could run that after the build, but before the export
<bgamari> clever, yes, I suppose I'll need to try that
eoli3n__ has joined #nixos
eoli3n__ has quit [Client Quit]
<niso> clever: the readme in kexec mentions that it's a copy of nixpkgs from nixos-unstable (2016), i can't find it in the current nixpkgs. is there a reason it wasn't merged?
<clever> niso: which readme?
eoli3n__ has joined #nixos
chloekek has quit [Ping timeout: 256 seconds]
<niso> clever: in your nix-tests repo path: kexec/Readme.md
Hedgework has quit [Ping timeout: 260 seconds]
<clever> niso: the required changes are likely in 20.03 and probably 19.09 as well now
Forkk has quit [Ping timeout: 240 seconds]
cosimone has joined #nixos
HedgeMage has quit [Ping timeout: 265 seconds]
cruxeternus has quit [Ping timeout: 260 seconds]
devalot has quit [Ping timeout: 256 seconds]
drvirgilio has quit [Ping timeout: 260 seconds]
cransom has quit [Ping timeout: 260 seconds]
eoli3n__ has quit [Client Quit]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
numkem has joined #nixos
eoli3n__ has joined #nixos
<Raito_Bezarius> is there a modulo operator in Nix?
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9daa5fba8dc (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @mweinelt opened pull request #87296 → squid: 4.10 → 4.11 → https://git.io/Jfcph
<balsoft> Raito_Bezairus: what would be the use-case?
<Raito_Bezarius> balsoft: computing ranges
<Raito_Bezarius> but I can do without it
<niso> clever: are you refering with "the required changes" to hard requirements? or a straight-forward nix based way as implemented in your repo?
<clever> niso: i think kexec was broken in nixpkgs at one point, due to gcc hardening flags
<clever> niso: it would fail at runtime
<balsoft> Raito_Bezarius: you can write a function that would do it, but I don't think there's a builtin operator
kim0 has joined #nixos
<niso> clever: oh, alright. but this means e.g. the functionality to easily generate a nixos tarball to be used with kexec wasn't merged?
drvirgilio has joined #nixos
Forkk has joined #nixos
<clever> niso: the tarball stuff is already in nixpkgs, i was just reusing it
cransom has joined #nixos
<clever> system.build.kexec_tarball = pkgs.callPackage <nixpkgs/nixos/lib/make-system-tarball.nix> {
<clever> niso: that file within nixpkgs provides the service
alp has quit [Remote host closed the connection]
alp has joined #nixos
domogled has quit [Read error: Connection reset by peer]
devalot has joined #nixos
domogled has joined #nixos
<niso> clever: yes, i was thinking of a higher layer of abstraction, as in: Is it possible to do something like: nix-build '<nixpkgs/nixos>' -A some.path.kexec_tarball -I nixos-config=./conf.nix and get a tarball as a build product?
<clever> niso: just add kexec.nix to the imports list, and you should get that
<{^_^}> [nixpkgs] @mweinelt opened pull request #87297 → [20.03] squid: apply patches for CVE-2020-11945 → https://git.io/Jfchy
aquarial has joined #nixos
alp has quit [Remote host closed the connection]
<clever> niso: it cant be in imports normally (enless its got some config added in), because it messes with fileSystems."/"
alp has joined #nixos
Hedgework has joined #nixos
<niso> clever: alright, thanks!
HedgeMage has joined #nixos
cruxeternus has joined #nixos
fusion809 has joined #nixos
smatting has joined #nixos
`_ has quit [Ping timeout: 272 seconds]
ghkbrew has joined #nixos
<ghkbrew> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<{^_^}> [nixpkgs] @dywedir merged pull request #87211 → jflex: 1.8.1 -> 1.8.2 → https://git.io/JfnhM
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/Jfcjk
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87298 → python27Packages.ConfigArgParse: 1.0 -> 1.2.3 → https://git.io/JfcjY
eoli3n__ has quit [Quit: WeeChat 2.8]
eoli3n__ has joined #nixos
eoli3n__ has quit [Client Quit]
user_0x58 has joined #nixos
eoli3n__ has joined #nixos
blindidiotgod has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
NeoCron has quit [Ping timeout: 260 seconds]
Acou_Bass has quit [Quit: ZNC 1.7.5 - https://znc.in]
Acou_Bass has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
Alex-Dj has joined #nixos
devalot has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @B4dM4n opened pull request #87299 → perlPackages: make package set extensible → https://git.io/JfCeL
cruxeternus has quit [Ping timeout: 258 seconds]
drvirgilio has quit [Ping timeout: 240 seconds]
Forkk has quit [Ping timeout: 244 seconds]
cransom has quit [Ping timeout: 256 seconds]
Hedgework has quit [Ping timeout: 240 seconds]
HedgeMage has quit [Ping timeout: 256 seconds]
slack1256 has joined #nixos
Alex-Dj has quit [Excess Flood]
Alex-Dj has joined #nixos
morgrimm has quit [Ping timeout: 260 seconds]
Forkk has joined #nixos
devalot has joined #nixos
<ghkbrew> Is this a good place to ask for newbie help on getting a package to work?
<drakonis> uh sure
<drakonis> its the main channel
drvirgilio has joined #nixos
rogue_koder_ has joined #nixos
<cole-h> Yep, this is the main support channel :)
rogue_koder has quit [Remote host closed the connection]
splintah has joined #nixos
seku has quit [Quit: Connection closed]
<ghkbrew> OK, great. Then I'm trying to make the rstudio package work on Linux Mint and keep getting errors
<ghkbrew> It installs fine, but won't run
cransom has joined #nixos
zupo has joined #nixos
<cole-h> Well, if you want help, you'll need to provide more information than that ;)
<cole-h> More importantly would be: what are the errors you're seeing?
o1lo01ol1o has joined #nixos
Hedgework has joined #nixos
HedgeMage has joined #nixos
eoli3n___ has joined #nixos
<ghkbrew> Fair enough :)
<ghkbrew> $ rstudio(process:17196): Gtk-WARNING **: 17:01:28.842: Locale not supported by C library. Using the fallback 'C' locale.qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1,
<ghkbrew> alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize
<ghkbrew> -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)Could not initialize GLXAborted (core dumped)
cruxeternus has joined #nixos
eoli3n__ has quit [Quit: WeeChat 2.8]
<ghkbrew> So, assuming that this is openGL drivers problem, I've also tried installing nixGL and running it with that
<ghkbrew> which produces:
<ghkbrew> nixGLIntel rstudio(process:17475): Gtk-WARNING **: 17:05:03.206: Locale not supported by C library. Using the fallback 'C' locale.Qt: Session management error: None of the authentication protocols specified are supported/nix/store/1agnjh00lpcjfpnm6fsnzzd675h2920x-qtwebengine-5.12.7/libexec/QtWebEngineProcess:
<ghkbrew> /nix/store/mdpm4b2w8y5ybrv4rqyg98npvkwj7wg3-gfortran-7.4.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /nix/store/1agnjh00lpcjfpnm6fsnzzd675h2920x-qtwebengine-5.12.7/lib/libQt5WebEngineCore.so.5)Trace/breakpoint trap (core dumped)
<danimal-moo[m]> OpenSCAD also has a QT/OpenGL fail on startup, as of a few weeks ago. I'm trying it from nixos master branch right now to see if an angel has saved it yet...
<danimal-moo[m]> There was some sort of major QT-builder related change in nixpkgs a while ago. Lots of things broke, but they were already incorrect according to QT docs, and the breakage was the price of progress. At least, that's my interpretation of the convo on a nixpkgs github issue.
<danimal-moo[m]> OpenSCAD is fixed on master, huge thanks my fellow Nixians! 😁
<danimal-moo[m]> Good luck ghkbrew, hope someone can help you more directly
<ghkbrew> thanks, that's my hope as well :)
vidbina has joined #nixos
fendor has quit [Read error: Connection reset by peer]
<ghkbrew> Is it unusual that it's loading libstdc++ from the gfortran package? when try "ldd /nix/store/1agnjh00lpcjfpnm6fsnzzd675h2920x-qtwebengine-5.12.7/libexec/QtWebEngineProcess" it finds the libstdc++ from the gcc package which seems more reasonable
<clever> ghkbrew: what path is libstdc++ at?
<ghkbrew> well in the error message "/nix/store/mdpm4b2w8y5ybrv4rqyg98npvkwj7wg3-gfortran-7.4.0-lib/lib/libstdc++.so.6"
<clever> where does ldd find it?
<cole-h> FWIW, in a nix-shell, I also get a sigtrap upon starting
<ghkbrew> "/nix/store/n587ax9k9rc5cxm66aiibsss60pqk6b4-gcc-9.3.0-lib/lib/libstdc++.so.6"
zupo has quit [Ping timeout: 246 seconds]
<clever> not sure then
<ghkbrew> My hypothesis is the the LD_LIBRARY_PATH set by nixGL is screwing with the seach path and making it grab the wrong libstdc++, but I don't know how it could be happening
zupo has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
eyenx[m] has quit [Quit: killed]
eyenx has quit [Quit: bye]
<danimal-moo[m]> The nix manual has a section on using nix-shell to drop into the build environment for the target package. I've never done that, but it would be a good place to run experiments from, to check dependencies and check paths.
o1lo01ol1o has joined #nixos
<energizer> if `nix-env -if https://...master.tar.gz` provides a binary in the environment, what's the equivalent nix-shell command? `nix-shell https://...` doesnt seem to do that
nschoe_ has quit [Ping timeout: 272 seconds]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<Raito_Bezarius> is there a way to understand why an executable is not executed on nixos? it's saying "-bash: no such file or directory"?
<Raito_Bezarius> i'm checking with file, but opened with nano and it seems to contain a proper ELF
rardiol has joined #nixos
<eadwu[m]> Interpreter?
<eadwu[m]> `file`
<Raito_Bezarius> it's a C program
<Raito_Bezarius> ldd seems to show that it's properly linked
<{^_^}> [nixpkgs] @zimbatm pushed to master « mdsh: 0.4.0 -> 0.5.0 »: https://git.io/JfCfU
Alex-Dj has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<Raito_Bezarius> ah, eadwu[m] file shows some interpreter in /lib64/
<eadwu[m]> Either compile through a derivation
<eadwu[m]> or patchelf it
Alex-Dj has joined #nixos
<Raito_Bezarius> ok patchelf time
Alex-Dj has quit [Client Quit]
<simpson> energizer: Can you pass the URL and then tack on `-p` for the package(s) you want? I honestly don't know whether this is expected to work.
<energizer> simpson: the default.nix i want is top level
<clever> simpson: internally, -p just generates a nix expr and evals it with -E
<clever> simpson: you cant mix -E and a file
<simpson> Huh, TIL.
zakkor has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @wamserma opened pull request #87300 → mupdf: add MIME types to .desktop → https://git.io/JfCf3
splintah has quit [Ping timeout: 272 seconds]
eoli3n___ has quit [Ping timeout: 264 seconds]
<energizer> what expression i supposed to put in my packages in order to install a default.nix that's in a github repo?
<{^_^}> [nixpkgs] @romildo merged pull request #87216 → xfce.xfconf: 4.14.1 -> 4.14.3 → https://git.io/JfcvC
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JfCfW
<simpson> energizer, clever: Perhaps -A instead? I was able to start (but am not patient enough to wait for) building one of my libraries directly from GH this way, just now.
eyenx has joined #nixos
eyenx has joined #nixos
eyenx has quit [Changing host]
<clever> simpson: nix-shell -A will give a shell suitable for building a thing, not using a thing
<Raito_Bezarius> does NixOS support 32 bits executables on 64 bits out of the box?
<clever> Raito_Bezarius: the kernel has it enabled, and you can easily request nix itself to fetch/build 32bit binarie
<simpson> clever: Huh, okay.
<emily> Raito_Bezarius: yes
<clever> simpson: nix-shell -p '(import (builtins.fetchTarball "URL") {})'
<Raito_Bezarius> so, is there any reason why I could get "accessing corrupted shared libraries" on a 32 bits executable which seems dynamically linked but ldd shows nothing "not a dynamic executable"
<clever> simpson: that would fetch a tar, import the default.nix within it, then shove it into the buildInputs of another dummy drv, and shell into that dummy
<clever> Raito_Bezarius: what does file say about the binary?
dermetfan has quit [Quit: WeeChat 2.8]
<Raito_Bezarius> clever: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /nix/store/an6bdv4phxsz14q2sk57iscl2dc7bnj1-glibc-2.30/lib/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=a38dd052a3e3d7437548fe6b604b8d5f2a2d5c0b, stripped
<clever> Raito_Bezarius: thats a 64bit ld-linux
<energizer> clever: is this not possible? or maybe it's what flakes is for
<Raito_Bezarius> clever: oops, autopatchelf has done this
<clever> energizer: you can just use import and one of the fetch functions
<Raito_Bezarius> is there a way to fix that w/o manually doing the patchelf dance?
<clever> Raito_Bezarius: you need to use a 32bit stdenv and kgs tree
<Raito_Bezarius> what is kgs tree?
<clever> Raito_Bezarius: use pkgs.pkgsi686Linux instead of plain pkgs
<Raito_Bezarius> oh okay
<Raito_Bezarius> i'm depending on 0 package
<clever> then everything will be 32bit
<Raito_Bezarius> nice
<clever> Raito_Bezarius: get your stdenv from pkgsi686Linux too
<Raito_Bezarius> is pkgs.pkgsi686Linux.stdenv enough?
<Raito_Bezarius> or should I use explicit 32stdenv or something like that?
<clever> Raito_Bezarius: possibly
eyenx[m] has joined #nixos
<Raito_Bezarius> thanks a lot clever
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87301 → python37Packages.astropy: 4.0 -> 4.0.1.post1 → https://git.io/JfCfw
<Raito_Bezarius> clever++
<{^_^}> clever's karma got increased to 408
splintah has joined #nixos
<Fare> clever += 2
<Fare> clever++++
<Fare> clever++
<{^_^}> clever's karma got increased to 409
<Fare> Fare--
<Fare> Fare++
<{^_^}> Fare's karma got decreased to -1
<Fare> Fare++
<{^_^}> Fare's karma got decreased to -2
<Fare> :-)
<Fare> FaresOtherName++
<MichaelRaskin> MichаelRaskin++
eyenx[m] has quit [Quit: killed]
<MichaelRaskin> Hmm, was my trick cleaned up finally?
<Fare> which trick?
<Fare> I'm too old and ugly to turn tricks.
eyenx[m] has joined #nixos
<MichaelRaskin> Ah right
<MichaelRaskin> MiсhaelRaskin++
<{^_^}> MiсhaelRaskin's karma got increased to 8
<Fare> MichaelRaskin++
<{^_^}> MichaelRaskin's karma got increased to like 34, I think
<wrl> lol
nschoe has joined #nixos
<MichaelRaskin> Every day is a Unicode awareness day!
<Fare> MichaelRaskin, thanks a lot for the feedback on the gerbil packaging.
<gchristensen> lol MichaelRaskin
<Fare> MichaelRaskin, so should gerbil-utils be gerbil-utils-unstable ?
<Fare> and should I have a gerbilPackages and a gerbilPackages_unstable and have gerbil-utils-unstable hook off gerbilPackage_unstable ?
<MichaelRaskin> I would say that gerbilPackages-unstable or something like that should probably be enough to have just gerbil-utils enough
<MichaelRaskin> It sounds like you do not plan for gerbilPackages-stable right now anyway…
<Raito_Bezarius> clever: 32 bits stdenv was enough, thx
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87302 → python27Packages.ajpy: 0.0.4 -> 0.0.5 → https://git.io/JfCfN
<{^_^}> [nixos-search] @garbas pushed to second-click-on-search-does-not-trigger-search « search on page load and on second search query, fixes #5 »: https://git.io/JfCfA
<{^_^}> [nixos-search] @garbas opened pull request #8 → search on page load and on second search query, fixes #5 → https://git.io/JfCfx
__monty__ has quit [Quit: Too slow, zaeph : /]
numkem has quit [Ping timeout: 260 seconds]
<MichaelRaskin> Fare: BTW, trying to find out whether runtimeDeps does anything lead me to find that httpstat sets this with no effect…
<MichaelRaskin> Large codebases are fun!
<MichaelRaskin> Urist McMaintainer confirms!
<{^_^}> [nixpkgs] @Mic92 merged pull request #86804 → tmuxinator: 2.0.0 -> 2.0.1 → https://git.io/JfGYn
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfCJq
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #87296 → squid: 4.10 → 4.11 → https://git.io/Jfcph
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JfCJ6
ddellaco1 has joined #nixos
opticnerve has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #87297 → [20.03] squid: apply patch for CVE-2020-11945 → https://git.io/Jfchy
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to release-20.03: https://git.io/JfCJ1
<{^_^}> [nixos-search] @garbas merged pull request #8 → search on page load and on second search query, fixes #5 → https://git.io/JfCfx
<{^_^}> [nixos-search] @garbas pushed to master « search on page load and on second search query, fixes #5 (#8) »: https://git.io/JfCJD
<{^_^}> [nixos-search] @garbas pushed 0 commits to second-click-on-search-does-not-trigger-search: https://git.io/JfCJy
<{^_^}> [nixos-search] @garbas pushed to netlify-and-spa « a single page app and want history pushstate to work so you get clean URLs »: https://git.io/JfCJ7
<{^_^}> [nixos-search] @garbas opened pull request #9 → a single page app and want history pushstate to work so you get clean URLs → https://git.io/JfCJd
ddellacosta has quit [Ping timeout: 264 seconds]
user_0x58 has quit [Quit: Leaving]
splintah has quit [Ping timeout: 272 seconds]
nschoe has quit [Ping timeout: 252 seconds]
<Fare> MichaelRaskin, no current plan for gerbilPackage-stable, though, if everything goes well, maybe next year.
<Fare> so... just gerbilPackage-unstable.gerbil-utils ? and gerbilPackage be an alias to gerbilPackage-unstable for now? Or no gerbilPackage ?
<{^_^}> [nixpkgs] @mweinelt opened pull request #87303 → microcodeIntel: 20191115 → 20200508 → https://git.io/JfCUt
<Gaelan> So is there any actual difference between aarch64-linux and aarch64-unknown-linux-gnu?
<Fare> Gaelan: the GCC configuration files were produced by different people at different times.
<{^_^}> [nixos-search] @garbas pushed to netlify-and-spa « fix »: https://git.io/JfCUC
<Fare> Gaelan, it could be anything, or nothing.
<Gaelan> ...
T0pH4t has joined #nixos
<Fare> Probably the second one was produced by an anal FSF weenie.
<{^_^}> [nixpkgs] @mweinelt opened pull request #87304 → [20.03] microcodeIntel: 20191115 → 20200508 → https://git.io/JfCUB
<T0pH4t> hello all, question is there something special about nix build that prevents connecting to s3? I'm trying to run a nix-build that downloads some test data in cmake and it fails to connect to s3. If in enter the build environment created 'env-vars file' things work fine.
<Fare> It also doesn't look either professional or usable—just amateurish and obsessed with the wrong details.
<Fare> T0pH4t, during the build you should be in a black box that can't see the network.
<T0pH4t> @Fare, can i disable this??
cr4y1 has quit [Remote host closed the connection]
cr4y1 has joined #nixos
<clever> T0pH4t: nix always disables all network access at build time
<T0pH4t> ugg
<clever> T0pH4t: the correct solution is to have nix download things for you, using things like pkgs.fetchurl, and to copy it to the right place
<T0pH4t> @clever ok... so i have something int my main os /tmp directory that exist, but nix env doenst see it
<clever> T0pH4t: it ensures that the package rebuilds properly when inputs change
<MichaelRaskin> Fare: I normally expect gerbilPackages-unstable, and no standalone gerbilPackage helper function at the toplevel
<T0pH4t> do things get chrooted?
<clever> T0pH4t: nix also chroot's the whole build
<clever> T0pH4t: only the inputs you declared in the nix file can be used and nothing else
<T0pH4t> i see, ok @clever @fare thx
<{^_^}> [nixos-search] @garbas pushed to netlify-and-spa « another try »: https://git.io/JfCUV
cr4y1 has quit [Remote host closed the connection]
<Raito_Bezarius> clever: is there any way to do luks encryption using justdoit on servers?
<Raito_Bezarius> how would you boot it?
morgrimm has joined #nixos
<Raito_Bezarius> (i know there are few solutions to boot luks on servers but don't know what's the path of least resistance using justdoit)
<clever> Raito_Bezarius: you would need to enable the initrd ssh stuff
<Raito_Bezarius> in the configuration.nix in advance, right?
<clever> Raito_Bezarius: yeah
<Raito_Bezarius> clever: alright
<Raito_Bezarius> clever: there should be no problem to kexec an already kexec'd system, right? :-D
<clever> Raito_Bezarius: shouldnt be any issue
<{^_^}> [nixos-search] @garbas pushed to netlify-and-spa « another try 2 »: https://git.io/JfCUX
slack1256 has quit [Remote host closed the connection]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/6958957214b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
morgrimm has quit [Ping timeout: 256 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<T0pH4t> so i gues there is no way to fetch an item from a private s3 bucket in a nix package for use in build?
<clever> T0pH4t: for a private bucket, you would need to use a custom fixed-output derivation, and your keys would wind up in /nix/store/
<clever> with world-read permissions
<clever> T0pH4t: the only other option, is to pre-download the thing, and then just do `cp ${./foo.bin} foo.bin` in your nix expression
<T0pH4t> pre download it as seperate package
<T0pH4t> or before i even run build?
<clever> T0pH4t: or perhaps use pkgs.requireFile to give an error msg saying to dl it manually, like oracle java does
<clever> the last 2 options require you to manually download it before the build
<clever> but requireFile will at least give a nice error if you dont
<T0pH4t> that would actually be fine
<danderson> hm, I don't suppose the Arch build tools are packaged for nix...
<T0pH4t> do i have to copy it into the build env when this occurs?
<danderson> aha, it is!
<clever> T0pH4t: when you do `${./foo.bin}` in a nix expr, nix will copy it to /nix/store for you, and replace it with a storepath
<clever> T0pH4t: so youll wind up with a `/nix/store/hash-foo.bin` in the string where you did that
<T0pH4t> oh interesting, thx
Soo_Slow has quit [Quit: Soo_Slow]
<clever> T0pH4t: you can then use cp on that to put it at a more normal place, or just set an env var to it
lordcirth has quit [Remote host closed the connection]
<{^_^}> [nixos-search] @garbas pushed to netlify-and-spa « try 3 »: https://git.io/JfCTt
seanparsons has quit [Quit: ZNC 1.7.5 - https://znc.in]
seanparsons has joined #nixos
negaduck has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<{^_^}> [nixos-search] @garbas pushed to netlify-and-spa « try 4 »: https://git.io/JfCTn
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/6958957214b (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
justanotheruser has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixos-search] @garbas merged pull request #9 → a single page app and want history pushstate to work so you get clean URLs → https://git.io/JfCJd
<{^_^}> [nixos-search] @garbas pushed to master « a single page app and want history pushstate to work so you get clean URLs (#9) »: https://git.io/JfCTg
<{^_^}> [nixos-search] @garbas pushed 0 commits to netlify-and-spa: https://git.io/JfCTa
dnlkrgr has quit [Ping timeout: 272 seconds]
cosimone has quit [Read error: Connection reset by peer]
cr4y1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87305 → python27Packages.grequests: 0.4.0 -> 0.6.0 → https://git.io/JfCTb
knupfer has quit [Ping timeout: 260 seconds]
maddo has quit [Quit: See ya]
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @andir merged pull request #87303 → microcodeIntel: 20191115 → 20200508 → https://git.io/JfCUt
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JfCkK
<{^_^}> [nixpkgs] @andir merged pull request #87304 → [20.03] microcodeIntel: 20191115 → 20200508 → https://git.io/JfCUB
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-20.03: https://git.io/JfCkP
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
<Fare> MichaelRaskin, and inside gerbilPackages-unstable, should I have gerbil-utils-unstable or merely gerbil-utils ?
<Fare> There ought to be a gerbil release this weekend, at which point I'd like to finalize the PR and get it merged.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87306 → python27Packages.javaproperties: 0.5.2 -> 0.7.0 → https://git.io/JfCIT
<MichaelRaskin> I think plain gerbil-utils is fine
<Fare> ok, making it so!
fabianhjr has quit [Ping timeout: 260 seconds]
Maxdamantus has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87307 → python37Packages.hstspreload: 2020.3.31 -> 2020.5.5 → https://git.io/JfCIl
<Fare> ok, and if I don't put gerbilPackages-unstable directly in all-packages, but only in pkgs.gerbil-support, what is the correct idiom to override it in an overlay?
<MichaelRaskin> Wait, gerbilPackages-unstable is probably fine at top-level, I am only against gerbilPackage
Maxdamantus has joined #nixos
<MichaelRaskin> But I would also expect that your overlay would just override what gerbil you feed to gerbil-support, no?
<Fare> self: super: rec { foo = super.foo // rec { bar = super.foo.bar // { baz = ... } } } ?
<Fare> ok for top-level gerbilPackages-unstable, then. Thanks. Is gerbil-support also fine at toplevel?
hlisp has joined #nixos
<MichaelRaskin> I am not sure there is a point of having both, but I don't also see much harm in having both
<{^_^}> [nixpkgs] @equirosa opened pull request #87308 → tut 0.0.7 -> 0.0.8 → https://git.io/JfCIE
is_null has joined #nixos
user_0x58 has joined #nixos
kleisli has quit [Remote host closed the connection]
lopsided98 has quit [Remote host closed the connection]
lopsided98 has joined #nixos
<{^_^}> [nixos-search] @garbas pushed to wildcard-query « switching to wildcard query »: https://git.io/JfCLB
<{^_^}> [nixos-search] @garbas opened pull request #10 → switching to wildcard query → https://git.io/JfCLR
hlisp has quit [Read error: Connection reset by peer]
hlisp has joined #nixos
hlisp has quit [Remote host closed the connection]
oborot has joined #nixos
proofofkeags has quit [Ping timeout: 258 seconds]
pbb has quit [Ping timeout: 244 seconds]
pbb has joined #nixos
rogue_koder_ has quit [Remote host closed the connection]
rogue_koder_ has joined #nixos