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
zangi has quit [Ping timeout: 265 seconds]
maier has quit [Ping timeout: 256 seconds]
<colemickens> It's the same thing as if you did `import default.nix`, so you can access attributes. (At least, that is the case with /archive/{branch}.tar.gz which I assume is the same thing but gzipped.
h0m1 has quit [Quit: WeeChat 2.8]
alp has quit [Ping timeout: 272 seconds]
<colemickens> It was a nice epiphany when that clicked for me, the nix cli just does the "fetchTarball" for you
h0m1 has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
alexherbo2 has quit [Ping timeout: 256 seconds]
<bbigras> thanks you both
<bbigras> colemickens++
<{^_^}> colemickens's karma got increased to 0b11101
<bbigras> colemickens++
<{^_^}> colemickens's karma got increased to 30
<bbigras> ops. I did it twice
<bbigras> cole-h++
<{^_^}> cole-h's karma got increased to 81
pamplemousse has quit [Ping timeout: 272 seconds]
matthewcroughan has joined #nixos
alter2000_ has quit [Ping timeout: 264 seconds]
emmanuel` has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/41f0bae06b1 (from 58 minutes ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
acarrico has joined #nixos
Henson has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<moet> are there supposed to be .lock files in the nix-store?
<bbigras> I must confess that I'm still confused by import vs callpackage and stuff.
<clever> moet: those get created when a build starts, and an flock is held on it while building
<clever> moet: they are some of the first things deleted by a GC, so `nix-collect-garbage --max-freed 1` will delete most of them, and then 1 random piece of garbage
<moet> clever: are they sticking around because i ctrl+c'd a build or two?
<moet> i've got quite a lot ..
<clever> probably
<moet> clever: do they break bulids? :P
<clever> nope
<moet> then they can live on my system :)
<clever> it uses an flock to determine if the thing is actually building or not, and those get released when the proc dies
alp has joined #nixos
<moet> so the flock is released, and the files sticking around shouldn't matter
<clever> yep
<moet> followup question: i can't seem to use a haskell package override of the form `doctest = self.callHackage "doctest" "0.17" {};` ... or 0.16.3 ... those most recent two versions give me some error about it not being in the hackage index
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJYG5
<moet> but both versions are on hackage, so i don't really know what that means
<clever> moet: nixpkgs has an all-cabal-hashes.tar file, that has every single .cabal file for every single version
<clever> but it can be out of date, and then you calt callHackage
<clever> you want to switch over to callHackageDirect, which needs a sha256 of the src
<moet> perfect! thank you
<clever> s/calt/cant/
<clever> callHackageDirect = {pkg, ver, sha256}:
<clever> so i think that would be: callHackageDirect { pkg = "doctest"; ver = "0.17"; sha256 = "hash"; } {}
<moet> clever: thanks.. what's the last {} for?
<clever> moet: the standard {} that all callPackage things want
<cole-h> It's a function that needs two arguments, { pkgs = .... } and {}
<moet> is it the same {} as in `import <nixpkgs> {}`;?
<cole-h> It's not the same, because it's a different function.
<cole-h> The characters are the same.
<moet> i guess i meant, are the attribute-names expected between the {} the same?
alp has quit [Ping timeout: 272 seconds]
<moet> it sounds like "no"
<moet> what are the attribute names that a package expects between the {}?
<clever> the {} at the end, is for an args the default.nix accepts on line 1
<clever> like callPackage ./foo.nix { withBar = true; }
<clever> but often, the defaults are fine
<colemickens> how are people have flake outputs build multiple derivations? with nix v1 cli I can just throw a list of attrs at it. `nix eval --json` takes it, `nix build` complains the output isn't a derivation
<moet> ah! ok, great
<colemickens> I guess symlinkJoin or whatever might work?
<moet> thank you clever cole-h
kleisli has quit [Ping timeout: 256 seconds]
<clever> colemickens: i tend to use buildEnv
<colemickens> clever: okay thanks I'll check that too
<moet> followup question, i'm getting a hash mismatch .. what do you get for `nix-prefetch-url http://hackage.haskell.org/package/doctest-0.17/doctest-0.17.tar.gz`?
simba2 has quit [Ping timeout: 246 seconds]
<clever> ,tofu moet
<cole-h> moet: You probably want to `--unpack` that.
<{^_^}> moet: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<clever> 195 in self.callCabal2nix pkg (pkgs.fetchzip {
<clever> moet: also, its using fetchzip, which matches up to `nix-prefetch-url --unpack`
<moet> yeah, i ended up doing tofu
<moet> ahh, ok, thank you
<cole-h> colemickens: My brain is slow, can you give an example of the nix v1 way of what you're wanting to do?
<moet> yup, adding --unpack gave me the matching hash :)
<moet> thank you again!
<colemickens> cole-h: nix-build build.nix in nixpkgs-wayland, for example
<colemickens> I'm converting it to a flake right now and I want a nix-build command that builds all the overlay pkgs.
<colemickens> also, buildEnv and symlinkJoin don't seem to be in the flake lib thing, I guess I have to import old school style? I'm still a bit fuzzy on how lib+flakes works.
<cole-h> Oh, got it. So you want calling nix build on a file with `{ asdf = drv; jkl = drv; zxcv = drv; }` to build all of those?
<colemickens> some things are in inputs.nixpkgs.lib, but somethings are only available after doing an import on nixpkgs and then accessing lib.
<colemickens> cole-h: you've got it. and then the caveat that it has to work the same with flakes mode :P
<cole-h> Right. Kinda shocking that's not possible...
<colemickens> I think `nix build` handles the overlay as is just fine, but flakes mode won't build multiple derivations wiht `nix build`.
<colemickens> oh no, it actually gives an error too, I guess I'd never tried this.
<colemickens> this would explain why I've seen others go to the effort to use buildEnv/symlinkJoin. I've always just splatted out a list and stuck with `nix-build` I guess.
<clever> colemickens: if you give nix-build a list or a set, it just barfs a ton of result-42 symlinks into the current dir
<clever> then you have the fun of figuring out which result you wanted
<clever> if you give nix-env -i a list or set, it will just install all of the things
capt_zap has quit [Read error: Connection reset by peer]
capt_zap has joined #nixos
<colemickens> clever: good points, I'd only really ever encountered the first one.
<colemickens> wait, if nix build insists on only one output then ... that just makes the not printing to stdout...
<colemickens> * wait, if nix build insists on only one output then ... that just makes the not printing to stdout...
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/68c599acd58 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<chipb> I feel like I'm missing something obvious, but is there a way to get a summary diff between nixos-rebuild derivations?
<clever> chipb: run `nix-diff` on the before and after .drv files
<clever> chipb: `nix-store --query --deriver /run/current-system/` will give the drv for the currently running nixos
simba2 has joined #nixos
<clever> and `nix-instantiate '<nixpkgs/nixos>' -A system` will give the new drv based on current cfg
<moet> oh fun. doctest-0.17 tests try to make a cabal sandbox using some path that nix forces to / .. so the test fails :D
<moet> dontCheck
<clever> > haskell.lib.dontCheck
<{^_^}> <LAMBDA>
philr has joined #nixos
<colemickens> It seems like buildEnv and symlinkJoin aren't derivations either and thus don't work. (or I'm making another mistake)
<clever> colemickens: buildEnv and symlinkJoin are derivations
<clever> > buildEnv { name = "name"; paths = [ hello mpv ]; }
<{^_^}> "<derivation /nix/store/r0r5hzgmjmsgkw1fmbhm4bxxjjs6ma5v-name.drv>"
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJYZM
markus1189 has joined #nixos
<colemickens> tbh, I feel like I'm bumping into v2 cli again.
<chipb> clever: nice. that's very helpful.
<colemickens> oh wait, no the json even tells me that I'm making a mistake, I think.
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<chipb> thank you.
<colemickens> okay, after using nix eval to get the real error messages, I was able to get it going, thanks clever.
markus1199 has quit [Ping timeout: 272 seconds]
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
orivej has joined #nixos
proofofkeags has quit [Ping timeout: 264 seconds]
h0m1 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92901 → rustup: 1.21.1 -> 1.22.1 → https://git.io/JJYZ5
h0m1 has joined #nixos
zangi has joined #nixos
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
moet has quit [Ping timeout: 246 seconds]
cosimone has quit [Quit: Quit.]
cosimone has joined #nixos
<colemickens> oh also, it was more approriate to use .#packages and expose the set, instead of converting to a list and symlinkJoin with .#defaultPackage. another TIL.
m0rphism has quit [Ping timeout: 265 seconds]
verdys has joined #nixos
luna has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
zangi has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/57a53677b45 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
AluisioASG has quit [Remote host closed the connection]
proofofkeags has joined #nixos
AluisioASG has joined #nixos
pamplemousse has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92902 → smemstat: 0.02.07 -> 0.02.08 → https://git.io/JJYcI
<{^_^}> [nixpkgs] @ejpcmac closed pull request #92853 → mixxx: 2.2.3 -> 2.2.4 → https://git.io/JJYvW
proofofkeags has quit [Ping timeout: 258 seconds]
zangi has joined #nixos
simba2 has quit [Ping timeout: 260 seconds]
AluisioASG has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
maier has joined #nixos
zangi has quit [Read error: Connection reset by peer]
zangi has joined #nixos
AluisioASG has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #92903 → nixos/networkd: correct DHCPv6 UseDNS field → https://git.io/JJYcM
maier has quit [Ping timeout: 256 seconds]
codygman has quit [Ping timeout: 246 seconds]
pamplemousse has quit [Ping timeout: 258 seconds]
codygman has joined #nixos
<colemickens> bqv: can you show me an example usage of bqv/guix ?
<colemickens> as an overlay, that is?
<bqv> colemickens: bqv/nixrc
<bqv> just search guix
<bqv> there's not much to it
notzmv has joined #nixos
zangi has quit [Read error: Connection reset by peer]
zangi has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
reanimus has quit [Ping timeout: 256 seconds]
_reanimus_ has joined #nixos
patagonicus1 has joined #nixos
patagonicus has quit [Ping timeout: 256 seconds]
patagonicus1 is now known as patagonicus
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/41f0bae06b1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
codygman has quit [Ping timeout: 240 seconds]
knerten1 has joined #nixos
<drakonis> how long has it been since symfony was available?
<drakonis> since it was last available in nixpkgs?
<bqv> colemickens: oh, it's actually all in the flake now, neat. this is all i have right now afaik why're you after guix :D
<drakonis> guix...
<drakonis> has a lot that can be ripped off
codygman has joined #nixos
<bqv> drakonis: nah he's after my guix-on-nixos flake
zangi has quit [Read error: Connection reset by peer]
<bqv> of which i honestly expected to be the only one batshit enough to use
knerten has quit [Ping timeout: 272 seconds]
codygman has quit [Read error: Connection reset by peer]
kleisli has joined #nixos
codygman has joined #nixos
wunderbrick has joined #nixos
camsbury has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
stephank6 has joined #nixos
camsbury has quit [Remote host closed the connection]
johnny101m2 has quit [Quit: -a- Connection Timed Out]
eyenx has quit [Quit: bye]
eyenx has joined #nixos
eyenx has joined #nixos
eyenx has quit [Changing host]
AluisioASG has quit [Read error: Connection reset by peer]
stephank has quit [Ping timeout: 256 seconds]
stephank6 is now known as stephank
AluisioASG has joined #nixos
johnny101m has joined #nixos
zangi has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92904 → python37Packages.sequoia: 0.16.0 -> 0.17.0 → https://git.io/JJYWn
ddellacosta has quit [Quit: WeeChat 2.8]
_ris has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #92905 → python27Packages.pillow: fix build on darwin → https://git.io/JJYWV
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
luna has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
<cole-h> Does `builtins.readFile` add the file to the store?
zangi has quit [Read error: Connection reset by peer]
<colemickens> bqv: yeah idk, you're right of course. I've been actually trying to comprehend all of it, keep getting distracted -_-
rajivr has joined #nixos
<colemickens> I made the usual mistake of checking the news, forgetting which day of the week it was.
<bqv> cole-h: nope
capt_zap_ has joined #nixos
<bqv> colemickens: heh
zangi has joined #nixos
capt_zap has quit [Read error: Connection reset by peer]
<cole-h> Great, thanks for the sanity check.
o1lo01ol1o has quit [Ping timeout: 258 seconds]
andymandias has quit [Ping timeout: 240 seconds]
<{^_^}> [nix] @matthewbauer opened pull request #3800 → WIP: Add nix processes command → https://git.io/JJYWS
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92906 → stig: 0.11.0a -> 0.11.2a0 → https://git.io/JJYW7
matthewcroughan has quit [Ping timeout: 256 seconds]
<cole-h> matthewbauer: 👀
<samueldr> oooh, I will be able to delete `nix-top`!
<cole-h> lol
<cole-h> I will be able to create nix-top-rs :D
<samueldr> oh, I'll bequeath the name to anyone that does a better tool
<samueldr> even before `nix processes` exist
<infinisil> samueldr++ for nix-top
<{^_^}> samueldr's karma got increased to 246
inkbottle has joined #nixos
<cole-h> samueldr: Nah, it must be nix-top-rs! But the binary will be nix-top :P
<samueldr> sometimes you have to do something badly so someone will show you how it's done right :)
<{^_^}> [nixpkgs] @marsam merged pull request #92901 → rustup: 1.21.1 -> 1.22.1 → https://git.io/JJYZ5
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJYlf
<samueldr> (I'm still not sure if it's what happened with flakes-compat)
zebrag has quit [Ping timeout: 240 seconds]
<{^_^}> nix#3366 (by samueldr, 20 weeks ago, closed): [WIP] Add a compatibility shim for non-flake nix
<{^_^}> [nixpkgs] @marsam opened pull request #92907 → vte: fix build on darwin → https://git.io/JJYlT
<cole-h> :D
<cole-h> Kinda sucks that, to get email notifications, I have to unsubscribe and then re-subscribe to an issue/PR if I'm watching the repo
raghavsood has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<raghavsood> Anyone have an idea where I'm supposed to define `initialHashedPassword` after recent changes to unstable? Every time I try to deploy, it complains that `initialHashedPassword` is undefined - I've tried adding it to the root user, all my other users, doesn't seem to change anything
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
detran has quit [Ping timeout: 246 seconds]
wildsebastian has quit [Ping timeout: 272 seconds]
mdlayher has quit [Read error: Connection reset by peer]
detran has joined #nixos
mdlayher has joined #nixos
wildsebastian has joined #nixos
omnigoat has joined #nixos
ddellacosta has joined #nixos
bahamas has joined #nixos
maier has joined #nixos
ddellacosta has quit [Quit: WeeChat 2.8]
ddellacosta has joined #nixos
maier has quit [Ping timeout: 240 seconds]
pjt_tmp has joined #nixos
pjt_tmp is now known as pjt_014
hgyyrfy has joined #nixos
<cole-h> Paste the entire error
<cole-h> As well as the full trace (`--show-trace`)
<cole-h> raghavsood: ^
hgyyrfy has quit [Remote host closed the connection]
<raghavsood> I have a total of two users, both with an `initialHashedPassword` in their config (which I added today, never needed it before), and also have added `users.users.root.initialHashedPassword` - no change on the error though
dfg has joined #nixos
<cole-h> Can you post your configuration that includes those settings? Feel free to censor the hashed password.
<dfg> how do i make my irc client ignore request from people that are telling it to join channels
<cole-h> raghavsood: I'd also try `nixos-rebuild dry-activate -I nixos-config=./path/to/configuration.nix` and see if it gives more information.
<bqv> dfg: that depends entirely on your irc client
<bqv> don't think you can block invites at server level
<bqv> if you can, it'd be a umode
<dfg> hex
<dfg> hjechat
<dfg> hexchat
<bqv> i don't use hexchat
<bqv> if you do /ctcp version #nixos, you might figure out some people who do though
<cole-h> raghavsood: I think the problem may be `security.initialHashedPassword`, actually
<cole-h> That doesn't exist
bahamas has quit [Ping timeout: 272 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<raghavsood> cole-h: Here's the relevant user configs: https://gist.github.com/RaghavSood/7cb186222f21b79442a98adb0b78bddd
<pjt_014> is there a procedure for moving the source of a program in nixpkgs?
<cole-h> raghavsood: Remove `security.initialHashedPassword` and try again (that shows up in the trace, so you'll need to find where it was added)
<pjt_014> I have one whose source makes me...uncomfotable.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92908 → sysvinit: 2.96 -> 2.97 → https://git.io/JJYly
<cole-h> What do you mean "moving the source of a program"? If you mean changing where the source is retrieved from, if you have a meaningful upstream to change it to, just send a PR.
<raghavsood> cole-h: That's the thing, `security.initialHashedPassword` doesn't exist in my configs at all - when I try to add it, it changes the error to say there's no such attribute. It seems to originate from https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/config/users-groups.nix#L433
<cole-h> pjt_014: If you're only mirroring it from the source that makes you uncomfortable, that's a bad idea (IMO).
cyphase has quit [Quit: cyphase.com]
<cole-h> raghavsood: What if you try to deploy with `nixpkgs=channel:nixos-unstable`? Just curious.
<raghavsood> Hmm, let me add it and try
<raghavsood> Fortunately this is a sacrificial machine, so breaking it is par for the course
<cole-h> If that doesn't help anything, you'll want to ask again later, when the more knowledable people are awake/available... A strange error, indeed.
<cole-h> (Sorry I couldn't help)
<raghavsood> Same error and trace with `nixos-unstable`
<raghavsood> Fwiw, if I deploy against 20.03, it works fine
<raghavsood> So it does seem related to recent changes, likely in the last week or so - had no issues deploying unstable before that
<raghavsood> I suspect it might be related to https://github.com/NixOS/nixpkgs/pull/91238
<{^_^}> #91238 (by rnhmjoj, 2 weeks ago, merged): nixos/users-groups: do not check validity of special hashes
<cole-h> Most likely, but I can't tell how without seeing the actual hashed passwords...
<cole-h> For now, I'd file an issue on nixpkgs, link to that PR, and see what happens.
<raghavsood> I'll try out a few more things, might swap them out with dummy hashes and share them here if it doesn't work out in the next hour or two
<raghavsood> Appreciate the help!
<cole-h> It might also be a nixops-hetzner problem, somehow
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c87c474b17a (from 63 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<raghavsood> Possibly, maybe recent updates did something incompatible - I'll try bisecting recent commits and seeing exactly where the problem shows up
pamplemousse has joined #nixos
pamplemousse has quit [Ping timeout: 256 seconds]
<bqv> pjt_014: wow. That's highly distressing
<pjt_014> there is a mirror on github at least
<pjt_014> though it also lacks a manual :l
<pjt_014> One would have to...extrapolate one.
<pjt_014> bqv: I can just open an issue for it. I've done it before
kleisli has quit [Ping timeout: 256 seconds]
Rusty1 has quit [Quit: WeeChat 2.3]
o1lo01ol1o has joined #nixos
dfg has quit [Quit: Leaving]
<bqv> Yeah, probably best
CMCDragonkai1 has joined #nixos
<bqv> (Then it's at least logged and we can all ignore it until someone posts the same issue a year from now :p)
o1lo01ol1o has quit [Ping timeout: 256 seconds]
palo1 has joined #nixos
wunderbrick has quit [Quit: WeeChat 2.7.1]
<pjt_014> woooo i'm helping yeaaaaaaaaaaaah
<{^_^}> #92909 (by petersjt014, 1 minute ago, open): Switch xml2 to github mirror
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
o1lo01ol1o has joined #nixos
azure has joined #nixos
azure is now known as Guest58502
<samueldr> I'm plenty comfortable with the source of xml2 being fetched from archive.org
<samueldr> the hash is the same
<samueldr> in fact, more comfortable than an arbitrary repo cloner
zangi has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<samueldr> now, what might be a better source with the optics of getting bug fixes is whatever debian is doing
martyet-o has quit [Ping timeout: 265 seconds]
cyris212 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<samueldr> though other than an added manpage, it looks like the source is unchanged and unpatched
Guest58502 has quit [Read error: Connection reset by peer]
iyzsong has quit [Quit: ZNC 1.7.5 - https://znc.in]
ATuin has joined #nixos
markus1189 has quit [Ping timeout: 256 seconds]
Guest58502 has joined #nixos
<pjt_014> samueldr: welp, that eliminates my main issue with it then. problem solved. gonna edit the issue then
<samueldr> yeah, just read the last sentence which I skipped (horrible me)
<samueldr> look! no work to be done! there's a manpage!
iyzsong has joined #nixos
cyris212 has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
<samueldr> if a fork happens with someone maintaining it, then the fork is also a contender for being a new source
dingenskirchen has joined #nixos
<samueldr> pjt_014: since you're trying to understand the tool, this repo has converted the html pages from the author's website to markdown https://github.com/LorenzoAncora/xml2/tree/master/doc
<samueldr> (though archive.org has snapshots)
<samueldr> > % netscape slashdot.html
<{^_^}> error: syntax error, unexpected $undefined, at (string):318:1
<pjt_014> samueldr: I tried looking at them, they aren't captured. That was the initial source of my (mild) distress. But this is a good find, thanks.
<samueldr> I can feel the age of this tool in my bones
drakonis has quit [Quit: WeeChat 2.8]
<bqv> Netscape, wow
<samueldr> though it does look interesting
<bqv> That must be dusty
<pjt_014> perchance do you know of an example usage of the csv one?
<samueldr> absolutely not, I just learned about the tool from this discussion :)
kleisli has joined #nixos
<pjt_014> hm.
<pjt_014> I have tried to do '[...] | html2 | 2csv'--no dice yet
<pjt_014> I do like this flat format
<pjt_014> glorious plaintext wooyea
<samueldr> seems the csv tool assumes /file/record kind of hierarchy
<samueldr> echo -e "a,b,c,d,e\n1,2,3,4,5" | csv2 | 2xml
moet has joined #nixos
<pjt_014> but can you make any sense of the 2csv one?
<pjt_014> curl example.com | html2 | 2csv should work
<pjt_014> but doesn't
<pjt_014> I wanna try and see if I can turn this html into /path into json into csv into recutils format
<pjt_014> a true tightrope of wizardy
<pjt_014> I might just try to wrangle jq/xq/yq into it
<samueldr> I believe you really have to have the /file/record kind of hierarchy in tags
<samueldr> so probably 2csv is quite limited
inkbottle has quit [Quit: Konversation terminated!]
<moet> is there an easy way to instantiate several haskell packages from one github repo?
cyphase has joined #nixos
<moet> i guess i could define one fetchFromGithub with the source, and then use it to instantiate all the packages separately..
<bqv> Yeah, sharing is caring
<moet> but .. how do i say "use a subdir" of the fetchFromGithub?
<cole-h> `preConfigure = "cd subdir";` ;^)
<cole-h> Alternatively, `src = fetchFromGitHub { ... } + "/subdir";` should work, I believe.
<bqv> You could also use …yeah that^
leah2 has quit [Ping timeout: 256 seconds]
wunderbrick has joined #nixos
wunderbrick has quit [Client Quit]
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92911 → gnome3.tali: 3.36.1 -> 3.36.4 → https://git.io/JJY4L
betaboon has quit [Ping timeout: 256 seconds]
betaboon has joined #nixos
kreyren_ has quit [Remote host closed the connection]
bkv has joined #nixos
hellrazor has quit [Ping timeout: 260 seconds]
ilmu has quit [Ping timeout: 260 seconds]
<moet> that's kind of awesome that that just works
<moet> do you do a `+ "/subdir"` or a `+ /subdir`?
bqv has quit [Ping timeout: 272 seconds]
<cole-h> Notice: ofborg evaluators and x86_64-linux builders are down. Buildkite seems to be having trouble, so I can't try to redeploy, either. Sory for the inconvenience.
hellrazor has joined #nixos
<cole-h> moet: Needs to be quoted. Otherwise it'll try to access `/subdir` on your system.
<samueldr> moet: with paths, starting with / is an absolute path
ilmu has joined #nixos
maier has joined #nixos
kleisli has quit [Remote host closed the connection]
valwal_ has quit [Ping timeout: 256 seconds]
leah2 has joined #nixos
kleisli has joined #nixos
valwal_ has joined #nixos
c4rc4s_ has joined #nixos
hoek_ has joined #nixos
cosimone_ has joined #nixos
cole-h has quit [Quit: Goodbye]
hoek has quit [Ping timeout: 256 seconds]
printfn[m] has quit [Ping timeout: 256 seconds]
printfn[m] has joined #nixos
printfn[m] has joined #nixos
hoek_ is now known as hoek
cosimone has quit [Ping timeout: 256 seconds]
c4rc4s has quit [Ping timeout: 256 seconds]
bachp has quit [Ping timeout: 256 seconds]
nand0p has quit [Ping timeout: 256 seconds]
penguwin has quit [Ping timeout: 256 seconds]
<moet> thank you. testing it out now
penguwin has joined #nixos
maier has quit [Ping timeout: 240 seconds]
c4rc4s_ is now known as c4rc4s
ilmu has quit [Ping timeout: 256 seconds]
jbetz has quit [Ping timeout: 256 seconds]
nz has quit [Ping timeout: 256 seconds]
ajmcmiddlin has quit [Ping timeout: 256 seconds]
nz_ has joined #nixos
ajmcmiddlin_ has joined #nixos
<bkv> ,locate libosicat
<{^_^}> Couldn't find in any packages
yusdacra[m]1 has joined #nixos
nand0p has joined #nixos
ilmu has joined #nixos
movsxd[m]1 has joined #nixos
Xamino[m]1 has joined #nixos
Ox4A6F1 has joined #nixos
jbetz has joined #nixos
yusdacra[m] has quit [Ping timeout: 256 seconds]
movsxd[m] has quit [Ping timeout: 256 seconds]
Xamino[m] has quit [Ping timeout: 256 seconds]
Yakulu[m] has quit [Ping timeout: 256 seconds]
steveeJ has quit [Ping timeout: 256 seconds]
Ox4A6F has quit [Ping timeout: 256 seconds]
mpickering has quit [Ping timeout: 256 seconds]
Fuzen has quit [Ping timeout: 256 seconds]
Strubbl[m] has quit [Ping timeout: 256 seconds]
ptotter[m] has quit [Ping timeout: 256 seconds]
steveeJ has joined #nixos
Yakulu[m] has joined #nixos
_reanimus_ has quit [Ping timeout: 256 seconds]
gcoakes[m] has quit [Ping timeout: 256 seconds]
Strubbl[m] has joined #nixos
mpickering has joined #nixos
Fuzen has joined #nixos
ptotter[m] has joined #nixos
reanimus has joined #nixos
gcoakes[m] has joined #nixos
simba2 has joined #nixos
bachp has joined #nixos
CMCDragonkai1 has quit [Ping timeout: 272 seconds]
<moet> the subdir of the source is working
<moet> i'm doing something like `dependency1 = haskellPackages'.callCabal2nix "dependency1" (repo + "/dependency1") {};` .. but it's complaining that it's missing .. another dependency in the same repo
<moet> something about "anonymous function missing `dependency2`"
<moet> can i pass that in somewhere? do i need to make my attrset "rec"?
kreyren has joined #nixos
<moet> ok, yeah, i think i ned to make the attrset rec based on https://nixos.org/nix/manual/#sec-arguments
<moet> ok, and passing `{ inherit dependency2; }` to dependency1 worked :)
proofofkeags has joined #nixos
proofofk_ has joined #nixos
proofofkeags has quit [Ping timeout: 260 seconds]
moet has quit [Ping timeout: 256 seconds]
mniip has joined #nixos
hoijui has joined #nixos
alp has joined #nixos
Cicucci_ has joined #nixos
bqv has joined #nixos
Cicucci has quit [Ping timeout: 272 seconds]
bkv has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 901 commits to staging-next: https://git.io/JJYBR
<{^_^}> [nixpkgs] @FRidh pushed 905 commits to staging: https://git.io/JJYBE
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
plutes has joined #nixos
plutes has quit [Max SendQ exceeded]
alp has quit [Ping timeout: 272 seconds]
proofofk_ has quit [Remote host closed the connection]
proofofkeags has joined #nixos
justan0theruser has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
pjt_014 has quit [Ping timeout: 246 seconds]
proofofkeags has quit [Ping timeout: 256 seconds]
pjt_014 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
NeoCron has joined #nixos
justan0theruser has joined #nixos
turion has joined #nixos
<{^_^}> [nixpkgs] @freezeboy opened pull request #92912 → ssh-ident: switch to python3 interpreter → https://git.io/JJYRe
never_released_ has joined #nixos
never_released has quit [Ping timeout: 264 seconds]
turion has quit [Ping timeout: 246 seconds]
bkv has joined #nixos
bqv has quit [Ping timeout: 246 seconds]
<AlpineLlama> hey all! I'm trying to allow the ati_unfree using allowUnfreePredicate. when I try nixos-rebuild however I get a allowUnfreePredicate defined in /etc/nixos/configuration.nix does not exist
<AlpineLlama> Am I supposed to put it elswhere ?
NeoCron has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @danieldk closed pull request #92892 → rocm-opencl-icd: init at 3.5.0 → https://git.io/JJYLP
<bkv> in nixpkgs.config, probably
sangoma has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c02f5149295 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
bqv has joined #nixos
<AlpineLlama> bkv: ah ok cause right now I just dropped it in the default config {config, pkgs, lib, ...}: {... allowUnfreePredicate... }
bkv has quit [Ping timeout: 256 seconds]
Guest58502 is now known as zanc
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @equirosa opened pull request #92913 → lazygit: 0.20.4 -> 0.20.5 → https://git.io/JJY0I
<{^_^}> [nixpkgs] @jonringer merged pull request #92682 → python3Packages.msrest{,azure}: bump → https://git.io/JJqfh
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJY0O
sangoma has quit [Ping timeout: 256 seconds]
sangoma has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @timokau merged pull request #88629 → gen-oath-safe: add dependency on file command → https://git.io/Jf2d8
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JJY02
verdys has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #92914 → rocm-opencl-icd: init at 3.5.0 → https://git.io/JJY0i
<pbb> I'm looking for a way to edit a Nix file from a bash script, specifically adding an attribute to an attributeset
mallox has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #92902 → smemstat: 0.02.07 -> 0.02.08 → https://git.io/JJYcI
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJY07
sangoma has joined #nixos
<asymmetric> does nix-shell as a shebang only work on nixos?
<pbb> No, it should work on every system with nix-shell installed
o1lo01ol1o has joined #nixos
<asymmetric> i'm trying it on an ubuntu system, and adding `#!/usr/bin/env nix-shell` and `#! nix-shell -p jq` does not install jq, and the script is run with `sh`
<asymmetric> nix is installed
<pbb> strange, I just tested it on a ubuntu system with nix and it works fine
<pbb> jq is not installed outside the nix-shell
<pbb> how are you running the script?
<patagonicus> Yeah, I think the missing part is the -i bash to tell nix-shell to run the file with bash.
<pbb> without -i bash it just opens a nix-shell prompt
<asymmetric> pbb: hah that' s interesting, i was running the script with `bash foo.sh`
<asymmetric> that doesn't work
<asymmetric> whereas `./foo.sh` does
<pbb> yeah that's not supposed to work
<pbb> that's the entire point of the shebang
<patagonicus> asymmetric: Well, yeah. bash foo.sh tells bash to run it. For bash the shebang is just a comment.
<pbb> it tells the system to run "nix-shell ./foo.sh"
<patagonicus> With ./foo.sh the kernel sees the shebang and uses that to figure out how to run the script.
<asymmetric> ah, i thought the shebang was interepreted by bash
<pbb> nope, by the linux system
<asymmetric> ah, til! :)
<asymmetric> pbb++
<{^_^}> pbb's karma got increased to 1
<asymmetric> but so this means that a nix-shell script can't be piped into sh
<asymmetric> or bash or whatever
<asymmetric> curl https://my.script | sh
ap29600 has joined #nixos
<pbb> true
<bqv> Do the two-line shebang
knupfer has joined #nixos
knupfer has joined #nixos
<bqv> Or just run nix-shell in a bash script
<asymmetric> bqv: what do you mean by two-line shebang?
<bqv> Theres a nix shell script type that uses two shebangs to solve that problem
<pbb> Do you have an example?
<bqv> Can't remember how, ask someone clever
<bqv> clever: are you awake?
<pbb> :D
zupo has joined #nixos
<pbb> you could do something like "cat > /tmp/myscript <<EOF ..... EOF; nix-shell -p foo -i bash /tmp/myscript"
<asymmetric> hmm right
<{^_^}> [nixpkgs] @danieldk merged pull request #92812 → masterpdfeditor: 5.4.38 -> 5.6.09 → https://git.io/JJmgz
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJYEs
<pbb> asymmetric: this seems to work: https://termbin.com/6z4ds
<pbb> you can pipe it to bash
<pbb> if the user downloads the script and then executes it you can use "$0" and have the script automatically reexecute itself inside a nix-shell
<ap29600> hello there, hope this is the right place for this, but i'm trying to get set up with haskell in nixos with vim, do you guys have any tips?
alp has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/JJYEB
pjt_014 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Patagonicus opened pull request #92915 → Revert "bashCompletion: speed-up test execution by using xdist" → https://git.io/JJYEz
<{^_^}> [nixpkgs] @vcunat merged pull request #91818 → gperftools: fix build on ARM → https://git.io/JJfDG
alp has quit [Ping timeout: 272 seconds]
mallox has quit [Quit: WeeChat 2.8]
cosimone_ is now known as cosimone
confus has quit [Remote host closed the connection]
<asymmetric> pbb: thanks, in my case i needed to use a here-string, then everything worked
<asymmetric> pbb++
<{^_^}> pbb's karma got increased to 2
mananamenos has quit [Remote host closed the connection]
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
Thra11 has joined #nixos
noudle has joined #nixos
philr_ has joined #nixos
philr has quit [Ping timeout: 264 seconds]
kleisli has quit [Ping timeout: 260 seconds]
<jackdk> I am trying to solve the following problem, as a thought experiment but maybe also as a project: I want to write a nix expression that specifies an attrset, where each element is a docker container. I would like to set CI such that pushing new versions of this expression to a repo causes rebuilds of changed containers, and pushes built containers to a registry somewhere
<jackdk> Hydra sounds pretty close to what I want, especially because then I get good caching of the unchanged bits, but the only notification stuff I can see in the manual is email notifications when the status of builds change. I feel like what I want is the ability to hook in post-build actions when the build finishes.
jakobrs has joined #nixos
<jakobrs> ,identify virt-bootstrap
<jackdk> Channels seem like they must do something similar, but I haven't yet found the documentation that describes how that works.
<patagonicus> jackdk: Why not a "classic" CI system, such as Travis or GitLab CI, that's triggered by pushes to the repo and then builds everything? At least for Gitlab CI I'm fairly confident that it's possible to set it up in a way that'll keep you the already built derivations between runs.
kleisli has joined #nixos
<jackdk> patagonicus: could work. I feel like putting all of /nix/store into cache might not be the best option, but I don't know what _is_ the best option
fendor has joined #nixos
turlando has joined #nixos
wavirc22 has joined #nixos
werner291 has joined #nixos
<jackdk> https://www.tweag.io/blog/2019-11-21-untrusted-ci/ looks pretty interesting. A post-build hook and a simple runner with Nix could be a good way to do this
asymptotically has joined #nixos
<jackdk> that's the "build caching" side, and the "push to registry" side can be done with standard CI tooling
<eyJhb> Should I update EVDI and DisplayLink seperately?
<eyJhb> I think it makes the most sense to update them together
<{^_^}> [nixpkgs] @DamienCassou merged pull request #91918 → vdirsyncer: 0.16.7 -> 0.16.8 → https://git.io/JJJoR
<{^_^}> [nixpkgs] @DamienCassou pushed 2 commits to master: https://git.io/JJYu0
bennofs has joined #nixos
<patagonicus> jackdk: That's a pretty neat article. Yeah, I was envisioning something like that. Throw in a cron job that deletes old stuff from the cache and your builders become really simple - just configure the cache, build the current commit, upload the result to the registry and build artifacts to the cache.
nikita` has joined #nixos
<jackdk> looks like `nix copy` can push to S3, so I might just be able to stick a lifecycle policy on the bucket. Will have to see how it stores built derivations.
<{^_^}> [nixpkgs] @freezeboy opened pull request #92916 → labelImg: 1.8.1 -> 1.8.3 → https://git.io/JJYuz
bennofs_ has quit [Ping timeout: 258 seconds]
civodul has joined #nixos
dermetfan has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @eyJhb opened pull request #92917 → evdi: 2020-02-22 -> 2020-04-16 → https://git.io/JJYuV
<{^_^}> [nixpkgs] @eyJhb opened pull request #92918 → displaylink: 5.2.14 -> 5.3.1 → https://git.io/JJYuw
<jackdk> thanks for the pointers patagonicus++; I will think about this more later
<{^_^}> patagonicus's karma got increased to 2
azure has joined #nixos
azure is now known as Guest28780
zanc has quit [Ping timeout: 246 seconds]
fendor has quit [Remote host closed the connection]
ap29600 has quit [Quit: leaving]
evils has quit [Quit: Lost terminal]
fendor has joined #nixos
evils has joined #nixos
<jakobrs> I'm trying to package a package that claims it needs static libc - what should I do in this case?
<jakobrs> I don't want to use pkgsStatic.glibc as it's not built by hydra if there's another option
<{^_^}> [nixpkgs] @jokogr merged pull request #92888 → caps2esc: 0.1.0 -> 0.1.3 → https://git.io/JJYIN
<{^_^}> [nixpkgs] @jokogr pushed 2 commits to master: https://git.io/JJYuQ
<jakobrs> Also it fails to build
xwvvvvwx- has joined #nixos
<jakobrs> ... nixpkgs.glibc.static
<bqv> wow
<bqv> Glibc fails to build and nobody cares. Static linking really is dead
xwvvvvwx has quit [Ping timeout: 246 seconds]
xwvvvvwx- is now known as xwvvvvwx
<jakobrs> glibc.static works though
<jakobrs> Is it considered bad to depend on packages in pkgsStatic in nixpkgs?
<Thra11> Most people doing static linking use musl in place of glibc, no?
<bqv> Its just a "you're on your own" situation I think
__monty__ has joined #nixos
<jakobrs> "ld returned 1 exit status" *Really* descriptive error message
<jakobrs> ... it's attempting to statically link to a dynamic shared object
<bqv> Well thats a bad plan
nek0 has quit [Remote host closed the connection]
FRidh has joined #nixos
<symphorien> bqv: static linking in pkgsStatic is based on musl, so no wonder glibc is not maintained
<bqv> Makes sense
nek0 has joined #nixos
Guest28780 is now known as zangi
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/JJYzc
<{^_^}> [nixpkgs] @vcunat merged pull request #92338 → lyx: 2.3.5.1 -> 2.3.5.2 → https://git.io/JJIsW
ixxie has quit [Quit: Lost terminal]
kleisli_ has joined #nixos
<gentauro> I just noticed (after a channel upgrade) that `libreoffice` spellchecker doesn't work anymore ...
<gentauro> anybody know how to fix that?
never_released_ has quit [Ping timeout: 256 seconds]
kleisli has quit [Ping timeout: 256 seconds]
never_released has joined #nixos
<jakobrs> ... the build tools are literally segfaulting ... I might just give up
jakobrs has left #nixos ["WeeChat 2.7.1"]
<bqv> Yikes
<bqv> Static linking seems pretty nuts these days though, on nixos
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 272 seconds]
knupfer1 is now known as knupfer
cyphase has quit [Ping timeout: 258 seconds]
rootatarch has joined #nixos
markus1189 has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #92919 → fontconfig_210: remove → https://git.io/JJYzH
<{^_^}> [nixpkgs] @primeos opened pull request #92920 → scons: 3.1.2 -> 4.0.0 → https://git.io/JJYzQ
cyphase has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
markus1189 has quit [Ping timeout: 264 seconds]
MmeQuignon has joined #nixos
markus1189 has joined #nixos
alp has joined #nixos
Heirlung has quit [Ping timeout: 258 seconds]
simba2 has quit [Ping timeout: 246 seconds]
freezeboy has joined #nixos
<freezeboy> Hi, just wondering, I just created some PRs to add programs / libs that I usually run in my overlay, and would love to see them merged, is it possible de do some peer review with somebody ? I will be able to test other PRs but not merge them myself
Heirlung has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #92921 → [20.03] fontconfig_210: mark as insecure → https://git.io/JJYgW
altnate has joined #nixos
<patagonicus> On the topic of PRs: I've made one the revert a commit and it's gotten approved pretty quickly. Is there something I need to do now or do I just wait for someone with write access to merge it?
_ris has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #92903 → nixos/networkd: correct DHCPv6 UseDNS field → https://git.io/JJYcM
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJYgz
<{^_^}> [nixpkgs] @flokli merged pull request #92915 → Revert "bashCompletion: speed-up test execution by using xdist" → https://git.io/JJYEz
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJYg2
<patagonicus> Ok, consider my question obsolete. :D
turion has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<{^_^}> [nixpkgs] @flokli closed pull request #92887 → liburing: fix cross compilation → https://git.io/JJYIS
EsperLily has quit [Remote host closed the connection]
knupfer1 is now known as knupfer
domogled has quit [Ping timeout: 265 seconds]
<bqv> ha
ap29600 has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #92823 → firefox{,-bin}: add 'mesa', for wayland/drm → https://git.io/JJmi2
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJYgQ
ap29600 has quit [Client Quit]
<{^_^}> [nixpkgs] @flokli merged pull request #73365 → firefox-wrapper: rename gdkWayland->forceWayland; always use libglvnd → https://git.io/JerBi
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JJYg7
hmpffff[m] has joined #nixos
jin__ has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #92781 → gtkwave: 3.3.104 -> 3.3.105 → https://git.io/JJmLq
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJY2f
jin__ has quit [Client Quit]
jin_ has joined #nixos
Pwnna has quit [Quit: Bye]
Pwnna has joined #nixos
cosimone_ has joined #nixos
jin_ has left #nixos [#nixos]
<{^_^}> [nixpkgs] @ciil opened pull request #92922 → atlassian-jira: 8.9.0 -> 8.10.0 → https://git.io/JJY2m
cosimone has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #92000 → platformio: Add udev rules to package output → https://git.io/JJUoY
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JJY2O
<{^_^}> [nixpkgs] @ciil opened pull request #92923 → atlassian-confluence: 7.5.1 -> 7.6.0 → https://git.io/JJY23
<{^_^}> [nixpkgs] @flokli closed pull request #91679 → platformio-udev-rules: init at 4.3.4 → https://git.io/JJePU
kleisli_ has quit [Ping timeout: 246 seconds]
<AlpineLlama> Yo I'm reading through the nix pills to get a hang of this configuration. while writing my own derivation I made a mistake in one of the source files "simple.c" (forgot a semicolon) which cause the build to fail. after correcting the file and saving however. I could not convince the same nix repl session I was in to reload the simple.c file.
<AlpineLlama> I ended up restarting the nix repl
<AlpineLlama> Is there a way to force reloading of a source file? or any other file that nix may have copied
altnate has quit [Quit: WeeChat 2.7.1]
<freezeboy> AlpineLlama, I think you can try to start the fetchPhase again ?
<{^_^}> [nixpkgs] @bolasblack opened pull request #92924 → Add package asdf-vm & fn-cli → https://git.io/JJY2g
FRidh has quit [Quit: Konversation terminated!]
rembo10 has quit [Quit: ZNC 1.8.1 - https://znc.in]
domogled has joined #nixos
rembo10 has joined #nixos
sigmundv has joined #nixos
<AlpineLlama> freezeboy: is that a command ?
<freezeboy> at least inside a nix-shell it should be propagated
<freezeboy> don't know inside repl ?
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
cosimone_ is now known as cosimone
<{^_^}> [nixpkgs] @etu opened pull request #92925 → php74: 7.4.7 -> 7.4.8 → https://git.io/JJYaI
<{^_^}> [nixpkgs] @rawkode opened pull request #92926 → gnomeExtensions.dash-to-panel: 31 -> 38 → https://git.io/JJYaL
<zangi> is there a better way to locate the location of a package (e.g. nixpkgs/pkgs/applications/editors/emacs for emacs) other than reading all-packages.nix?
<zangi> I want something like:
<zangi> Y
<zangi> > (import <nixpkgs> { }).path
<zangi> > :p (import <nixpkgs> { }).path
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo
<{^_^}> [nixpkgs] @etu opened pull request #92927 → php73: 7.3.19 -> 7.3.20 → https://git.io/JJYaZ
<pbogdan> > emacs.meta.position
<{^_^}> "/var/lib/nixbot/nixpkgs/master/repo/pkgs/applications/editors/emacs/default.nix:138"
<{^_^}> [nixpkgs] @etu opened pull request #92928 → php72: 7.2.31 -> 7.2.32 → https://git.io/JJYaB
<pbogdan> iirc there's also nix edit cli command
azure has joined #nixos
azure is now known as Guest25013
Guest25013 is now known as zanc
zangi has quit [Ping timeout: 246 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
Cicucci has joined #nixos
alp has joined #nixos
Cicucci_ has quit [Ping timeout: 272 seconds]
<bdju> a new minetest update came out in the last couple days, 5.3.0. can someone update the minetest package?
<{^_^}> [nixpkgs] @symphorien opened pull request #92929 → nixos/postgresql: check config file syntax at build time → https://git.io/JJYaF
<{^_^}> [nixpkgs] @flokli opened pull request #92930 → gerrit: 3.1.5 -> 3.2.2 → https://git.io/JJYax
zanc has quit [Ping timeout: 272 seconds]
zanc has joined #nixos
<freezeboy> bdju starting
<AlpineLlama> freezeboy: thanks man. couldn't find it at the moment. I'll just restart the repl when I mess up for the moment XD
NeoCron has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #92931 → ocamlPackages.lambdasoup: 0.6.3 → 0.7.1 → https://git.io/JJYVZ
alp has quit [Ping timeout: 272 seconds]
verdys has joined #nixos
<{^_^}> [nixpkgs] @freezeboy opened pull request #92932 → minetest: 5.2.0 -> 5.3.0 → https://git.io/JJYVE
domogled has quit [Quit: domogled]
domogled1 has joined #nixos
<freezeboy> bdju PR done, if you wish to test it, I simply built the package, no real other testing
orivej has quit [Ping timeout: 265 seconds]
alp has joined #nixos
<bdju> freezeboy: cool, thank you for that
domogled1 has quit [Ping timeout: 258 seconds]
<jackdk> freezeboy: I have some capacity to do a simple PR
<freezeboy> jackdk Great
<jackdk> by which I mean I'm going to sleep soon but could eyeball a simpler PR before I turn in
<{^_^}> [nixpkgs] @RaghavSood opened pull request #92933 → config: users-groups: fix mkChangedOptionModule for root password hash → https://git.io/JJYwn
<raghavsood> cole-h: I think I managed to fix the `initialHashedPassword` issue in the above PR ^
<freezeboy> oh ok, then #92932 can please also bdju or #92883 for which I have some other kde apps that are very simple too
<{^_^}> https://github.com/NixOS/nixpkgs/pull/92932 (by freezeboy, 21 minutes ago, open): minetest: 5.2.0 -> 5.3.0
<{^_^}> https://github.com/NixOS/nixpkgs/pull/92883 (by freezeboy, 20 hours ago, open): granatier: init at 19.12.3
<freezeboy> jackdk just tell me if there is a problem
<bdju> freezeboy: I'm actually a bit new to git... how do I test the PR?
<freezeboy> do you already have a nixpkgs clone ?
<bdju> not yet
<bdju> should I start with that?
<freezeboy> yep
<freezeboy> I would say, git clone https://github.com/nixos/nixpkgs
<freezeboy> then nix run nixpkgs.gitAndTools.hub
<freezeboy> to have a github specialized tool
Rusty1 has joined #nixos
<freezeboy> then hub pr checkout 92932
<freezeboy> to set the repository on that pr
<freezeboy> and you should be able to build minetest with "nix-build -A minetest"
<freezeboy> the result link should contain the bin/minetest
kleisli has joined #nixos
davidv7 has quit [Remote host closed the connection]
<bdju> sorry, was distracted by something else. I'll get working on this in a sec
ddellacosta has quit [Ping timeout: 272 seconds]
xwvvvvwx has quit [Remote host closed the connection]
xwvvvvwx- has joined #nixos
xwvvvvwx- is now known as xwvvvvwx
justan0theruser has quit [Ping timeout: 256 seconds]
davidv7 has joined #nixos
<bdju> freezeboy: thanks for the simple instructions. it seems to work!
<freezeboy> bdju Cool
bahamas has joined #nixos
<maralorn> When I have a default.nix which just returns a package and import it in another nix file. Do I have a way to get the nixpkgs used for that package just by inspecting it after importing?
sangoma has quit [Ping timeout: 260 seconds]
<jackdk> freezeboy: I'm going to sleep but I looked at your PRs. I don't know the KDE infra that well so I could be talking nonsense. HTH.
<clever> maralorn: not really, you would need to return a set that has both your pkg and the pkgs tree, or return an overlay and let something else assemble things
bahamas has quit [Client Quit]
<maralorn> clever: I'll revert to my old method of having default.nix and shell.nix being very small and just picking the right attribute from project.nix …
<eyJhb> I have this very very ugly expression `${ concatStringsSep "\n" (forEach (splitString jail.seccomp "\n") (x: ''seccomp_string: "''+x+''"''))}`, which should take a types.lines, split it by \n, add the seccomp stuff, then concat it with \n again.
<eyJhb> But it simply gives me a single empty line, instead of the three I expect. Any clues?
sheepfleece has joined #nixos
alp has quit [Ping timeout: 272 seconds]
zebrag has joined #nixos
noudle has quit []
turion has quit [Ping timeout: 246 seconds]
sheepfleece has quit [Quit: Lost terminal]
<freezeboy> jackdk thanks, I fixed the meta point, not sure for the version point
<{^_^}> [nixpkgs] @vcunat pushed 32 commits to staging-next: https://git.io/JJYr9
<{^_^}> [nixpkgs] @jtojnar merged pull request #92911 → gnome3.tali: 3.36.1 -> 3.36.4 → https://git.io/JJY4L
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to master « gnome3.tali: 3.36.1 -> 3.36.4 »: https://git.io/JJYr7
<{^_^}> [nixpkgs] @danieldk merged pull request #92546 → python3Packages.transformers: 3.0.1 -> 3.0.2 → https://git.io/JJL5S
<{^_^}> [nixpkgs] @danieldk pushed 3 commits to master: https://git.io/JJYr5
<{^_^}> [nixpkgs] @flokli closed pull request #92919 → fontconfig_210: remove → https://git.io/JJYzH
pamplemousse has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @flokli closed pull request #92921 → [20.03] fontconfig_210: mark as insecure → https://git.io/JJYgW
<{^_^}> [nixpkgs] @roberth opened pull request #92934 → dockerTools: Always set imageTag attribute → https://git.io/JJYrp
cole-h has joined #nixos
meh` has joined #nixos
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #92932 → minetest: 5.2.0 -> 5.3.0 → https://git.io/JJYVE
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JJYok
lorimer has joined #nixos
<freezeboy> fpletz @bdju
<{^_^}> [nixpkgs] @siriobalmelli closed pull request #92900 → python3Packages.mac_alias: init at 2.0.7 → https://git.io/JJYsV
<freezeboy> fpletz thanks, @bdju happy gaming
<bdju> :)
codygman has quit [Read error: Connection reset by peer]
user_0x58 has joined #nixos
codygman has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<{^_^}> [nixpkgs] @erictapen merged pull request #92225 → unifiStable: 5.13.29 -> 5.13.32 → https://git.io/JJkJa
<{^_^}> [nixpkgs] @erictapen pushed 3 commits to master: https://git.io/JJYoO
<{^_^}> [nixpkgs] @danieldk merged pull request #92817 → loop: 2018-12-04 -> 2020-07-08 → https://git.io/JJmwK
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJYoB
pamplemousse has quit [Ping timeout: 246 seconds]
<betaboon> Ericson2314: the dnsmasq-mailinglist-patch got a very friendly reply ... way to be good neighbours
zebrag has quit [Quit: Konversation terminated!]
kleisli_ has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #92935 → intel-media-driver: 2.1.1 -> 2.2.0 → https://git.io/JJYo6
kleisli has quit [Ping timeout: 260 seconds]
zebrag has joined #nixos
<{^_^}> [nixpkgs] @philandstuff opened pull request #92936 → yubikey-agent: init at 0.1.3 → https://git.io/JJYo9
emmanuel` has joined #nixos
<{^_^}> [nixpkgs] @RaghavSood opened pull request #92937 → ipfs-migrator: 1.5.1 -> 1.6.3 → https://git.io/JJYKn
<raghavsood> Is ofBorg down?
<cole-h> Yes.
justan0theruser has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0057be6ebcb (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
luna has joined #nixos
gulplante has joined #nixos
gulplante has quit [Client Quit]
emmanuel` has quit [Ping timeout: 265 seconds]
emmanuel` has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #91895 → Improve jupyter service → https://git.io/JJJsE
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/JJYKR
<{^_^}> [nixpkgs] @siriobalmelli opened pull request #92938 → python3Packages.biplist: init at 1.0.3 → https://git.io/JJYKg
johnny101m has quit [Read error: Connection reset by peer]
knupfer has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/aba048f0bf2 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
gulplante has joined #nixos
<{^_^}> [nixpkgs] @RaghavSood opened pull request #92939 → mage: 1.9.0 -> 1.10.0 → https://git.io/JJYKr
<raghavsood> cole-h: Btw, I managed to fix the initialHashedPassword issue in #92933
<{^_^}> https://github.com/NixOS/nixpkgs/pull/92933 (by RaghavSood, 2 hours ago, open): config: users-groups: fix mkChangedOptionModule for root password hash
<raghavsood> It does still break nixops, but only if you are actually trying to set a root password now, instead of breaking it always
<cole-h> raghavsood++ Good work! Thanks for getting back to me about it, too :P
<{^_^}> raghavsood's karma got increased to 2
<raghavsood> nixops sets the password to "
<raghavsood> !", which is equivalent to null in the config
<raghavsood> So if you overwrite it, you get errors about conflicting definitions
<raghavsood> I'll probably open a separate nixops issue for that
<cole-h> What if you `lib.mkForce` it?
<clever> raghavsood: i think the problem with initialHashedPassword and nixops, is that the machine boots once before you deploy
<clever> raghavsood: so for root, its no longer the initial boot when you deploy things
jakobrs has joined #nixos
pjhenning[m] has joined #nixos
<raghavsood> nixops adds an ssh key into the root account, as far as I can tell - as of release-1.7, it explicitly sets the root password to `!` in `hetzner.nix`, which is interpreted as `null` by the build process for shadow. You never actually login using a password, connections are always via public keys
<raghavsood> So it doesn't actually break nixops unless you try to specify a root password
<raghavsood> Which should be reasonably unlikely, but nevertheless, best file an issue in the event that someone tries that
<raghavsood> It actually might be limited to just the hetzner plugin
<raghavsood> I haven't checked the other plugins, but they could be doing similar stuff
<{^_^}> [nixpkgs] @siriobalmelli opened pull request #92940 → python3Packages.mac_alias: init at 2.0.7 → https://git.io/JJYKM
sangoma has joined #nixos
werner291 has quit [Quit: werner291]
<raghavsood> clever: you're right that it reboot during the initial install (at least for hetzner, I imagine it doesn't do that if you're deploying to a machine already running nixos). But since it controls the image it boots fully, I suspect the password it sets will persist anyways, unless you have a separate definition for the password after the initial
<raghavsood> build, or mutable users set and change it yourself
<{^_^}> [nixpkgs] @philandstuff opened pull request #92941 → doc: adding labels doesn't require commit rights → https://git.io/JJYK5
peelz has quit [Remote host closed the connection]
pamplemousse has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @jollheef opened pull request #92942 → python: jedi: 0.17.0 -> 0.17.1 → https://git.io/JJYKb
emmanuel` has quit [Ping timeout: 272 seconds]
luna has quit [Remote host closed the connection]
luna has joined #nixos
user_0x58 has quit [Ping timeout: 258 seconds]
dermetfan has quit [Ping timeout: 256 seconds]
<jakobrs> the nixos/xen module claims that it doesn't support EFI boot, but the Arch wiki claims Xen does.
<jakobrs> Is this just a matter of "Xen supports EFI boot, but nixos's xen module doesn't"?
<{^_^}> [nixpkgs] @Ma27 merged pull request #92925 → php74: 7.4.7 -> 7.4.8 → https://git.io/JJYaI
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJYKj
user_0x58 has joined #nixos
emmanuel` has joined #nixos
<jakobrs> I noticed that the Xen module requires GRUB while the Arch wiki doesn't even mention how to do it on grub (preferring systemd-boot)
<{^_^}> [nixpkgs] @Ma27 merged pull request #92706 → matrix-synapse: 1.15.2 -> 1.16.1 → https://git.io/JJqWu
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJY6U
<{^_^}> [nixpkgs] @Ma27 merged pull request #92927 → php73: 7.3.19 -> 7.3.20 → https://git.io/JJYaZ
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJY6T
<{^_^}> [nixpkgs] @Ma27 merged pull request #92928 → php72: 7.2.31 -> 7.2.32 → https://git.io/JJYaB
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJY6I
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
<{^_^}> [nixpkgs] @minijackson opened pull request #92943 → cargo-inspect: 0.10.1 -> 0.10.3 → https://git.io/JJY6Y
ddellacosta has joined #nixos
philr_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @siriobalmelli opened pull request #92944 → python3Packages.wheel: 0.33.6 -> 0.34.2 → https://git.io/JJY68
meh` has quit [Ping timeout: 265 seconds]
<evanjs> Alright, doing some debugging on some annoying Java stuff. Need debug symbols for libjli (JDK7).
<evanjs> 18.03 seems to have jdk7, but I haven't been able to enable debug symbols
gulplante has quit [Quit: WeeChat 2.7.1]
<evanjs> The expression for 8 seems to include support for such but is quite different from the expression for 7
<cole-h> You might be looking for `pkgs.enableDebugging`
meh` has joined #nixos
<evanjs> Is that a thing? I tried separateDebugInfo pr whatever
<evanjs> Any idea how long it's been in tree?
<cole-h> ¯\_(ツ)_/¯
<evanjs> Welp. Hopefully before 18.09...
<evanjs> $ nix-build -E 'with import <nixpkgs> {}; enableDebugging socat'
<evanjs> Alright, that sounds easy enough to try
dingenskirchen has quit [Quit: dingenskirchen]
<evanjs> With a `-f channel:nixos-18.03` and jdk7 in my case
emmanuel` has quit [Ping timeout: 256 seconds]
jakobrs has quit [Quit: WeeChat 2.7.1]
justan0theruser has quit [Ping timeout: 246 seconds]
dingenskirchen has joined #nixos
<evanjs> Mmyup. Same thing as before, more or less
dingenskirchen has quit [Client Quit]
<evanjs> "openjdk> >&2 echo "*** This OS is not supported:" `uname -a`; exit 1;"
<evanjs> Which is solved in 8.nix
<evanjs> Adding that and rebuilding, but I figure it's going to complain about OBJCOPY or whatever again
<{^_^}> [nixpkgs] @petabyteboy merged pull request #92837 → jetbrains.jdk: 11.0.6-b774 -> 11.0.7-b64 → https://git.io/JJmHd
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @liff to master « jetbrains.jdk: 11.0.6-b774 -> 11.0.7-b64 (#92837) »: https://git.io/JJY6X
user_0x58 has quit [Remote host closed the connection]
user_0x58 has joined #nixos
fresheyeball has quit [Ping timeout: 272 seconds]
dingenskirchen has joined #nixos
user_0x58 has quit [Client Quit]
fresheyeball has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy pushed to master « coreboot-utils: 4.11 -> 4.12 »: https://git.io/JJY69
<{^_^}> [nixpkgs] @eljojo opened pull request #92945 → Bump Roon-Server to latest version and fix bug → https://git.io/JJY6Q
<evanjs> Okay, maybe I need to readdress to buildInputs and see if the versions with debug use anything more than 7 does right now.
<{^_^}> [nixpkgs] @petabyteboy pushed to master « mumble: 1.3.1 -> 1.3.2 »: https://git.io/JJY6j
emmanuel` has joined #nixos
<evanjs> Alternatively, maybe I actually try and retrofit the expression for 8 to work with 7. I wonder how much effort that will require...
<evanjs> ^ thats what happens when you try to edit a message in the middle of thought too much. Lol
turion has joined #nixos
<evanjs> AH!
<evanjs> it didn't say no debug symbols! :D
<evanjs> nbathum: ^ :D
<evanjs> let's see if it works with the jli I have, now...
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3d9c143b772 (from 57 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
emmanuel` has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @petabyteboy pushed to master « tipp10: 3.1.0 -> 3.2.0 »: https://git.io/JJYin
<{^_^}> [nixpkgs] @petabyteboy pushed to master « uci: unstable-2020-01-27 -> unstable-2020-04-27 »: https://git.io/JJYiC
<{^_^}> [nixpkgs] @petabyteboy pushed to master « netifd: unstable-2020-01-18 -> unstable-2020-07-11 »: https://git.io/JJYi4
<evanjs> Darn. Ghidra still doesn't get much out of it, either
johnny101m has joined #nixos
emmanuel` has joined #nixos
nabataeus has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e3d95b9ccfd (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
o1lo01ol1o has quit [Remote host closed the connection]
<nabataeus> I'm new to Nix here, but I wanted to ask, what is the use for `~/.config/nixpkgs/config.nix' when `/etc/configuration.nix' exists? Or is it just used for Nix, and not NixOS
<Guest49640> ~/.config/nixpkgs/config.nix is for nix-env etc, /etc/nixos/configuration.nix is for NixOS ( and also supports configuring nix-env, etc )
Guest49640 is now known as AmandaC
justan0theruser has joined #nixos
<nabataeus> Oh I see, so if I made changes to `config.nix', will I have to `nixos-rebuild' or something?
emmanuel` has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #85074 → boot.initrd.luks: remove x86_64/i586 AES modules → https://git.io/JJYiF
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JJYib
<clever> nabataeus: nixos-rebuild ignores config.nix by default
<bbigras> Is it possible to disable `vendorSha256` with `buildGoModule`? I would like to build a go project using niv and github actions and `vendorSha256` would very likely prevents the PRs from building.
<cole-h> ~/.config/nixpkgs/config.nix is for nixpkgs configuration for your user. e.g. that configuration will affect nix-env or home-manager stuff, but will not affect your system configuration
ap29600 has joined #nixos
<nabataeus> clever: so what's the option to enable it?
drakonis has joined #nixos
<clever> nabataeus: nixpkgs.config = import /home/clever/.config/nixpkgs/config.nix;
<clever> nabataeus: nixos-rebuild only obeys nixpkgs.config in configuration.nix, but nothing stops you from importing config.nix
<evanjs> nabataeus: yeah, I'll need to use ~/.config/nixpkgs when I'm not on NixOS, like on WSL (Windows Subsystem for Linux)
<evanjs> when I'm on NixOS, I need to use /etc/configuration.nix
<evanjs> (I use home-manager on WSL, which helps a ton)
<clever> evanjs: you can also do `nixpkgs.config = import ./config.nix;` in configuration.nix, to split the config out, and be able to reuse it
<nabataeus> clever: Ah thanks
<evanjs> yeah, my config is heavily based on infinisil's, so it's realllllly easy to do so lol
knerten has joined #nixos
<evanjs> just add another machine config, and I only need a ~10 line expression
<evanjs> of course, it's a little different with hm
o1lo01ol1o has joined #nixos
zupo has joined #nixos
<evanjs> splitting out the nixos module for home-manager was more annoying
<nabataeus> clever: Doesn't `nixpkgs.config` enable it for all users though? Just wondering
<clever> nabataeus: nixpkgs.config only affects what nixos-rebuild is building
<clever> nabataeus: if any user calls nix-build directly, they will still use their own config.nix file
<nabataeus> That's very cool :D
knerten1 has quit [Ping timeout: 256 seconds]
lunaa has joined #nixos
lunaa has quit [Max SendQ exceeded]
lunaa has joined #nixos
<evanjs> actually, the output of objdump --debugging is _very_ verbose. I think that means it worked?
lunaa has quit [Max SendQ exceeded]
o1lo01ol1o has quit [Ping timeout: 264 seconds]
lunaa has joined #nixos
lunaa has quit [Max SendQ exceeded]
luna has quit [K-Lined]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/16f45c1a00b (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
kleisli_ has quit [Ping timeout: 256 seconds]
<evanjs> I guess I was expecting a bit more... but, well, shouldn't be too surprised :D
<{^_^}> [nixpkgs] @petabyteboy opened pull request #92947 → openjdk: build with empty pre-version → https://git.io/JJYPm
ap29600 has quit [Quit: Lost terminal]
pamplemousse has quit [Ping timeout: 256 seconds]
pamplemousse has joined #nixos
werner291 has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 4 commits to release-20.03: https://git.io/JJYP1
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/f70a54893e5 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
drakonis has quit [Quit: WeeChat 2.8]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
<evanjs> derp. had to actually use that in my build lol
<evanjs> "Breakpoint 2 at 0x7ffff7d9e850: file ../../../src/solaris/bin/java_md_common.c,"
<evanjs> WOO!
<evanjs> nbathum: ^
<evanjs> now I just need to see find that directory XD
<evanjs> anybody know how nix-index works in terms of targets?
<evanjs> or rather... does it scan anything but out, lib, doc, and so on?
o1lo01ol1o has quit [Ping timeout: 264 seconds]
kleisli_ has joined #nixos
txt_file has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy opened pull request #92949 → jetbrains: update → https://git.io/JJYXq
noudle has joined #nixos
codygman has quit [Read error: Connection reset by peer]
pamplemousse has quit [Ping timeout: 256 seconds]
codygman has joined #nixos
codygman has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/50bf24bac4f (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
codygman has joined #nixos
pamplemousse has joined #nixos
fpletz has quit [Quit: ^D]
<txt_file> I am trying to create an image with nixos-generators but it tells me that /buid has the wrong permissions. https://paste.debian.net/1156044/
<txt_file> Problem is that I do not find any /build directory
<{^_^}> [nixpkgs] @samuelgrf opened pull request #92950 → oh-my-zsh: patch out functions that don't work on Nix → https://git.io/JJYX3
<freezeboy> txt_file nix builds inside a sandbox where some folder in /tmp is bound mounter as /build
<clever> txt_file: /build/ only exists in the sandbox the build is happening under
<cole-h> You need to update your nixpkgs, this issue was fixed a couple days ago: https://github.com/NixOS/nixpkgs/commit/8d05772134f17180fb2711d0660702dae2a67313
<txt_file> I installed 20.03 a few hours ago
<cole-h> It's only present on unstable
<txt_file> via the installer-script
<txt_file> :-(
<cole-h> (And so is the permissions change, so you're using unstable somehow)
orivej_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @danieldk merged pull request #92943 → cargo-inspect: 0.10.1 -> 0.10.3 → https://git.io/JJY6Y
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJYXZ
<evanjs> cole-h: I still had to apply the patches I mentioned before (eg disable OS check for hotspot), but I'm going to assume `enableDebugging` is what finally allowed the build to succeed. Thank you!!
<evanjs> Though it doesn't seem to modify buildInputs or etc. bah. Either way 😃
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/77d5b41b051 (from 32 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<cole-h> enableDebugging shouldn't "fix" a build, but instead make it easily debuggable (by keeping debug symbols, if present)
asymptotically has quit [Quit: Leaving]
<freezeboy> if anyone is willing to review some easy (updates) pr, I have some currently pending
<evanjs> I got hit by that one, too 😃
<evanjs> Was totally not confused at all...
<evanjs> cole-h: right yeah that's what I was confused about
<evanjs> The only way I can think of that it could fix it, is if some debug options I enabled were expecting symbols to already be generated or something 🤷‍♂️
<evanjs> It's more likely that I just finally got the right combination of changes to properly build with debug info, enableDebugging aside
<{^_^}> [nixpkgs] @marsam opened pull request #92951 → jetbrains-mono: 1.0.6 -> 2.000 → https://git.io/JJYXV
<{^_^}> [nixpkgs] @marsam merged pull request #92905 → python27Packages.pillow: fix build on darwin → https://git.io/JJYWV
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJYXK
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c87c474b17a (from 15 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
waleee-cl has quit [Quit: Connection closed for inactivity]
gentauro has quit [Quit: leaving]
gentauro has joined #nixos
<txt_file> I manually inserted the change from https://github.com/NixOS/nixpkgs/commit/8d05772134f17180fb2711d0660702dae2a67313 and it seems to be working.
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #92922 → atlassian-jira: 8.9.0 -> 8.10.0 → https://git.io/JJY2m
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JJYX9
domogled has joined #nixos
drewr has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #92951 → jetbrains-mono: 1.0.6 -> 2.000 → https://git.io/JJYXV
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJYX7
<{^_^}> [nixpkgs] @txt-file opened pull request #92952 → nixos make-disk-image: fix permissions of /build → https://git.io/JJYX5
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #92923 → atlassian-confluence: 7.5.1 -> 7.6.0 → https://git.io/JJY23
<{^_^}> [nixpkgs] @fpletz pushed commit from @ciil to master « atlassian-confluence: 7.5.1 -> 7.6.0 (#92923) »: https://git.io/JJYXF
<evanjs> cole-h: lol it seems to be ~2x as large with it on so :shrugs: ah well. as long as it works. now to just work out the right dir to add to gdb (already got the sources)
<cole-h> Yeah, debug symbols are large.
acarrico has quit [Ping timeout: 264 seconds]
<evanjs> I mean, they better be. I'm not using Ghidra because I _want_ to lol
slack1256 has joined #nixos
dermetfan has quit [Ping timeout: 256 seconds]
<eyJhb> Any good way to espace this line `ls -l /dev/video* | awk '{print "--bindmount "$NF":"$NF}'` when I need to use it in a string, either with " or ''
kreyren has quit [Remote host closed the connection]
kreyren has joined #nixos
shabius_ has quit [Quit: Leaving]
<infinisil> ,escape
<{^_^}> Usage: ,escape <text> to show how to escape the given text in Nix
<infinisil> eyJhb: ^
o1lo01ol1o has joined #nixos
<cole-h> ,escape ls -l /dev/video* | awk '{print "--bindmount "$NF":"$NF}'
<{^_^}> Escape this in '' strings with: ls -l /dev/video* | awk '{print "--bindmount "$NF":"$NF}'
<{^_^}> Escape this in " strings with: ls -l /dev/video* | awk '{print \"--bindmount \"$NF\":\"$NF}'
<{^_^}> [nixpkgs] @etu opened pull request #92953 → php.packages.phpstan: 0.12.25 -> 0.12.32 → https://git.io/JJYXj
<{^_^}> [nixpkgs] @etu opened pull request #92954 → php.packages.composer: 1.10.6 -> 1.10.8 → https://git.io/JJY1e
<eyJhb> Pfff, showoff
<eyJhb> But nice, thanks!
<infinisil> :P
lopsided98 has quit [Quit: Disconnected]
<{^_^}> [nixpkgs] @etu merged pull request #92801 → home-assistant: fix zha in home-assistant → https://git.io/JJm4Z
<{^_^}> [nixpkgs] @etu pushed 9 commits to master: https://git.io/JJY1q
<{^_^}> [nixpkgs] @etu closed pull request #88715 → home-assistant: fix zha in home-assistant → https://git.io/Jfa2V
lopsided98 has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #92895 → python37Packages.voluptuous-serialize: 2.3.0 -> 2.4.0 → https://git.io/JJYms
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/JJY1c
alp has joined #nixos
<evanjs> what's the best way to override a _single_ item in a list in a nix expression via overrideAttrs or etc?
<evanjs> trying to override a makeFlag in this case
shabius has joined #nixos
shabius has quit [Max SendQ exceeded]
shibboleth has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5ca87e25361 (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @Ma27 pushed to master « gitea: 1.12.1 -> 1.12.2 »: https://git.io/JJY10
<duairc> I have two questions about NixOS containers
<duairc> 1. Is it possible to refer to a host config value from inside the container's configuration?
<duairc> 2. Is it possible to have containers within containers?
<freezeboy> 2. nope, they are classic containers like docker lxc, and all
<evanjs> maybe I can just append it and then remove the old element? :P
<freezeboy> 1. I dont think so
<freezeboy> evanjs if you just want to replace one value I suppose yes
<evanjs> freezeboy: yeah that's all I'm really trying to do right now *shrugs*
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #92955 → home-assistant: Fix dependency restriction → https://git.io/JJY1Q
<freezeboy> evanjs package.overrideAttrs (o: { makeFlags = (lib.remove "old-value" o.makeFlags);
dingenskirchen1 is now known as dingenskirchen
<freezeboy> evanjs package.overrideAttrs (o: { makeFlags = (lib.remove "old-value" o.makeFlags) ++ "new-value"; })
<evanjs> makeFlags = opkgs.stdenv.lib.lists.remove "FULL_DEBUG_SYMBOLS=0" (o.makeFlags ++ [ "FULL_DEBUG_SYBOLS=1" ]);
<evanjs> yup. basically what I did
<evanjs> mmmm old nixpkgs channels lol
<evanjs> Luckily I didn't have to go far back enough to break what I'm trying to do
<evanjs> my experience with crossPkgs was not as pleasant :D
dingenskirchen has quit [Client Quit]
dingenskirchen has joined #nixos
<freezeboy> I guess... even though it is a surprisingly good system compared to other cross compilation methods i tried
o1lo01ol1o has quit [Ping timeout: 265 seconds]
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
<cole-h> evanjs: s/stdenv.lib/lib/
dingenskirchen has quit [Read error: Connection reset by peer]
dingenskirchen has joined #nixos
dingenskirchen has quit [Client Quit]
dingenskirchen1 has joined #nixos
<evanjs> cole-h: yeah, opkgs is 18.03, so I wasn't sure if it would break anything
<cole-h> > pkgs.stdenv.lib == pkgs.lib
<{^_^}> true
<evanjs> isn't it like, different for crossPkgs or something tho?
<cole-h> ?
dingenskirchen1 is now known as dingenskirchen
<cole-h> From my understanding, lib is pure Nix, so how would it differ between architectures?
<evanjs> idk, people are always telling me to import stdenv and use lib from there. Unless I'm misunderstanding something
<cole-h> EW
<cole-h> Ew*
<evanjs> yeah I mean that's mostly what I see in tree, too
<evanjs> tldr-idk but yeah, lists.remove works fine as I was already doing `with stdenv.lib;`
<cole-h> stdenv and lib aren't related, so I strongly prefer using `lib` over `stdenv.lib`. I don't know where `stdenv.lib` came from.
<{^_^}> [nixpkgs] @lopsided98 opened pull request #92957 → qgroundcontrol: 4.0.8 -> 4.0.9 → https://git.io/JJYMc
asymptotically has joined #nixos
davidv7 has quit [Quit: Konversation terminated!]
<evanjs> cole-h: ah I think I found the other thing. In the last few builds, it _was_ still complaining about OBJCOPY, but only via INFO, and wasn't failing or anything
<evanjs> OBJCOPY :P
<evanjs> what the heckkk "INFO: no objcopy cmd found so cannot create .debuginfo files. You may need to set ALT_OBJCOPY."
Ashy has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @lopsided98 opened pull request #92958 → console-bridge: 1.0.0 -> 1.0.1 → https://git.io/JJYMz
pamplemo1sse has joined #nixos
<evanjs> "For a long time I thought I had to use stdenv.lib because it had something to do with cross compilation or whatever."
<evanjs> Thank you lol
<evanjs> Idk where I got it, either XD
waleee-cl has joined #nixos
<infinisil> Conventions, conventions everywhere!
slack1256 has quit [Remote host closed the connection]
<evanjs> relevant: https://xkcd.com/927/
kleisli_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dywedir merged pull request #92906 → stig: 0.11.0a -> 0.11.2a0 → https://git.io/JJYW7
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JJYMQ
<{^_^}> [nixpkgs] @jtojnar merged pull request #92958 → console-bridge: 1.0.0 -> 1.0.1 → https://git.io/JJYMz
<{^_^}> [nixpkgs] @jtojnar pushed commit from @lopsided98 to master « console-bridge: 1.0.0 -> 1.0.1 »: https://git.io/JJYMb
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92960 → vttest: 20200420 -> 20200610 → https://git.io/JJYDf
knupfer has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<evanjs> infinisil++ tho
<{^_^}> infinisil's karma got increased to 319
<evanjs> need to save that
<mac10688> Does anyone know how to install haskell language server on nixos? There's not a package for it so I have to build it locally if I want to use it
<{^_^}> haskell/haskell-language-server#122 (by spacekitteh, 7 weeks ago, open): Nix installation?
sigmundv has quit [Read error: Connection reset by peer]
<mac10688> infinisil: thanks! I'll read through this. This didn't show up on my google search
sigmundv has joined #nixos
<evanjs> I see it in my packages rn
<evanjs> nix eval -f channel:nixos-unstable haskellPackages.haskell-language-server.version -> 0.1.0.0
<{^_^}> [nixpkgs] @lopsided98 opened pull request #92961 → stdenv: correctly make `stdenv.system` refer to the host platform → https://git.io/JJYD0
<evanjs> mac10688: there is also an online package search that includes the latest stable and nixpkgs-unstable channels -- https://nixos.org/nixos/packages.html?channel=nixpkgs-unstable&query=haskell-language-server
dermetfan has joined #nixos
<mac10688> yeah that search comes back empty for me
<evanjs> (permalink)
<mac10688> i tried running the nix eval command but it says - is unrecognized flag. I'll keep messing with it
<evanjs> oh okay
<evanjs> the command is just `nix eval -f channel:nixos-unstable haskellPackages.haskell-language-server.version` btw
<mac10688> oh cool! it downloaded something. I'm not sure what it did but it seems promising lol
<evanjs> yeah it needs to download the unstable channel in order to evaluate things
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #92961 → stdenv: correctly make `stdenv.system` refer to the host platform → https://git.io/JJYD0
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/JJYDr
<evanjs> you can use tab completion (if available) and see what other channels are available
<evanjs> stuff on your system will start with < (e.g. <nixos> or <nixpkgs>), etc
<mac10688> ok, I'll consider that. I thought the only channels I would be interested in are stable and unstable and mostly unstable for this since it seems to be bleeding edge
<mac10688> I'm glad smart people are trying to figure out how to make this a package because I don't have a clue
o1lo01ol1o has joined #nixos
shibboleth has quit [Remote host closed the connection]
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
<mac10688> ah the website has an issue with caching. That's why my search on unstable branch doesn't show me results I expect
<{^_^}> [nixpkgs] @flokli merged pull request #91232 → systemd: Allow setting the transient hostname via DHCP → https://git.io/JfNBA
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging: https://git.io/JJYD9
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @srhb merged pull request #92482 → mixxx: 2.2.3 -> 2.2.4 → https://git.io/JJL4F
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JJYDp
<jtojnar> any idea why would `sudo nixos-rebuild switch --flake $PWD#kaiser` create boot entry while `nix build $PWD#nixosConfigurations.kaiser.config.system.build.toplevel && sudo result/bin/switch-to-configuration switch` not?
<jtojnar> both return 0 and switch to that configuration
cosimone has quit [Quit: Quit.]
<evanjs> mac10688: ohhh that makes sense. clearing your cache works, then, I'm assuming? or did you mean server-side?
shibboleth has joined #nixos
<pbogdan> jtojnar: does the latter update your system profile (/nix/var/nix/profiles/system)?
cosimone has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #87052 → hwdata: 0.316 -> 0.335 → https://git.io/JfZ4t
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JJYyY
<cole-h> Notice: ofborg evaluators and x86_64-linux builders are back online. The evaluation queue is huge (~75), so it will take a bit to catch up.
<srhb> cole-h: Cheers :)
<jtojnar> pbogdan does not seem to
<bqv> cole-h: what browser do you use?
<cole-h> bqv: firefox-nightly-bin from the Mozilla overlay.
<bqv> i see
<bqv> (not applicable for my curiosity then)
knupfer has quit [Ping timeout: 256 seconds]
<infinisil> jtojnar: Boot entries are generated from the system generations
<infinisil> So you'll have to add a generation entry with nix-env first
pamplemo1sse has quit [Ping timeout: 258 seconds]
<pbogdan> sudo nix-env -p /nix/var/nix/profiles/system --set ./result && sudo ./result/bin/switch-to-configuration switch
<{^_^}> [nixpkgs] @srhb merged pull request #92931 → ocamlPackages.lambdasoup: 0.6.3 → 0.7.1 → https://git.io/JJYVZ
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JJYyB
<pbogdan> (I think)
<jtojnar> oh, right I missed that line in nixos-rebuild
<jtojnar> thanks, pbogdan and infinisil
<pbogdan> :)
cosimone has quit [Quit: Quit.]
dermetfan has quit [Ping timeout: 272 seconds]
cosimone has joined #nixos
mystfox has quit [Ping timeout: 272 seconds]
palo has quit [Quit: WeeChat 2.7.1]
palo has joined #nixos
capt_zap_ has quit [Read error: Connection reset by peer]
proofofkeags has joined #nixos
capt_zap_ has joined #nixos
dermetfan has joined #nixos
karavan has joined #nixos
cosimone has quit [Quit: Quit.]
fresheyeball has quit [Ping timeout: 272 seconds]
fresheyeball has joined #nixos
<karavan> !quit
dermetfan has quit [Ping timeout: 246 seconds]
iyzsong has quit [Read error: Connection reset by peer]
<virus_dave> Anyone can point me towards docs on how nixos containerization works under the hood? Is it via LXC ?
<{^_^}> [nixpkgs] @gnidorah opened pull request #92962 → openxray: 558 -> 730 → https://git.io/JJYSf
karavan has quit [Quit: WeeChat 2.7.1]
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #92899 → randomx: 1.1.7 -> 1.1.8 → https://git.io/JJYOd
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JJYSJ
pamplemousse has quit [Ping timeout: 272 seconds]
glowpelt has joined #nixos
pamplemousse has joined #nixos
seanparsons has quit [Quit: ZNC 1.7.5 - https://znc.in]
<flokli> virus_dave: it's systemd-nspawn
<virus_dave> yup, _just_ foudn that also. Thanks :)
seanparsons has joined #nixos
<{^_^}> [nixpkgs] @veprbl pushed commit from @framp to release-20.03 « PerconaToolkit: use shortenPerlShebang (#91921) »: https://git.io/JJYSk
<{^_^}> [nixpkgs] @srhb opened pull request #92963 → [20.03]: haskellPackages.lambdabot: Drop broken overrides → https://git.io/JJYSI
knupfer has joined #nixos
asymptotically has quit [Quit: Leaving]
<manveru> ,locate bin uuidgen
<{^_^}> Found in packages: toybox, libuuid.bin, utillinux.bin
excelsiora has quit [Read error: Connection reset by peer]
kleisli_ has joined #nixos
turion has quit [Ping timeout: 272 seconds]
excelsiora has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/aca3de5c13d (from 50 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
parsnip is now known as parsnip2
parsnip2 is now known as parsnip0
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
knupfer has quit [Quit: knupfer]
<{^_^}> [nixpkgs] @veprbl pushed commit from @dylex to release-20.03 « texlive.bin: fix poppler compatibility patch urls (#91890) »: https://git.io/JJYSg
knupfer has joined #nixos
<eyJhb> Uhhh, new unstable
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
pamplemo1sse has joined #nixos
knupfer has joined #nixos
<yurb> Is it normal that the nixos-20.03 channel has alpha version of Audacity? (It warns on startup and the version is reported as "Audacity 2.3.3-alpha-Jan 1 1970")
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<eyJhb> Weird, unstable has 2.4.1
<eyJhb> I am sure it can be backported if it is yurb
<txt_file> 2.3.3 is listed as normal release on https://github.com/audacity/audacity/tree/Audacity-2.3.3
<{^_^}> audacity/audacity#421 (by dvzrv, 21 weeks ago, closed): 2.3.3 has been retagged
<yurb> txt_file: yeah, it's weird - the version in nixos-20.03 is simply 2.3.3, nothing fancy
<cole-h> Need to update to the hash of the new tag, probably
<{^_^}> [nixpkgs] @lopsided98 opened pull request #92964 → nixos/stage-1: fix initrd secrets with custom compressor → https://git.io/JJYSa
<yurb> cole-h: this is downloaded from a tarball, not from git - does it mean the tarball is wrong or somehow it is cached and the hash still matches? https://github.com/NixOS/nixpkgs/blob/nixos-20.03/pkgs/applications/audio/audacity/default.nix
<cole-h> It's cached
<cole-h> Meaning the hash is matching the old, poorly-tagged version.
<yurb> I see, so then I'll do a PR I guess
<gchristensen> ouch
<fresheyeball> so I am working on something that is using nix-gargoyle-postgresql
<fresheyeball> and that bit works and opens psql for a db in a local folder
<{^_^}> [nixpkgs] @flokli merged pull request #92789 → ocrmypdf: 9.8.2 -> 10.2.0 → https://git.io/JJmOd
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JJYSw
<fresheyeball> but I really want this db in my normal nix posgres service
<{^_^}> [nixpkgs] @rawkode opened pull request #92965 → yubikey-agent: init at 0.1.3 → https://git.io/JJYSr
<fresheyeball> anyone know how to do a dump from a postgres db folder?
<fresheyeball> this is very backward to me
<gchristensen> I think you have to run postgres the db to dump
<fresheyeball> well pg_dump points at my normal postgres service
<fresheyeball> I don't know how to interact with a local db folder
sangoma has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @f4814 opened pull request #92966 → bpm-tools: Specify dependencies and wrap executables → https://git.io/JJYSX
noudle has quit []
iyzsong has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @flokli merged pull request #91424 → nixos/restic: Add rclone options → https://git.io/JfhvN
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/JJYSy
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
<{^_^}> [nixpkgs] @flokli closed pull request #86486 → nixosTests: re-enable networking tests → https://git.io/Jf3JC
andymandias has joined #nixos
iyzsong has joined #nixos
aw has joined #nixos
spacefrogg has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aw has quit [Remote host closed the connection]
spacefrogg has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 260 seconds]
aw has joined #nixos
spacefrogg has joined #nixos
pamplemo1sse has quit [Ping timeout: 264 seconds]
Czen1 is now known as Czen
proofofkeags has quit [Remote host closed the connection]
NeoCron has quit [Ping timeout: 256 seconds]
<bbigras> Any tricks to test if the `nativeBuildInputs` vs `buildInputs` deps are set correctly? Anything like nix-shell --pure that could show me one dep is not required only at runtime?
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @sikmir opened pull request #92967 → python3Packages.gpxpy: 1.3.5 -> 1.4.2 → https://git.io/JJY9q
NeoCron has joined #nixos
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
proofofkeags has joined #nixos
<yurb> Struggling with updating the hash for audacity 2.3.3, somehow when building the hash doesn't match what `nix-prefetch-url` generated: https://dpaste.org/8umW
<yurb> ...nor what was in `default.nix` before
<bbigras> maybe you should convert it to fetchFromGithub. It's supposed to be used according to the guidelines I think
<yurb> bbigras: thanks, I'll try
<cole-h> ,tofu yurb
<{^_^}> yurb: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<clever> yurb: fetchzip matches to `nix-prefetch-url --unpack`
<cole-h> ^
<yurb> clever: I see, that's good to know
<{^_^}> [nixpkgs] @flokli merged pull request #92879 → python3Packages.glasgow: unstable-2020-02-08 -> unstable-2020-06-29 → https://git.io/JJYkW
<bbigras> ∿ und̷e̷l̷ě̷t̷e̷d̷: you're welcome
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JJY9W
<bbigras> > The most appropriate function should be used (e.g. packages from GitHub should use fetchFromGitHub).
<bbigras> but maybe it's only for new packages ¯\_(ツ)_/¯
<{^_^}> error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):319:1
<mac10688> evanjs: sorry for the delay. I had to lie down. I don't know what the cache problem is about. Someone diagnoses it at the bottom of of the issues linked earlier. I had to open private browser to get correct results.
zupo has joined #nixos
pbb has quit [Quit: No Ping reply in 210 seconds.]
cr4y1 has joined #nixos
pbb has joined #nixos
EsperLily has joined #nixos
tilcreator has quit [Quit: ZNC 1.7.5 - https://znc.in]
<samueldr> bbigras: the published source tarballs are more appropriate than a git snapshot
<samueldr> bbigras: this is the subtle difference AFAIUI, this is the source tarball as released by the audacity devs, but hosted on github
NeoCron has quit [Ping timeout: 256 seconds]
<samueldr> (though it looks like here it's just a source snapshot from github, so the point is half-moot)
<bbigras> oh. it's not an automatic tarball generated by github like it is normally?
<samueldr> I just looked, in "releases" on github you can attach additional assets
<samueldr> but they don't
<samueldr> in that specific case both are fine I gues
<samueldr> guess*
meh` has quit [Ping timeout: 272 seconds]
tilcreator has joined #nixos
<samueldr> both are, in this instance I had assumed wrongly
<bbigras> oh gotcha
hoijui has quit [Ping timeout: 256 seconds]
Ashy has joined #nixos
<clever> bbigras: i cant remember the name of the flag, but there is one to just not put buildInputs into $PATH, and not link to nativeBuildInputs
<clever> bbigras: but a simpler option might be to just try and cross-compile it, via pkgs.pkgsCross
shibboleth has quit [Ping timeout: 240 seconds]
shibboleth has joined #nixos
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @veprbl opened pull request #92968 → python2Packages.numpy: fix build on darwin → https://git.io/JJYHY
fresheyeball has quit [Ping timeout: 256 seconds]
simba2 has joined #nixos
fresheyeball has joined #nixos
zanc has quit [Read error: Connection reset by peer]
zanc has joined #nixos
growpotkin has joined #nixos
civodul has quit [Ping timeout: 272 seconds]
Ashy has quit [Quit: WeeChat 1.9.1]
<cole-h> clever: bbigras:`strictDeps = true;` IIRC
<cole-h> oops
<cole-h> bbigras: ^
<bbigras> cole-h: thank you very much. I'll try
<bbigras> cole-h++
<{^_^}> cole-h's karma got increased to 82
Ashy has joined #nixos
cr4y1 has quit [Ping timeout: 256 seconds]
kleisli_ has quit [Ping timeout: 260 seconds]
parsnip0 is now known as parsnip
fendor_ has joined #nixos
growpotkin has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/09b9d4d612b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
fendor has quit [Ping timeout: 256 seconds]
fresheyeball has quit [Ping timeout: 256 seconds]
growpotkin has joined #nixos
fresheyeball has joined #nixos
fendor_ has quit [Remote host closed the connection]
MmeQuignon has quit [Ping timeout: 272 seconds]
alexherbo2 has quit [Ping timeout: 260 seconds]
nikita` has quit [Quit: leaving]
werner291 has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5ca87e25361 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
Rusty1 has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
grfn is now known as owothia`
est31 has quit [Remote host closed the connection]
owothia` is now known as owothia
est31 has joined #nixos
owothia is now known as grfn
<{^_^}> [nix] @Ericson2314 opened pull request #3801 → Constant space `addToStoreFromDump` and deduplicate code → https://git.io/JJYQ2