worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || 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-inf
m0rphism has quit [Ping timeout: 260 seconds]
cfinch has joined #nixos
cfinch has quit [Read error: Connection reset by peer]
Qwerky has joined #nixos
jesystani has quit [Ping timeout: 250 seconds]
jesystani has joined #nixos
<pie_> infinisil: yeah im starting to understand why you want attrsets for everything
<infinisil> Ayy :D
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/14b5ddf0850 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
Qwerky has quit [Ping timeout: 246 seconds]
<pie_> infinisil: though you never did answer if for list emulation you were thinking something like using numbers for the keys?
<pie_> or is the idea that you wouldnt be emulating lists anyway and would name attrs properly most of the time
<pie_> well actually, you wouldnt be able to avoid it in that case...how do you avoid collsions?
monokrome has joined #nixos
cjb has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d202d4e491a (from 74 minutes ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JOrR9
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d202d4e491a (from 84 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
Jd007 has joined #nixos
cfinch has joined #nixos
<{^_^}> [nixpkgs] @netcrns opened pull request #120010 → netcrns/sozu → https://github.com/NixOS/nixpkgs/pull/120010
cfinch has quit [Read error: Connection reset by peer]
griff__ has joined #nixos
proofofkeags_ has quit [Ping timeout: 260 seconds]
* DigitalKiwi spots a Kinnison
wallacer has quit [Ping timeout: 276 seconds]
ddellaco_ has joined #nixos
wallacer has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
ddellaco_ has quit [Ping timeout: 260 seconds]
Jd007 has quit [Quit: Jd007]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119988 → sish: init at 1.1.5 → https://github.com/NixOS/nixpkgs/pull/119988
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119985 → ldeep: 1.0.10 -> 1.0.11 → https://github.com/NixOS/nixpkgs/pull/119985
Nuc1eoN has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119912 → manix: 0.6.2 -> 0.6.3 → https://github.com/NixOS/nixpkgs/pull/119912
ece has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vs49688 opened pull request #120012 → openrussian-cli: init at 1.0.0 → https://github.com/NixOS/nixpkgs/pull/120012
ece has joined #nixos
cemguresci[m] has quit [Ping timeout: 245 seconds]
cemguresci[m] has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119971 → hfinger: 0.2.0 -> 0.2.1 → https://github.com/NixOS/nixpkgs/pull/119971
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119970 → jql: init at 2.9.4 → https://github.com/NixOS/nixpkgs/pull/119970
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119737 → remake: 4.1 -> 4.3 → https://github.com/NixOS/nixpkgs/pull/119737
* evils crunches teeth at suppersandro2000
h0m1 has quit [Ping timeout: 260 seconds]
ddellacosta has joined #nixos
h0m1 has joined #nixos
jesystani has quit [Ping timeout: 245 seconds]
jesystani has joined #nixos
ddellacosta has quit [Ping timeout: 252 seconds]
aescul has joined #nixos
<supersandro2000> evils: something wrong?
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JOrV1
<evils> supersandro2000: i think you're being too strict in enforcing your preferred style
<{^_^}> [nixpkgs] @Radvendii opened pull request #120013 → SDL2: fix cross-compile to windows (mingw) → https://github.com/NixOS/nixpkgs/pull/120013
<{^_^}> [nixpkgs] @delroth opened pull request #120014 → steamPackages.steam: 1.0.0.69 -> 1.0.0.70 → https://github.com/NixOS/nixpkgs/pull/120014
<supersandro2000> evils: you have an example? I am trying to find a good balance between a unify style and being to nitty but sometimes its a bit hard to find that
<evils> with version strings i think it's arguable that it's consequential; but on stuff like putting `++ optionals` on the same line as the preceding `]`; it feels like you're enforcing your style
<evils> with removing parentheses in `if (stable)` i would even call it consequential because i can no longer do `ci(` in vim
<{^_^}> [nixpkgs] @ElvishJerricco opened pull request #120015 → [WIP]: initrd: Use systemd → https://github.com/NixOS/nixpkgs/pull/120015
<evils> supersandro2000: i think if you want to set a style standard for nixpkgs, write documentation and refer to it, rather than adding suggested changes to every violation
<supersandro2000> evils: lib.optionals is meant to be used when working with lists because it enforces that type
<supersandro2000> the () there is optional and not required.
<evils> not only will it save you time, for it to get merged it'll (hopefully) have approval of multiple people, which strengthens your argument in favour of such a style
<supersandro2000> What does ci(? chumps it to the next char of that?
<evils> ci( -> Change Inside parentheses
<supersandro2000> but it is written in common doc which is xml so... when someone converts it to md I can add everything
<evils> supersandro2000: not sure how your lib.optionals message is relevant to the style changes you suggested
<evils> and i prefer having `]` and `''` on separate lines as it aids refactoring the code and spaces out separate blocks, which i find more readable
<nicolas[m]> Is it possible to override a package in an environment (steam in steamPackages) when it doesn't use lib.makeScope?
<supersandro2000> evils: putting ``] ++ lib.optionals true [`` is a very common style to prevent adding to many new lines which just stretches the file
<supersandro2000> specially if you have optionals which only use one or two entries per list you get a way shorter list which is way more readdable
bkv has joined #nixos
<evils> supersandro2000: yea, and at some point the kicad file was of reasonable length, then #100066 dumped a whole lot of stuff in there; but i'm not going to "fix" that by compressing the style
<{^_^}> https://github.com/NixOS/nixpkgs/pull/100066 (by matthuszagh, 27 weeks ago, merged): kicad: add srcs parameter to allow configuring kicad versions
bqv has quit [Ping timeout: 258 seconds]
bkv is now known as bqv
<supersandro2000> this are now 5 lines and could be ``then wxGTK30.override { withGtk2 = false; }``
<evils> my main point is that style is subjective; and unless you can show either a consensus on nixpkgs style, or a significant issue with not following your style (besides my PR not being merged), don't force it on people
<supersandro2000> and if people would do that at a few more places it would be way less stuff to look at
<evils> supersandro2000: same amount of stuff to look at, in my opinion
<supersandro2000> evils: a language which does not care about intendation like python can never have any significant issue with styling but if everyone just does whatever the code is a mess to work with
<supersandro2000> I can add all my points to the contributing guide and until then just take it as good advice that would be nice to follow
<evils> i feel like i've been forced into an unneccesary impasse by you several times...
<supersandro2000> the reviewing doc is also very lacking so we do not have a consensus there either
<evils> because it's near impossible to achieve consensus on style
<supersandro2000> its also hard getting it right for everyone
<supersandro2000> some people really appreciate it if they get some styling hints
<evils> definitely
<supersandro2000> for example inputs should so be sorted by usage order and I actually mostly ignore it
<evils> supersandro2000: no, inputs should be sorted by lenth to make a pleasing curve :P https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/window-managers/sway/contrib.nix
<supersandro2000> also inputs and phases are nicest ordered by when they are used
elibrokeit has quit [Quit: A random quit message]
<evils> supersandro2000: that feels like a natural order to put them in; i do find that gives the false impression that the order actually matters
elibrokeit has joined #nixos
<supersandro2000> also the generated file is mixing spaces and tabs which is also not that nice
<evils> which can be a disadvantage to debugging
<supersandro2000> it literally does not matter
<supersandro2000> just don't reflow every line or the diff is longer for no good reason
<supersandro2000> also did I start the removing libVersion could break someones overlays?
<evils> the #100066 stuff i regret not having seen before it got into nixpkgs, i disagree / don't understand most of it
<{^_^}> https://github.com/NixOS/nixpkgs/pull/100066 (by matthuszagh, 27 weeks ago, merged): kicad: add srcs parameter to allow configuring kicad versions
<evils> s/disagree/disagree with/g
<supersandro2000> so what do we do now with the formatting changes?
<DigitalKiwi> my favorite formatter is rm
<supersandro2000> Should I get a knife to eat the kiwi?
* evils hands supersandro2000 a sharpened spoon
<supersandro2000> evils: we can keep the styling if you like but I am pretty sure I will forget that until next month :P
jesystani has quit [Ping timeout: 250 seconds]
<evils> supersandro2000: well, that's why i'm trying to get you to be a bit more forgiving of style; unless it's particularly bad / inconsistent with the rest of the document, let people (especially package maintainers...) write what they like
jesystani has joined #nixos
<supersandro2000> that gets us to the next issue: being a maintainer doesn't mean to much. If I know that you know what you are doing I am more forgiving but I don't know all people who know what they are doing :P
<evils> i'm being a bit touchy about kicad because it's my baby, and it's already been trampled on
<supersandro2000> I definitely get from where you are coming from
<supersandro2000> but if you are going by feeling for a lot of things its hard to get it right for everyone and changing something usualy takes a bit
<supersandro2000> also I never use the real fancy short cuts in vim because pointing with a mouse on it is just faster
<evils> `set mouse=` it's the only way to vim (i haven't had the courage to disable `jkhl`)
<DigitalKiwi> "being a maintainer doesn't mean to much" like wtf man
<DigitalKiwi> half of the shit i have my name in maintainer field for i've spent dozens if not hundreds of hours on
<supersandro2000> if you compare it to being a maintainer on debian there is a big difference
<evils> git blame kicad | grep berce
<supersandro2000> for example I also touched the kicad package and remove some unused inputs
<evils> i really should set code ownership on the kicad directory...
<supersandro2000> then you would get at least a notification every time
<DigitalKiwi> fuck nix
<{^_^}> [nixpkgs] @KAction opened pull request #120016 → laminar: use more specific license (gpl3 -> gpl3Plus) → https://github.com/NixOS/nixpkgs/pull/120016
<DigitalKiwi> i give up
<simpson> DigitalKiwi: I hear you.
berberman_ has joined #nixos
berberman has quit [Ping timeout: 260 seconds]
<supersandro2000> sounds harsh but its a bit true
<supersandro2000> you don't have any duties or responsibilities
<supersandro2000> if something is broken and someone fixes it, it usually gets merged without explicitly waiting for feedback
<DigitalKiwi> stupid znc ;_;
<simpson> What's the point of the `maintainers` field, then? Is it just a list of community members who've volunteered their time to help fix broken packages? Is it a list of gatekeepers who prevent packages from becoming broken?
<evils> it's a breadcrumb for who to try when you can't fix it
<supersandro2000> evils: berce has no real activity on his github since late 2017. If you want to remove him go ahead.
<evils> supersandro2000: huh yea
<supersandro2000> simpson: no and no
<{^_^}> [nixpkgs] @Radvendii opened pull request #120017 → libconfig: fix cross-compile to windows → https://github.com/NixOS/nixpkgs/pull/120017
<supersandro2000> being a maintainer has no responsibilities and duties so it also can't block anything or be guaranteed to be fixed
<supersandro2000> DigitalKiwi: you might want to update bitwarden pytest-helpers-namespace
<{^_^}> [nixpkgs] @blargg opened pull request #120018 → yadm: 2.5.0 -> 3.1.0 → https://github.com/NixOS/nixpkgs/pull/120018
<DigitalKiwi> yeah only the blessed few are allowed to commit changes
<DigitalKiwi> i don't give a fuck about it being a maintainer doesn't mean anything
cfinch has joined #nixos
<DigitalKiwi> no responsibilities no duties right?
<{^_^}> [nixpkgs] @gfrascadorio opened pull request #120019 → docker: fix systemd unit files → https://github.com/NixOS/nixpkgs/pull/120019
<evils> DigitalKiwi: yea and because of that, meta.maintainers can't be relied on
<supersandro2000> its a nice breadcrumb and if you know the person is active and usually responds within a few days its nice to have
<simpson> DigitalKiwi: I understand what you're saying. The non-merging contributors are like sharecroppers. It's the same problem as on e.g. Youtube.
<supersandro2000> but the person does not need to which means it can't be as strict as other maintainers for example like Debian
cfinch has quit [Read error: Connection reset by peer]
abathur has joined #nixos
<supersandro2000> having the commit bit on the other hand brings duties and responsibility
<DigitalKiwi> i'd make a PR to remove my name from everything but who would merge it
<supersandro2000> if you are very inactive for a while you will eventually lose it
<radvendii> "it's a breadcrumb to follow" question: is it more useful than looking at the history of the file to see who's touched it recently?
<supersandro2000> and if you merge some breaking change then its your fault
<radvendii> i guess it's more accessible. like, there was a long time where i wouldn't have known how to check the history of a file
<supersandro2000> DigitalKiwi: I merged multiple of those
<{^_^}> [nixpkgs] @marsam opened pull request #120020 → icu: 68.2 -> 69.1 → https://github.com/NixOS/nixpkgs/pull/120020
<evils> radvendii: i was thinking more of a last resort, though it's not only that
<supersandro2000> the packages should eventually be removed if being maintainer means more. There are some plans to add more to it but they are not here yet.
<simpson> supersandro2000: What DigitalKiwi is saying is not about whether such a PR would be merged, but about what kind of power the PR-merging implies. Recall that power and responsibility are dual: The ability to merge PRs is the ability to reassign responsibilities, such as merging PRs.
<evils> i also think of meta.maintainers of people with an interest in the package staying functional
<supersandro2000> radvendii: that can also help but also yields treewide changes and following renames is not as easy
<supersandro2000> also you get notifications if a package is changed
<evils> just because they have an interest and they could fix it, doesn't mean they're actively changing it
<radvendii> supersandro2000: ah, good points
<supersandro2000> Debian also has uploader and not everyone can do that
<supersandro2000> and I think they could actually have less than NixOS does
theDon has quit [Ping timeout: 240 seconds]
<qbit> is there a way to make a package that has landed in nixpkgs master (unstable?) build before it's available in the cache?
<DigitalKiwi> is this debian? why are we talking about debian?
<supersandro2000> surely the system is not the worlds best but not having it would not be better I think
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
<supersandro2000> qbit: add the branch as a channel and use <nixpkgs-unstable> or <nixpkgs-master> instead
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
theDon has joined #nixos
<qbit> oooo
<simpson> DigitalKiwi: Traditional traditionalist strategy: We are not run as poorly as our neighbors, therefore our community has no structural or systemic issues~
<qbit> makes sense
<qbit> ty
stephank3 has joined #nixos
spacefrogg has joined #nixos
<supersandro2000> qbit: well, use the name of the branch in <...> and then use the pkgs from there
<supersandro2000> DigitalKiwi: Debian has a few more years on its back to know what can work and what not
<supersandro2000> looking at that experience is not wrong
<supersandro2000> for example NixOS is way more liberal when adding unfree packages or leaving bits in which are not DFSG confirming
<radvendii> qbit: if you're using flakes you can also do `nix build nixpkgs#package`
<supersandro2000> and if you would know me a bit better then you wouldn't call me traditionalist at all
<supersandro2000> if you want a more AUR packaging experience then NUR or a fork or flakes are great options to quickly get something to work
stephank has quit [Ping timeout: 240 seconds]
stephank3 is now known as stephank
<supersandro2000> for example that part is pretty hard on Debian
<DigitalKiwi> i do not know what dfsg is but the urban dictionary definition is probably not what you mean but lolol
<supersandro2000> and NixOS likes to take a look what other distros do because otherwise there would be to many questions for a Distro not having some commercial support behind it
<qbit> radvendii ncie, ty
<qbit> nice too :D
<delroth> someone just asked me a "fun" question: the nixos derivation for mongodb carries patches. how does that work with the AGPL?
<delroth> quoting the license: "Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version"
<supersandro2000> radvendii++ thanks
<{^_^}> radvendii's karma got increased to 2
<delroth> is anyone running mongodb on nixos right now violating the AGPL?
<supersandro2000> delroth: IIRC AGPL means the patches need to be open sourced, right?
<tpw_rules> how does regular mongodb "prominently offer all users" its code?
<delroth> not only
<radvendii> delroth: they can just go to nixpkgs and get the patch, no?
<delroth> see the part I quoted
<evils> delroth: you want the postPatch source, easily available (presumably modifying the package to dump out the source at that point doesn't count?)
<delroth> it clearly says "must prominently offer all users interacting with it [...] an opportunity to receive the Corresponding Source"
<evils> supersandro2000: the patches alone are not the source, the unpatched source is not the corresponding source
<delroth> I don't see how it would be doing that right now
<delroth> I think the Corresponding Source would be the patched source
<evils> so would i
<supersandro2000> you are not required to mail us something or ask for the source, it is in the package repository
<tpw_rules> delroth: how does regular mongo do that? also sspl only says "you must make the Service Source Code available via network download to everyone at no charge"
<evils> this kinda ties in to something i've wanted for a while, and have no idea how to do it: have a way to get all the source code that went into your nixos generation
siraben has quit [Ping timeout: 245 seconds]
<evils> corresponding source code would be preffered in that...
<delroth> oh right, mongo is sspl now -- we still have agpl versions in nixpkgs though
<delroth> (3.4.24)
<supersandro2000> evils: garbage collect and then do realpath /nix/store/-source
siraben has joined #nixos
<supersandro2000> except if it is named
<tpw_rules> delroth: but even then, how does mongodb do this? does it advertise its url on every connection?
<evils> supersandro2000: is that patched source?
<supersandro2000> no...
<supersandro2000> the unpatched
<qbit> i can't even with how awesome nixos is..
<radvendii> qbit: yeah, that's a mood. :P
<evils> supersandro2000: still, step towards what i'd love to see, thanks
<supersandro2000> but you could write something that easily adds the patches
<delroth> but then you still need to modify the nixos mongodb to advertise the modified source
<tpw_rules> how does non-nixos mongodb advertise the source?
<delroth> well, I don't think it has to? they're the copyright owners
<delroth> that "advertising modified source" clause in the AGPL only applies "if you modify the Program" (quoting from the license)
<evils> delroth: does mongodb itself have to advertise te corresponding source for it to count as "prominent"? something like `nix get-source mongodb` would be good enough if that's documented?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119008 → python3Packages.matplotlib: 3.3.4 -> 3.4.1 → https://github.com/NixOS/nixpkgs/pull/119008
<delroth> evils: it clearly says "must prominently offer all users interacting with it remotely through a computer network" so I don't think documentation counts?
<radvendii> i guess the question is what does "prominently offer" mean
<radvendii> any lawyers in the house?
<tpw_rules> delroth: it also says in the next half of that sentence "by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software". is git not standard or customary?
<radvendii> is stallman here?
<supersandro2000> delroth: tell them to send us a notice if that is not within what the license wants
<supersandro2000> I think freenode is none free code
<evils> radvendii: we do not speak of Him
<delroth> tpw_rules: git is very much standard and customary, but you still need to advertise it within regular user interactions, the second part of that clause doesn't invalidate the first
<radvendii> >.> <.<
<evils> genuinely, 24 occurences in the log xD
<radvendii> the word "by" seems to suggest otherwise
<radvendii> evils: oh damn, now i do feel bad
<evils> delroth: i do think the convention around this kind of stuff is "ignore it untill someone complains"
<radvendii> i would hope there's a certain "best effort" expectation of other open source projects. like, these licenses aren't here to be gotchas or hamper people's ability to make convenient FOSS softare
<radvendii> which they would if it required you to ask people on every download whether they want the source
<evils> radvendii: we have a centralized listing of the packages, anyone can recreate the corresponding source, i think that's a fair best effort
<supersandro2000> yeah. compare it how to get the kernel source of any new samsung phone and you know what isn't easy
<radvendii> evils: yeah, i didn't mean to suggest we weren't
AlpineLlama has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<evils> with something like snaps where you can publish an artefact without publishing how you built it, that may be an issue
<radvendii> evils: are you talking about snaps in general, or using snaps in nixpkgs?
<evils> radvendii: i mean the snap package management system
<evils> i wouldn't be surprised if the "best effort" approach there is to publish the manifest
AlpineLlama has joined #nixos
<evils> which i think is is practically the default
<radvendii> mm, would that not be sufficient? as long as the manifest is pointing at publically available sources, that seems to be similar to what we do
<{^_^}> [nixos-hardware] @earldouglas opened pull request #250 → Add a profile for the Thinkpad X200s → https://github.com/NixOS/nixos-hardware/pull/250
<evils> hmm, so would one way to do it better than what we have now be: have a way to instantiate the corresponding source; patch the program to point to that
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120016 → laminar: use more specific license (gpl3 -> gpl3Plus) → https://github.com/NixOS/nixpkgs/pull/120016
<radvendii> i don't know, the way we do it seems fine to me, but i'm no expert
<radvendii> also, as far as i've seen our patches tend to be very small and super nix-specific
<radvendii> so the idea of distributing that source code outside the context of nix just seems weird
<evils> radvendii: i don't think the size of the patches matters
<evils> radvendii: the point is that a user must be able to easily find the corresponding source to audit it
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119978 → git-interactive-rebase-tool: 2.0.0 -> 2.1.0 → https://github.com/NixOS/nixpkgs/pull/119978
Jd007 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119972 → websocat: 1.6.0 -> 1.8.0 → https://github.com/NixOS/nixpkgs/pull/119972
<{^_^}> [nixpkgs] @fortuneteller2k opened pull request #120021 → polybar: 3.5.2 -> 3.5.5 → https://github.com/NixOS/nixpkgs/pull/120021
<evils> our corresponding code seems fairly ephemeral
jesystani has quit [Ping timeout: 260 seconds]
<simpson> I hear that AGPL was supposed to be like a quine; if Mongo wanted to enforce that clause, then they should have built a standard way to retrieve a server's source code from its running instances.
<simpson> We'll have to wait for the next database/package manager/etc. to try using AGPL and see if they remember to include a way to automatically force folks to distribute source code at the API level.
jesystani has joined #nixos
* simpson looks at tab containing http://www.lothar.com/blog/58-The-Spellserver/
fresheyeball has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119928 → cosign: 0.2.0 -> 0.3.0 → https://github.com/NixOS/nixpkgs/pull/119928
fresheyeball has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118364 → ydotool: 0.1.8 -> 2021-01-20 → https://github.com/NixOS/nixpkgs/pull/118364
<radvendii> evils: seems like this wouldn't actually be that hard to implement. package.overrideAttrs(old: {phases = [ "unpackPhase" "patchPhase" "installPhase"]; installPhase = "cp * $out";}) should do the trick for most of them, no?
ericsagnes has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #119682 → beluga: 2020-03-11 -> 1.0 → https://github.com/NixOS/nixpkgs/pull/119682
<{^_^}> [nixpkgs] @marsam merged pull request #119686 → ocamlformat: 0.17.0 -> 0.18.0 → https://github.com/NixOS/nixpkgs/pull/119686
<radvendii> y'know, if the cp command had been cp -R . $out
ddellaco_ has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
ManiacOfMadness has quit [Ping timeout: 260 seconds]
ericsagnes has joined #nixos
<radvendii> now i'm very confused. i ran that with mongodb as the package, and i can't even find the file that the patch is supposed to apply to
<DigitalKiwi> supersandro2000: i hate you
<supersandro2000> pretty strong words for such an early day
<radvendii> no i take it back, i don't know why i couldn't find it, it's right there. and the patch has been applied correctly
<{^_^}> [nixpkgs] @marsam opened pull request #120022 → tflint: 0.26.0 -> 0.27.0 → https://github.com/NixOS/nixpkgs/pull/120022
<radvendii> i'm sure there are packages for which that wouldn't work, but it's probably a pretty reliable way to get the source with patches applied for any given package
<DigitalKiwi> i hate this stupid distro i hate this stupid channel
<simpson> supersandro2000: I think it's worth at least considering that nixpkgs isn't a binary Linux distro, but a ports tree. This typically comes with some expectation of decentralization of responsibility.
<DigitalKiwi> and i hate you
* evils pokes DigitalKiwi
<simpson> c.f. the idea of flakes, which have taken entirely too long to get going.
<supersandro2000> simpson: but it has binary pre builds
ddellaco_ has quit [Ping timeout: 252 seconds]
<DigitalKiwi> what evils
<evils> DigitalKiwi: please keep this channel welcoming
<supersandro2000> please get some sleep and we talk tomorrow
<DigitalKiwi> no all i do is sleep
<DigitalKiwi> it's time to burn the world
<{^_^}> [nixos-hardware] @Mic92 merged pull request #250 → Add a profile for the Thinkpad X200s → https://github.com/NixOS/nixos-hardware/pull/250
<simpson> I can't wait for the next thing after Nix.
<radvendii> simpson: :O
<evils> radvendii: sounds about right, though how do you embed that in a patch so the program can point a user to it?
<radvendii> evils: i'm not sure what you mean. does mongodb point you to its source code?
<evils> radvendii: no idea, but kinda sounds like the license wants it to
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JOrA3
mcint has quit [Ping timeout: 246 seconds]
<evils> oh yea, related thing i've wondered about, the GPL is supposed to ship with the application
<radvendii> i feel like adding more patches on things so that they point to the right source code adds a lot of clutter, but maybe it's necessary. I certainly wouldn't want someone distributing a modified version of my game but with the info still pointing at my website
<DigitalKiwi> pretty sure every application is supposed to instead of doing what you want it to do display the GPL
<evils> i thought it was common for GPL apps to just embed the license for ease of distribution
<evils> hmm, i'm somewhat disappointed `nix-build -A lib.licenses.gpl3` doesn't produce the license text
<radvendii> It's funny, in some ways we're spoiled. Like, it is extremely standard for proprietary software to start by opening up a license you have to agree to before it will do anything. There's no reason in theory there shouldn't be a similar requirement for GPL software to display the GPL so you understand your rights
<radvendii> it would be annoying and I don't want it to require that, but in theory it probably could
<radvendii> part of the joy of FOSS is it tends to avoid that kind of bloat
<simpson> radvendii: I strongly recommend reading that link about spellservers if you have the spare time; it helps explain how code delivery could be done securely.
<{^_^}> [nixpkgs] @Mic92 opened pull request #120023 → configuration template: improve docs on nano → https://github.com/NixOS/nixpkgs/pull/120023
<evils> radvendii: there is a reason it's not like that: everyone would fork it to remove the license agreement
cjb has quit []
<samueldr> radvendii: the GPL is not a EULA, you don't need to agree to use it
<samueldr> it's a description of your rights as a recipient of the software
<evils> or more realistically, no one would use a license that requires user agreement before use
<simpson> evils: Right. So, we have to imagine that the AGPL only works if the original software delivers a copy of itself over its main API. Then, forks would have to preserve the code-delivery behavior as a condition of being allowed to use the software in the first place.
<evils> simpson: the effect would be the same, people would avoid the software
bqv has quit [Ping timeout: 245 seconds]
Supersonic112 has joined #nixos
<radvendii> evils: by that logic nobody would use proprietary software with EULAs
<radvendii> (i'm checking out the link btw)
<simpson> evils: Corporations would avoid the software, at least. Which is an okay outcome! I have some documentation and discussion on this topic: https://lobste.rs/s/s6dwzw/which_fsf_osi_approved_licenses_limit
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
Jd007 has quit [Quit: Jd007]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120022 → tflint: 0.26.0 -> 0.27.0 → https://github.com/NixOS/nixpkgs/pull/120022
* evils looks at the 3 android phones on the table with disapproval
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120012 → openrussian-cli: init at 1.0.0 → https://github.com/NixOS/nixpkgs/pull/120012
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119852 → himalaya: init at 0.2.6 → https://github.com/NixOS/nixpkgs/pull/119852
jesystani has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120008 → nodejs-16_x: init at 16.0.0 → https://github.com/NixOS/nixpkgs/pull/120008
jesystani has joined #nixos
globin_ has joined #nixos
<supersandro2000> but its convenient and who cares about things that could be a problem tomorow anyway
<radvendii> evils: i'm too tired for spellserver right now, i'll try again tomorrow
<radvendii> supersandro2000: that's the spirit!
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5bc2962319c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/04bb7dc19bc (from 49 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
globin has quit [Ping timeout: 240 seconds]
<DigitalKiwi> REMEMBER EVERYONE YOUR CONTRIBUTIONS MEAN NOTHING
<DigitalKiwi> A MAINTAINER IS REQUIRED BUT MAINTAINERS DO NOTHING
<samueldr> hm?
<DigitalKiwi> i tried to go to sleep but it just made me more mad
<radvendii> DigitalKiwi: sounds like there's some specific experience bothering you
<DigitalKiwi> lots
fresheyeball has quit [Quit: WeeChat 2.9]
<radvendii> mm?
<radvendii> irc has private chats, right?
<hrnz> nice, I love drama
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119055 → kicad: include desktop, icon and mime files → https://github.com/NixOS/nixpkgs/pull/119055
<supersandro2000> radvendii: /query
<supersandro2000> */query NAME
<radvendii> supersandro2000: thanks
<radvendii> supersandro2000: can i ping you here about the whole unix vs. linux ++ darwin thing here, or is that rude?
endformationage has quit [Quit: WeeChat 2.9]
jesystani has quit [Quit: WeeChat 3.1]
<supersandro2000> sure
<supersandro2000> *sure, go ahead
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JOoTn
<radvendii> Does unix basically just mean linux ++ darwin at this point? is there a reason to prefer one over the other?
<radvendii> (w.r.t. platforms)
HeN has quit [Quit: Connection closed for inactivity]
<evils> radvendii: you know there's a lot of netbsd work going on in nixpkgs?
<supersandro2000> radvendii: right now for leaf packages yeah, kinda
<supersandro2000> if netbsd/openbsd get back into a functioning state then it would include them
zie has quit [Quit: ZNC 1.8.2 - https://znc.in]
<radvendii> okay. it seems like linux ++ darwin might be more future-proof if support for other systems becomes completed my package will have to actually get tested there
zie has joined #nixos
<supersandro2000> and if the package should theoretically work on netbsd then unix is preferred or we change platforms for 40 000 packages just because no one used unix
<radvendii> oh gotcha
<radvendii> i don't know what would lead me to believe that it "should theoretically work on netbsd" or not
<supersandro2000> platforms is mostly used for hydra and to save people from compiling packages which do not work
<radvendii> i've never used any bsd variant
<supersandro2000> I didn't either but they surely appreciate trying to build more packages :P
<evils> well, if it works on linux and darwin, and isn't too specific, i'd say there's a good chance it works on unix
<supersandro2000> if hydra had a bsd builder then we would take this a bit more serious
<supersandro2000> if it is just shell script then all is preferred
waleee-cl has joined #nixos
<radvendii> oh okay, then i'll just make it platforms.unix
<supersandro2000> not sure which on this list is even not unix https://github.com/NixOS/rfcs/blob/master/rfcs/0046-platform-support-tiers.md
<radvendii> well we have windows as a platform right? for cross-compiling purposes
<radvendii> that wouldn't be unix
<evils> windows has a fair bit of POSIX stuff
<samueldr> radvendii: at worst, choosing the most minimal platform set is not a bad thing, since if it ends up being needed by someone on another platform they can add it, and contribute back, if it works
<supersandro2000> or worst case mark it broken
<supersandro2000> I am not sure what the windows state of things is
<supersandro2000> WSL works fine :P
<radvendii> i've actually been doing quite a bit with windows cross-compilation
<radvendii> it works pretty well
<radvendii> i've submitted a few PRs to tweak a few packages so they work
<radvendii> there's the problem of DLL hell, but I solved that by using pkgsStatic
<supersandro2000> how do you compile it to that?
<radvendii> compile what to what?
<supersandro2000> compile something to windoof?
<radvendii> oh for example `nix-build --expr "with import <nixpkgs> { crossSystem = { config = "x86_64-w64-mingw32"; libc = "msvcrt"; }; }; package"`
bqv has joined #nixos
<radvendii> or s/package/pkgsStatic.callPackage .\/package.nix { }/ is what i've been doing
<radvendii> plus some stuff in crossOverlays
<radvendii> https://github.com/Radvendii/MAR1D/blob/master/windows.nix this is where I'm using it
<radvendii> I actually had more problems cross-compiling to Mac OS X. that seems to be broken right now
Jd007 has joined #nixos
bkv has joined #nixos
bqv has quit [Ping timeout: 245 seconds]
bkv is now known as bqv
yjftsjthsd has quit [Remote host closed the connection]
yjftsjthsd has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #120017 → libconfig: fix cross-compile to windows → https://github.com/NixOS/nixpkgs/pull/120017
<supersandro2000> radvendii: itse mee, mario!
orivej has joined #nixos
<radvendii> haha indeed
<radvendii> did you try the game?
aescul has quit [Read error: Connection reset by peer]
palo1 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #119819 → [staging-next] python3Packages:*, fixes → https://github.com/NixOS/nixpkgs/pull/119819
phodina[m] has joined #nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @Mic92 merged pull request #120013 → SDL2: fix cross-compile to windows (mingw) → https://github.com/NixOS/nixpkgs/pull/120013
sangoma has joined #nixos
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #119989 → dropwatch. 1.5.1 -> 1.5.3 → https://github.com/NixOS/nixpkgs/pull/119989
<{^_^}> [nixpkgs] @happysalada opened pull request #120024 → vector: add afterservices option → https://github.com/NixOS/nixpkgs/pull/120024
ddellacosta has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #120025 → rubyPackages: update → https://github.com/NixOS/nixpkgs/pull/120025
mcint has joined #nixos
Jd007 has quit [Quit: Jd007]
ece has quit [Ping timeout: 245 seconds]
goibhniu has quit [Ping timeout: 245 seconds]
exarkun has quit [Ping timeout: 245 seconds]
nh2 has quit [Ping timeout: 245 seconds]
alanz has quit [Ping timeout: 245 seconds]
bn_work has quit [Ping timeout: 245 seconds]
wallacer has quit [Ping timeout: 245 seconds]
exarkun_ has joined #nixos
ece has joined #nixos
ashesham` has joined #nixos
goibhniu has joined #nixos
<twoolie> hey all, i'm trying to get a list of all the services that are enabled in a nixos config
<twoolie> i currently have a bit of code like this:
nh2 has joined #nixos
<twoolie> in pkgs.lib.filterAttrs isEnabled config.services;
<twoolie> let getSuccess = thunk: ({success, value}: success && value) (builtins.tryEval thunk); isEnabled = name: attrs: getSuccess (pkgs.lib.hasAttr "enable" attrs && pkgs.lib.isBool attrs.enable && attrs.enable);
wallacer has joined #nixos
yjftsjthsd has quit [Ping timeout: 245 seconds]
ptrcmd has quit [Ping timeout: 245 seconds]
ptrcmd has joined #nixos
alanz has joined #nixos
yjftsjthsd has joined #nixos
<twoolie> but this blows up on services like beegfs that are deprecated/removed
sheijk has quit [Ping timeout: 245 seconds]
bn_work has joined #nixos
sheijk has joined #nixos
thc202 has joined #nixos
hiro98 has joined #nixos
attila_lendvai has joined #nixos
attila_lendvai has quit [Changing host]
attila_lendvai has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
bqv has quit [Ping timeout: 245 seconds]
CustosLimen has quit [Ping timeout: 245 seconds]
bn_work has quit [Ping timeout: 245 seconds]
wpcarro has quit [Ping timeout: 245 seconds]
malbx has quit [Ping timeout: 245 seconds]
phodina[m] has quit [Ping timeout: 245 seconds]
rodarmor has quit [Ping timeout: 245 seconds]
Lorenzoas3ii[m] has joined #nixos
Lorenzoas3ii[m] has quit [Ping timeout: 245 seconds]
alunduil has quit [Ping timeout: 245 seconds]
wallacer has quit [Ping timeout: 245 seconds]
midchildan has quit [Ping timeout: 245 seconds]
globin_ has quit [Ping timeout: 245 seconds]
bn_work_ has joined #nixos
bkv has joined #nixos
CustosLimen has joined #nixos
leothrix has quit [Ping timeout: 252 seconds]
phodina[m]1 has joined #nixos
wpcarro_ has joined #nixos
jonringer has quit [Ping timeout: 245 seconds]
Lorenzoas3ii[m] has quit [Changing host]
Lorenzoas3ii[m] has joined #nixos
malbx has joined #nixos
rodarmor has joined #nixos
midchildan_ has joined #nixos
cr4y1 has joined #nixos
alunduil has joined #nixos
makefu has quit [Ping timeout: 245 seconds]
globin_ has joined #nixos
dgpratt has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #119763 → flightgear, simgear: 2020.4.{4,6} -> 2020.4.8 → https://github.com/NixOS/nixpkgs/pull/119763
makefu has joined #nixos
wallacer has joined #nixos
dgpratt has joined #nixos
cfinch has joined #nixos
<lukegb> > lib.platforms.all
<{^_^}> [ "aarch64-linux" "armv5tel-linux" "armv6l-linux" "armv7a-linux" "armv7l-linux" "mipsel-linux" "i686-cygwin" "i686-freebsd" "i686-linux" "i686-netbsd" "i686-openbsd" "x86_64-cygwin" "x86_64-freebsd" "...
cfinch has quit [Read error: Connection reset by peer]
mcint has quit [Quit: just do it!!!]
cfinch has joined #nixos
mcint has joined #nixos
mallox has joined #nixos
<{^_^}> [nixpkgs] @magthe opened pull request #120026 → Unbreak servant-docs → https://github.com/NixOS/nixpkgs/pull/120026
<{^_^}> [nixpkgs] @dotlambda opened pull request #120027 → python3Packages.pytube: 10.7.1 -> 10.7.2 → https://github.com/NixOS/nixpkgs/pull/120027
Tv` has quit [Quit: Connection closed for inactivity]
zupo has joined #nixos
<{^_^}> [nixpkgs] @jojosch opened pull request #120028 → clarify GPL license of some of my packages → https://github.com/NixOS/nixpkgs/pull/120028
pen has joined #nixos
jimmiehansson has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @github-actions[bot] closed pull request #119711 → grub2_efi: fix cross-compilation → https://github.com/NixOS/nixpkgs/pull/119711
<{^_^}> [nixpkgs] @LeSuisse opened pull request #120029 → cosign: 0.3.0 -> 0.3.1 → https://github.com/NixOS/nixpkgs/pull/120029
<{^_^}> [nixpkgs] @samueldr reopened pull request #119711 → grub2_efi: fix cross-compilation → https://github.com/NixOS/nixpkgs/pull/119711
leothrix has joined #nixos
nix-nnob has joined #nixos
nix-nnob is now known as nix-noob
<nix-noob> Hey folks, how do I get an AMD GPU to work with nixos. I followed the instructions in https://nixos.wiki/wiki/AMD_GPU and set the following
<nix-noob> boot.initrd.kernelModules = [ "amdgpu" ];
<nix-noob> services.xserver.videoDrivers = [ "amdgpu" ];
<nix-noob> in my already existing config
<nix-noob> but this is not working. I have display when selecting which version to boot into, but after that nothing.
<nix-noob> and the GPU that I have is Radeon 550
nix-noob has quit [Killed (Sigyn (Spam is off topic on freenode.))]
saschagrunert has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #120025 → rubyPackages: update → https://github.com/NixOS/nixpkgs/pull/120025
saschagrunert has quit [Remote host closed the connection]
attila_lendvai has quit [Ping timeout: 246 seconds]
saschagrunert has joined #nixos
<{^_^}> [nixpkgs] @euank opened pull request #120030 → k3s: 1.20.5+k3s1 -> 1.20.6+k3s1 → https://github.com/NixOS/nixpkgs/pull/120030
leothrix has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #119968 → mpvScripts: use stdenvNoCC and misc. cleanup → https://github.com/NixOS/nixpkgs/pull/119968
leothrix has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #120028 → clarify GPL license of some of my packages → https://github.com/NixOS/nixpkgs/pull/120028
zupo has joined #nixos
cfinch has quit [Read error: Connection reset by peer]
ahmedelgabri has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120029 → cosign: 0.3.0 -> 0.3.1 → https://github.com/NixOS/nixpkgs/pull/120029
wadii has joined #nixos
yeahbutnoobut has joined #nixos
<Mic92> How is this it spam what nix-noob wrote?
<Mic92> Sigyn: ?
<cole-h> sigyn klines more than N lines sent in a period of time IIRC
<Mic92> ah
<Mic92> Too bad. I could have gave a hint to the question
<oleks> What is really the difference between having a .nix file and a Dockerfile in a small project?
lsix has joined #nixos
yeahbutnoobut has left #nixos ["Igloo IRC: https://iglooirc.com"]
aaabbbbbbbbbb has joined #nixos
<{^_^}> [nixpkgs] @06kellyjac opened pull request #120031 → deno: 1.9.0 -> 1.9.1 → https://github.com/NixOS/nixpkgs/pull/120031
sangoma has quit [Quit: WeeChat 3.1]
<euank> oleks: that's a bit vague of a question. a nix expression / nix-shell environment is different from a docker image / docker container environment in a lot of ways. Do you have a more specific way to ask that to narrow things down some?
<twoolie> oleks: Dockerfile is like a list of commands to run to mutate one docker image into another, usually by starting at some base image and installing stuff from the internet and copying in files.
* Kinnison repeats his question from before he slept: I have a system configuration which includes vscode. If I try and install it, nixos-install fails claiming it cannot read a store path which is indeed present. Sadly it is only present in /mnt and I wonder if the vscode extension handling expression needs help to work in this context.
<Kinnison> Is there a way to tell, or to exclude some packages during install only?
<twoolie> oleks: .nix file is a program that computes a dependency graph of packages, with all the inputs defined down to their hashes, potentially creating a docker image at the end.
<euank> Kinnison: do you have the exact error you're getting pasted somewhere? I'm curious.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ddellaco_ has joined #nixos
cfinch has joined #nixos
<Kinnison> I don't because it was on a console on a laptop last night, but it was trying to read the extension directory. The trace showed it was in the vscode package derivation I think. I will be able to reproduce it later, but I'm about to go get my car camera replaced.
sangoma has joined #nixos
<Kinnison> I am very new to nix, so could easily be doing something very wrong
vidbina_ has joined #nixos
<twoolie> Kinnison: so this is a custom extension that depends on some files in /mnt?
cfinch has quit [Remote host closed the connection]
cfinch has joined #nixos
oida has quit [Remote host closed the connection]
<Kinnison> twoolie: well, it is the rust-analyzer extension whose store path is 'not found' but I think it is how the vscode package gathers the extensions for itself
oida has joined #nixos
<{^_^}> [nixpkgs] @LutzCle opened pull request #120032 → zoom-us 5.6.13632.0328 -> 5.6.16775.0418 → https://github.com/NixOS/nixpkgs/pull/120032
ddellaco_ has quit [Ping timeout: 252 seconds]
respawn_ has joined #nixos
cfinch has quit [Ping timeout: 252 seconds]
cfinch has joined #nixos
respawn_ has quit [Client Quit]
<oleks> euank: yes, I mean docker confined to just file-system virtualization; disregarding other OS-level virtualization aspects of docker
<oleks> twoolie: but you don't have to provide hashes in the nix file?
<{^_^}> [nixpkgs] @fabaff opened pull request #120033 → python3Packages.hachoir: init at 3.1.2 → https://github.com/NixOS/nixpkgs/pull/120033
domogled has joined #nixos
nschoe has joined #nixos
milahu has joined #nixos
cransom has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @sternenseemann pushed commit from @magthe to haskell-updates « haskellPackages.servant-docs: unbreak »: https://git.io/JOoat
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann closed pull request #120026 → Unbreak servant-docs → https://github.com/NixOS/nixpkgs/pull/120026
paddymahoney has joined #nixos
<{^_^}> [nixpkgs] @06kellyjac opened pull request #120034 → cosign: 0.3.0 -> 0.3.1 → https://github.com/NixOS/nixpkgs/pull/120034
<sterni> Mic92: neither jess nor graham around to un-k-line it seems :(
cransom has joined #nixos
<{^_^}> [hydra] @edolstra closed pull request #918 → hydra-queue-runner: fix building on machines specified with the `ssh-ng` protocol → https://github.com/NixOS/hydra/pull/918
evanjs has quit [Read error: Connection reset by peer]
cfricke has joined #nixos
evanjs has joined #nixos
heywoodlh has quit [Quit: ZNC 1.8.2 - https://znc.in]
<{^_^}> [nixpkgs] @Mic92 opened pull request #120035 → radare2: 5.1.1 -> 5.2.0 → https://github.com/NixOS/nixpkgs/pull/120035
<supersandro2000> I really love it when gh actions are having problems. Who thought using them for more stuff is a good idea?!
cfinch has quit [Read error: Connection reset by peer]
twoolie has quit [Ping timeout: 260 seconds]
* supersandro2000 <= that one for example
twoolie has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @samuelgrf opened pull request #120036 → linuxPackages.rtw88: 2021-04-01 -> 2021-04-19 → https://github.com/NixOS/nixpkgs/pull/120036
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120031 → deno: 1.9.0 -> 1.9.1 → https://github.com/NixOS/nixpkgs/pull/120031
<{^_^}> [nixpkgs] @Br1ght0ne merged pull request #111518 → nixos/nebula: add basic module → https://github.com/NixOS/nixpkgs/pull/111518
cfinch has joined #nixos
exondation has joined #nixos
cfinch has quit [Read error: Connection reset by peer]
cfinch has joined #nixos
wadii has quit [Ping timeout: 252 seconds]
cfinch has quit [Remote host closed the connection]
cfinch has joined #nixos
hke has quit [Quit: bye]
karantan has joined #nixos
<karantan> has anyone tried to install snuffleupagus (https://github.com/jvoisin/snuffleupagus) on nixos?
<{^_^}> [nixpkgs] @domenkozar merged pull request #119859 → Add a warning comment on commits that violate https://github.com/NixO… → https://github.com/NixOS/nixpkgs/pull/119859
hke has joined #nixos
erred has joined #nixos
<erred> fwiptables: firewall in script bash very large
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120027 → python3Packages.pytube: 10.7.1 -> 10.7.2 → https://github.com/NixOS/nixpkgs/pull/120027
<{^_^}> [nixpkgs] @Mic92 merged pull request #120035 → radare2: 5.1.1 -> 5.2.0 → https://github.com/NixOS/nixpkgs/pull/120035
aveltras has joined #nixos
cfinch has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #120032 → zoom-us 5.6.13632.0328 -> 5.6.16775.0418 → https://github.com/NixOS/nixpkgs/pull/120032
erred has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120030 → k3s: 1.20.5+k3s1 -> 1.20.6+k3s1 → https://github.com/NixOS/nixpkgs/pull/120030
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120033 → python3Packages.hachoir: init at 3.1.2 → https://github.com/NixOS/nixpkgs/pull/120033
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120036 → linuxPackages.rtw88: 2021-04-01 -> 2021-04-19 → https://github.com/NixOS/nixpkgs/pull/120036
sangoma has quit [Ping timeout: 245 seconds]
Synthetica has joined #nixos
<{^_^}> [nixpkgs] @fabaff opened pull request #120037 → dnstwist: init at 20201228 → https://github.com/NixOS/nixpkgs/pull/120037
karantan has quit [Quit: Textual IRC Client: www.textualapp.com]
MJCD has joined #nixos
sangoma has joined #nixos
phalrax has joined #nixos
<phalrax> Hi, should I care about that message or is it safe to ignore? collision between `/nix/store/r8izla2w614q7qsband1nwh8r93k7v09-nix-bash-completions-0.6.8/share/bash-completion/completions/nixos-container' and `/nix/store/h7q15cq4d56r4g82wnb2sqvxiy8cb7wv-nixos-container/share/bash-completion/completions/nixos-container'
ivunchata has joined #nixos
<LinuxHackerman> phalrax: looks like a minor bug, but shouldn't affect anything working unless it breaks your build :)
marianoguerra has joined #nixos
cole-h has quit [Ping timeout: 252 seconds]
<phalrax> it doesn't, looks more like a warning
<phalrax> one other thing, I noticed vscode in my nix store, it doesn't get garbage cleaned and nix why-depends says '/nix/store/1wzv2yfp715vfy2k6fzhc79i3g8mz0n1-nixos-system-tokyo-21.05pre283671.04bb7dc19bc' does not depend on 'nixpkgs.vscode'. I have a condition in my config.nix that says to install it only if xserver is enabled, which is disabled...any
<phalrax> ideas why it's being pulled? config.services.xserver.enable: false
spinus[m] has quit [Quit: Idle for 30+ days]
john-appleseed[m has quit [Quit: Idle for 30+ days]
coloneljohnby[m] has quit [Quit: Idle for 30+ days]
gentauro has quit [Read error: Connection reset by peer]
Qwerky has joined #nixos
<Kinnison> phalrax: old build not yet expired, or a user env perhaps?
gentauro has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #120038 → [20.09] Zoom backport → https://github.com/NixOS/nixpkgs/pull/120038
<{^_^}> [nixpkgs] @max-wittig opened pull request #120039 → gitlab-runner: 13.10.0 -> 13.11.0 → https://github.com/NixOS/nixpkgs/pull/120039
<phalrax> I did gc -d. I suspect it might be my bit in systemPackages:  in common ++ (if config.services.xserver.enable then xorg else []); where common are packages that should always be installed and xorg is stuff like vscode or firefox
<phalrax> something wrong with that expression?
feathers has joined #nixos
feathers has quit [Client Quit]
myeisha has joined #nixos
<myeisha> heya. has anyone else noticed that libreoffice leaves an instance of dbus-daemon around when it's closed?
<{^_^}> [nixpkgs] @Izorkin opened pull request #120040 → mariadb-connector-c: 3.1.8 -> 3.1.12 → https://github.com/NixOS/nixpkgs/pull/120040
<l-as> Does anyone know why `builtins.toFile` has the odd and very inconvenient restriction that you can't refer to other derivations?
<marianoguerra> hi! started playing with nix yesterday, managed to setup shell.nix to use nix-shell for development and now I want to make the builds using the same shell.nix file for different operating systems (ubuntu LTSs and centos 6,7 and 8), I already have Dockerfiles for each that until now install the build requirements by hand and I have to keep them in sync, now what I want to do is build each image by
<marianoguerra> copying the shell.nix file at build time and entering a nix-shell so that it fetches all the packages at build time, if I change the fetchTarball url I just rebuild the images, my intention is to avoid dowloading stuff at each build
<marianoguerra> I'm almost there, the only problem I have is that I can't "logout and login" in the Dockerfile and sourcing the file as specified during installation doesn't work for me, I know there are ways to build docker images with nix but it's too much a jump for me at this point
<marianoguerra> I've searched online and there are other users that have the same problem but the proposed solutions don't seem to work for me
<marianoguerra> here's my Dockerfile: https://pastebin.com/6K1EgM9p
<marianoguerra> the last line is the one that fails with "/bin/bash: nix-shell: command not found"
<{^_^}> [nixpkgs] @Mic92 opened pull request #120041 → isgx: fix support for 5.11 → https://github.com/NixOS/nixpkgs/pull/120041
<myeisha> l-as: don't know precisely, but would guess that it doesn't propagate context. writeText does though
<l-as> but why?
<l-as> Why can't it just do the same thing as writeText?
<{^_^}> [nixpkgs] @Mic92 merged pull request #120034 → cosign: use buildFlagsArray → https://github.com/NixOS/nixpkgs/pull/120034
<phalrax> interestingly vscode doesn't show up when I inspect config.environment.systemPackages in nix repl...so not sure why it is in my nix store
jess has joined #nixos
HeN has joined #nixos
<Kinnison> phalrax: OOI if you run `which code` which path does it end up finding it? is it the current-system/sw/bin ?
<phalrax> not found
<Kinnison> okay so it's definitely not in your current env, hrm
<phalrax> I reinstalled recently, is it possible that those files are leftovers from another config? would garbage collect clean up those 'foreign' files?
<Kinnison> if the store knows about them I can't imagine it wouldn't know how to GC them
<phalrax> it meant if it doesn't know about them
<phalrax> *I
<phalrax> would it clean them up or just leave them?
<phalrax> just trying to think of ways why it would be there
page has quit [Read error: Connection reset by peer]
<marianoguerra> particularly sourcing nix before each command :/ `RUN . .nix-profile/etc/profile.d/nix.sh && nix-build`
page has joined #nixos
<Kinnison> phalrax: try nix-store --query --references /nix/store/blahblah-vscode ?
ddellaco_ has joined #nixos
Lorenzoas3ii[m] has quit [Ping timeout: 245 seconds]
l33[m] has quit [Ping timeout: 245 seconds]
marianoguerra has left #nixos [#nixos]
Sid[m] has quit [Ping timeout: 260 seconds]
steve[m] has quit [Ping timeout: 245 seconds]
phirsch has quit [Ping timeout: 245 seconds]
l33[m] has joined #nixos
Lorenzoas3ii[m] has joined #nixos
kgjfeduwieigt83e has quit [Ping timeout: 245 seconds]
rnhmjoj-M has quit [Ping timeout: 245 seconds]
Sid[m] has joined #nixos
rnhmjoj-M has joined #nixos
phirsch has joined #nixos
steve[m] has joined #nixos
kgjfeduwieigt83e has joined #nixos
alexherbo20 has joined #nixos
ddellaco_ has quit [Ping timeout: 245 seconds]
alexherbo20 is now known as alexherbo2
<phalrax> Kinnison: put it in a pastebin
<phalrax> *I will
<Kinnison> phalrax: oops, I meant --referrers
<myeisha> i've found nix-tree to be very useful to find out why something exists in the store
<Kinnison> (wrong way round)
ivunchata has quit [Quit: ivunchata]
<myeisha> prints every path to the thing you're worried about from gc roots, if it's reachable
NinjaTrappeur has quit [Ping timeout: 250 seconds]
teto has joined #nixos
domogled has quit [Quit: domogled]
Qwerky has quit [Remote host closed the connection]
jess has left #nixos [#nixos]
phalrax2 has joined #nixos
<phalrax2> Kinnison: I get /nix/store/gymim0q9z6pcvqqcqv3hlm84lmj1wirj-vscode-1.55.2 and /nix/store/n651x3p5pkw8c57hwlnc4532164xwj0x-system-path
<Kinnison> phalrax: myeisha's suggestion of nix-tree should help trace those to gc roots
<phalrax> nix-tree gives me this: https://pastebin.com/7ezD07xu
<{^_^}> [nixpkgs] @bachp merged pull request #120039 → gitlab-runner: 13.10.0 -> 13.11.0 → https://github.com/NixOS/nixpkgs/pull/120039
<Kinnison> that looks like the tree of code down, not code up. Maybe check if it needs an argument to run in reverse?
<myeisha> how i'd go at it: search for vscode (/), select it (enter), why-depends (w). should open a curses popup with all the dependency paths to roots
<phalrax> there is why-depends mode which only shows me vscode-1.55.2
lukegb has quit [Ping timeout: 252 seconds]
<myeisha> is it a gc root itself for some reason?
<phalrax> I also tried to completely comment out the section in my config that supposedly installed it, but nothing changed either
awuji has joined #nixos
zakame has quit [Ping timeout: 246 seconds]
<myeisha> (at any rate i'd just run a gc and see what happens, gc shouldn't break a running system after all)
lukegb has joined #nixos
JerryXiao has quit [Ping timeout: 246 seconds]
<phalrax> I ran nix-collect-garbage -d multiple times to no avail
<myeisha> mrf :/
<myeisha> is it listed in nix-store --gc --print-roots?
JerryXiao has joined #nixos
<phalrax> it's not
<afontain_> phalrax: doesn't a generation depend on it?
kmein has quit [Quit: ciao kakao]
zakame has joined #nixos
<phalrax> I only have one generation currently
kmein has joined #nixos
<phalrax> nix why-depends /run/current-system nixpkgs.vscode: '/nix/store/1wzv2yfp715vfy2k6fzhc79i3g8mz0n1-nixos-system-tokyo-21.05pre283671.04bb7dc19bc' does not depend on 'nixpkgs.vscode'
<phalrax> really weird
Qwerky has joined #nixos
Mateon1 has quit [Remote host closed the connection]
Mateon1 has joined #nixos
NinjaTrappeur has joined #nixos
Qwerky has quit [Ping timeout: 260 seconds]
<LinuxHackerman> nix-store -q --roots /nix/store/…-vscode
<LinuxHackerman> Maybe /run/booted-system still refers to it, and rebooting and then gc-ing will fix it?
isHavvy has joined #nixos
awuji has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @raboof opened pull request #120042 → controller-tools: init at 0.5.0 → https://github.com/NixOS/nixpkgs/pull/120042
<myeisha> just how reliable is nix root detection for running things anyway? i've seen processes that had their executable deleted more than once, mostly in firefox and postfix
<phalrax> LinuxHackerman: that was it...completely forgot I built a live iso which has those deps
<phalrax> sorry for being an idiot and forgetting :D
Havvy has quit [Ping timeout: 258 seconds]
<Kinnison> phalrax: well it was an enjoyable exploration anyway :D
<LinuxHackerman> myeisha: hm, that surprises me, especially for executables it should detect them correctly since it checks /proc/*/exe
phalrax2 has quit [Quit: Connection closed]
Qwerky has joined #nixos
<phalrax> Kinnison: was helpful to see the different methods for finding out things like this anyway, yes :D  next time I'll know, thanks everybody!
<myeisha> LinuxHackerman: exactly. no clue why it would delete executables from running processes (or why it always kills postifx's qmgr but nothing else?)
cfricke has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @fabaff opened pull request #120043 → anevicon: init at 0.1.0 → https://github.com/NixOS/nixpkgs/pull/120043
<LinuxHackerman> myeisha: I've never seen that happen
<myeisha> haven't quite been able to figure out why libreoffice insists on running its own dbus instance either yet :/
<immae> myeisha: about dbus, can you check that environment variables are correctly passed to the binary?
<immae> (especially XDG_RUNTIME_DIR)
<MichaelRaskin> It should only do it when the wrapper script does not see the environment variables pointing to the existing DBUS session
<immae> Ah right, XDG_RUNTIME_DIR or DBUS_SESSION_BUS_ADDRESS
<{^_^}> [nixpkgs] @JordiPlayGames opened pull request #120044 → Add apt to all-packages.nix. → https://github.com/NixOS/nixpkgs/pull/120044
<myeisha> immae: XDG_RUNTIME_DIR is passed, but we don't have a DBUS_SESSION_BUS_ADDRESS even though the session has dbus running. that's probably it then
<myeisha> but why isn't it set though
fuiltilt has quit [Quit: WeeChat 2.9]
<myeisha> (using the xinit pseudo display manager, maybe that needs some extra loving config?)
<immae> when you say "you don’t have", you mean that it’s absent from the shell too?
<myeisha> yep
<immae> ok
<immae> Then that’s probably the direction where you should look
<immae> you can try setting it manually to something like "unix:path=/run/user/1000/bus" to eliminate libreoffice from the equation
<immae> (check that the socket exists)
<myeisha> it definitely exists, other applications are using it with no trouble :/
<immae> It’s not impossible that they revert to a default value
<myeisha> explicitly setting it does help with libreoffice (though the question remains why it doesn't kill its local instance on exit)
<myeisha> guess i'll just export that in xinitrc or something. eh
jordiplaygames has joined #nixos
<immae> that would work, but I suggest that one day you look at it more closely to understand why it is not passed
<{^_^}> #120044 (by JordiPlayGames, 5 minutes ago, open): Add apt to all-packages.nix.
<myeisha> probably because dbus is started through socket activation
<MichaelRaskin> Hm, wrapper script not killing the local instance on exit is indeed a bug
<myeisha> and just running xinit to i3 from a fresh shell won't have dbus specifics in env
<immae> That’s probably true but not secific to nixos and the path is predictible
justan0theruser has joined #nixos
<myeisha> hence exporting it should just solve it. guessing that "real" desktop environments set the env var? don't have one ready to test
<jordiplaygames> Please, add apt to all-packages.nix.
<immae> myeisha: I have one, give me some time to find out how it is set in my system
wadii has joined #nixos
<myeisha> sure! thanks
<jordiplaygames> immae Please, add apt to all-packages.nix.
<immae> jordiplaygames: sorry?
justanotheruser has quit [Ping timeout: 258 seconds]
<{^_^}> #120044 (by JordiPlayGames, 9 minutes ago, open): Add apt to all-packages.nix.
<immae> What do you want me to do about that?
<immae> I have no right to do anything on it
<immae> myeisha: ok I have a dbus.socket file that does `/usr/bin/systemctl --user set-environment DBUS_SESSION_BUS_ADDRESS=unix:path=%t/bus`
<immae> so maybe your desktop env systemd unit only needs to have that as a dependency
<myeisha> it's not a unit, it's literally startx in a shell
wadii has quit [Read error: Connection reset by peer]
<immae> oh
<immae> (me too btw, so I need to figure out what I did...)
exondation has quit [Ping timeout: 260 seconds]
<immae> Ah yes the shell is in a systemd session which requires dbus activation
JordiPlayGames[m has joined #nixos
<immae> so one layer inbetween
<jordiplaygames> immae Commit it now.
<immae> Do you have DBUS_SESSION_BUS_ADDRESS before running startx ?
<immae> please stop jordiplaygames you don’t give order and I can do nothing for you
<myeisha> nope, that's probably why it's unset in i3 but set in all services systemd starts
<JordiPlayGames[m> hahahaha
ericsagnes has quit [Ping timeout: 260 seconds]
<JordiPlayGames[m> immae:
<JordiPlayGames[m> I need to commit.
wadii has joined #nixos
avaq has joined #nixos
<immae> myeisha: ok, so you’re down to figuring out why the shell doesn’t use the new env
<JordiPlayGames[m> immae: please commit it, try it...
<myeisha> because the systemd set-env doesn't propagate out of systemd into the login shell
<JordiPlayGames[m> immae: please commit it, try it...
<myeisha> which is just about what i'd expect
<JordiPlayGames[m> myeisha:
<JordiPlayGames[m> myeisha: STOP
<immae> myeisha: it should propagate, as long as the variable is set before spawning any process
<JordiPlayGames[m> immae: hahahahahahahahahahahahahahaha
<immae> You’e annoying jordiplaygames
<JordiPlayGames[m> Sorry. immae
ivunchata has joined #nixos
<myeisha> huh, you're right. the shell has it, i3 loses it. wat
<myeisha> where did it *go*
<JordiPlayGames[m> myeisha:
<immae> oh good
<JordiPlayGames[m> myeisha: ok.
<immae> Much easier to debug i3 than systemd :D
respawn_ has joined #nixos
<immae> myeisha: beware, once it is set it is set "forever", so if you just spawn a shell to check it then it says nothing about your first shell (which may not have it if it is spawned before the env being set)
<myeisha> yeah, that just dawned on me too. trying with a fresh user
hiro98 has quit [Ping timeout: 245 seconds]
ericsagnes has joined #nixos
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
<myeisha> fascinating. that new user gets dbus in the login shell too, but something between startx and i3 removes it
vidbina_ has quit [Ping timeout: 252 seconds]
<myeisha> ... the first things startx does is unset the dbus env. m(
<myeisha> why though
vidbina_ has joined #nixos
meh` has joined #nixos
orivej has joined #nixos
chiefgoat has joined #nixos
phalrax has quit [Quit: Connection closed]
<immae> myeisha: you mean startx itself removes the env var? That’s surprising
<immae> (It doesn’t in my system)
<myeisha> it's the first command in startx here
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #120045 → sphinx-serve: init at 1.0.1 → https://github.com/NixOS/nixpkgs/pull/120045
<{^_^}> [nixpkgs] @teto merged pull request #119467 → tests.vim: init (moved from vim-utils.nix) → https://github.com/NixOS/nixpkgs/pull/119467
<immae> well I guess you kind of have your answer then
<myeisha> an answer, anyway :D hunting through x.org repos now to see where that unset really comes from
<immae> Is it the startx from xlibs.xinit ?
MJCD has quit [Quit: Connection closed for inactivity]
<immae> Ah yes it is
vidbina_ has quit [Ping timeout: 240 seconds]
<myeisha> yeah, from the looks of it
<myeisha> so that answers everything then
<myeisha> startx is being a brat :>
<immae> And that’s why I don’t have it on my system (archlinux): https://github.com/archlinux/svntogit-packages/blob/packages/xorg-xinit/trunk/fs46369.patch
cfricke has joined #nixos
<immae> Which doesn’t help understanding why it does that in the first place
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/d202d4e491a (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
<immae> :shrug:
joehh1 has quit [Ping timeout: 260 seconds]
<immae> 12 years ago, so probably way before DBUS env var was set above it
<myeisha> presumably that means running starx into xephyr or something
<myeisha> eh. will just re-set it. can't be bothered to override xinit 🤷
<immae> I guess Archlinux is right in there, it doesn’t make sense anymore to unset it now that it is set globally
<immae> sure, now tha you have an explanation I guess the best thing is to reset it later :p
<myeisha> sad as that is :(
<immae> myeisha: since nixos is systemd-oriented you could probably patch it in nixpkgs like arch does, if you feel like it (I'd gladly approve the patch but I couldn't merge it though)
<myeisha> yeah, could. but can't be bothered
jumper149 has joined #nixos
<myeisha> don't even have a github account to post anything with
<myeisha> ... and now ssh-agent stopped working. what *is* it with today
<immae> That could be linked, who starts ssh-agent? is it a forked program executed in your xinitrc or are you using the systemd units?
__monty__ has joined #nixos
cybersyn has quit [Remote host closed the connection]
<immae> note that it can fail due to "another instance is already running". There’s some history here where many things used to be set in xinit scripts (including the DBUS env var and starting ssh-agent) and it moved up to systemd services but not with a perfect transition
<fendor> ,locate patchelf
<{^_^}> Found in packages: patchelf, patchelf_0_9, patchelfUnstable
dev_mohe has joined #nixos
Qwerky_ has joined #nixos
<immae> (so things may happen to be done multiple times depending on that)
orivej has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @stigtsp closed pull request #81151 → percona-server56: 5.6.43-84.3 -> 5.6.47-87.0 and add nixos test → https://github.com/NixOS/nixpkgs/pull/81151
Qwerky has quit [Ping timeout: 245 seconds]
exarkun_ is now known as exarkun
<myeisha> immae: the ssh-agent user unit nixos install sets DISPLAY=fake
<myeisha> ..this keyboard needs cleaned, doesn't it
hiro98 has joined #nixos
jess has joined #nixos
<immae> myeisha: as long as it sets it locally (i.e. only inside the unit) I don’t find that chocking
<myeisha> not shocking, it does work in the terminal. just doesn't work worth a damn in X
dev_mohe has quit [Quit: dev_mohe]
<immae> normally ssh-agent is a program that runs in the background and doesn’t need an X display (we communicate with it via a socket). An X session is only a bonus for asking for a password or so
<immae> So I would not accuse that at first look I guess
<myeisha> we set all ssh keys to confirm and have processes that run without a tty, those break if ssh-agent can't askpass through X
<immae> ah yes then maybe we’re touching some specificity of your configuration indeed
<myeisha> mhm
zupo has joined #nixos
<myeisha> remaining bugs today though: libreoffice doesn't kill dbus, startx unsets dbus, i'm sure there was something else too we solved much earlier :/
ddellacosta has joined #nixos
<immae> Here are the things I would look at for ssh-agent: who starts the first ssh-agent? (is it your xinit, a systemd agent, a gpg-agent-that-also-does-ssh), does it use the "normalized socket path" (quite recent), and how does it ask for password (does it need a valid DISPLAY for that)
<myeisha> it's fixed now, starting it in xinitrc
<immae> about libreoffice not killing dbus I’m not so surprised because dbus is supposed to be a long-running program in the background (it is started by systemd but it used to be started via xinit)
<immae> ok
<{^_^}> [nixpkgs] @maxeaubrey opened pull request #120046 → networkmanager: 1.30.2 -> 1.30.4 → https://github.com/NixOS/nixpkgs/pull/120046
<myeisha> if soffice starts its own dbus it should clean it up though, not litter the system with unreachable dbus daemons :<
<immae> Well that’s more complicated than that :)
<immae> it should but it may not be able to due to how dbus was thought
<myeisha> like, it doesn't start the default user bus. it's a fully private instance
<immae> In systemd age there’s no more reason for that kind of thing to happen, you can have a private session without needing to start a new "server"
<immae> But anyway, having a DBUS already running solves the issue so...
<myeisha> it wants to use the user bus, but it couldn't find it here because startx unset the env var. so it started a private bus and forgot about it on exit
<myeisha> all very strange tbh
<immae> you can make a parallel with tmux: say a program needs to start a tmux sessoin. It finds no tmux server, so it starts one and then starts his session. When it exits, do you expect it to kill the tmux server too?
ddellacosta has quit [Ping timeout: 245 seconds]
<immae> that means killing all tmux sessions that you started afterwards
<{^_^}> [nixpkgs] @maxeaubrey opened pull request #120047 → [20.09] networkmanager: 1.26.6 -> 1.26.8 → https://github.com/NixOS/nixpkgs/pull/120047
<myeisha> just the one that was started for that exact session, which is how tmux operates too(?)
<myeisha> with office it's a bit easier because there's not really a long-running process you'd start from it
<myeisha> but anyway. not to spam even more :<
<immae> ok
<myeisha> thanks for all the help
<immae> you’re welcome
<ivunchata> hello everyone, I'm having a question regarding WWAN devices, I'm having one plugged in into the M.2 slot of an SEEED Odyssey and was able to connect to the internet from a live Ubuntu, however from NixOS I don't see the device listed by nmcli. Do you have any ideas what am I missing? (I tried setting this https://nixos.org/manual/nixos/stable/options.html#opt-hardware.usbWwan.enable to true and adding ModemManager systemd service, but no luck)
<ivunchata> I forgot to mention that I do see the device in dmesg and from `ip address show`
<immae> ivunchata: I don’t know the specificities of wwan, but the first thing you could check is if "ip address show" shows an ip address associated to the device, and if not why
<immae> (could be as simple as having a dhcp server running only for eth0 when your device is named eth1 for instance)
<ivunchata> AFAIK I need to specify APN and other provider data before I get to look for an IP address. I was able to do that from NetworkManagers GUI from Gnome (in Ubuntu nmcli did see the device). However NixOS' nmcli does not see the device at all.
<immae> ok
<immae> it’s out of my competences then sorry
<ivunchata> thanks anyway :) I hope someone else might be able to assist
<{^_^}> [nixpkgs] @flokli opened pull request #120048 → nixos/xserver: set fs.inotify.max_user_instances too → https://github.com/NixOS/nixpkgs/pull/120048
<{^_^}> [nixpkgs] @vbgl merged pull request #119391 → ocamlPackages.labltk: fix ocamlbrowser by wrapping; remove legacy versions → https://github.com/NixOS/nixpkgs/pull/119391
NinjaTrappeur has quit [Quit: WeeChat 3.1]
<{^_^}> [nixpkgs] @superherointj opened pull request #120049 → argocd: 1.8.6 -> 2.0.1 → https://github.com/NixOS/nixpkgs/pull/120049
NinjaTrappeur has joined #nixos
cfinch has joined #nixos
cfinch has quit [Read error: Connection reset by peer]
cfinch has joined #nixos
MJCD has joined #nixos
vidbina_ has joined #nixos
aasg has quit [Quit: Bridge terminating on SIGTERM]
aasg has joined #nixos
<{^_^}> [nixpkgs] @Kranzes opened pull request #120051 → nextcloud-client: 3.1.3 -> 3.2.0 → https://github.com/NixOS/nixpkgs/pull/120051
joehh1 has joined #nixos
<ivunchata> I found that my device is not in usb_modeswitch.d dir and I found this: https://github.com/NixOS/nixpkgs/blob/d600f006643e074c2ef1d72e462e218b647a096c/pkgs/development/tools/misc/usb-modeswitch/data.nix do you know what is meant by "dropping config into the usb_modeswitch.d directory" ? I tried adding a file there via environment.etc but I get `ln` permission denied when rebuilding
<{^_^}> [nixpkgs] @Ma27 opened pull request #120052 → [20.09] matrix-synapse: 1.30.0 -> 1.32.0 → https://github.com/NixOS/nixpkgs/pull/120052
MJCD has quit []
<twoolie> hey all, i'm trying to get a list of all the services that are enabled in a nixos config. trying to mapAttrs over config.services to find all enabled services errors when it finds a service that has been marked as removed.
<twoolie> Anyone know a good way of doing this?
civodul has joined #nixos
Qwerky_ has quit [Remote host closed the connection]
respawn_ has quit [Quit: Leaving]
<twoolie> ivunchata: the comment in usb-modeswitch/data.nix refers to the fact that `make install` for that package installes a dispatcher script (/usr/sbin/usb_modeswitch_dispatcher) that requires (is written in?) TCL
<twoolie> AFAIK it's that script that reads or dispatches into extra "drop-in" config files in usb_modeswitch.d (the .d is for dispatcher ;)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rubm has joined #nixos
<{^_^}> [nixpkgs] @pborzenkov opened pull request #120054 → alertmanager-bot: pass version and revision variables → https://github.com/NixOS/nixpkgs/pull/120054
<ivunchata> Thanks, it is a bit clearer now, however I'm still confused where can I manually add an udev rule
<twoolie> seems usb-wwan is making the usb_modeswitch.d directory itself a link
alexherbo27 has joined #nixos
<twoolie> and when you try to create a new link inside that directory, you can't because thats in /nix/store and is read-only
<ivunchata> I tried adding to ${pkgs.usb-modeswitch-data}/share/usb_modeswitch, but as per the comment above - it caused infinite recursion
<twoolie> ivunchata: udev rules go in /etc/udev/rules.d/
Qwerky has joined #nixos
alexherbo2 has quit [Ping timeout: 245 seconds]
alexherbo27 is now known as alexherbo2
symphorien[m] has joined #nixos
<ivunchata> sorry, I meant usb_modeswitch entry
<{^_^}> [nixpkgs] @primeos opened pull request #120055 → chromiumBeta: 90.0.4430.72 -> 90.0.4430.85 → https://github.com/NixOS/nixpkgs/pull/120055
cfinch has quit [Ping timeout: 252 seconds]
<twoolie> ivunchata: the proper way is to fix usb-wwan so it doesn't lock up the whole directory.
<twoolie> the hacky way is to mount an overlayfs over it and then link your file in
Qwerky has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #120056 → chromium: 90.0.4430.72 -> 90.0.4430.85 → https://github.com/NixOS/nixpkgs/pull/120056
kcombinator[m] has joined #nixos
<ivunchata> Thanks, I'll try the hacky way to see if even I'm on the right track with the modeswitch
Qwerky has joined #nixos
lamballama has joined #nixos
<lamballama> is there a way to get the license metadata from a drv with nix-store?
<lamballama> or maybe another cli nix tool?
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #120057 → sphinx-material: init at 0.0.32 → https://github.com/NixOS/nixpkgs/pull/120057
dsrt^ has quit []
ddellaco_ has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #120058 → ruby: 2.6.7 -> 2.7.3 → https://github.com/NixOS/nixpkgs/pull/120058
orivej has joined #nixos
cfricke has quit [Quit: WeeChat 3.1]
ddellacosta has joined #nixos
ddellaco_ has quit [Read error: Connection reset by peer]
<qyliss> lamballama: I could be wrong, but I think by the time it becomes a drv that metadata has been lost
<{^_^}> [nixpkgs] @mweinelt opened pull request #120060 → libupnp: 1.14.4 -> 1.14.6 → https://github.com/NixOS/nixpkgs/pull/120060
<{^_^}> [nixpkgs] @primeos merged pull request #120055 → chromiumBeta: 90.0.4430.72 -> 90.0.4430.85 → https://github.com/NixOS/nixpkgs/pull/120055
<{^_^}> [nixpkgs] @cdepillabout opened pull request #120061 → spago: 0.20.0 -> 0.20.1 → https://github.com/NixOS/nixpkgs/pull/120061
<hazel[m]> I'm trying to install sage but it insists on not using the binary cache -- what am I messing up, or does a binary actually not exist
<hazel[m]> namely because some doctests failed and it refuses to install as a consequence
<Synthetica> I think it is failing on master currently
<Synthetica> hazel[m]: I just grab it from da527a0f1c9a91bc28c6dbfd7c06e505547632b7 and call it a day
<hazel[m]> how would I go about doing that
<Synthetica> I have some layers of abstraction around it, but something like enviornment.systempackages = [ (import (builtins.fetchurl "https://github.com/nixos/nixpkgs/archive/da527a0f1c9a91bc28c6dbfd7c06e505547632b7.tar.gz) { } ].sage should work
<{^_^}> [nixpkgs] @caugner opened pull request #120063 → jetbrains.phpstorm: 2021.1 -> 2021.1.1 → https://github.com/NixOS/nixpkgs/pull/120063
<{^_^}> [nixpkgs] @pennae opened pull request #120064 → xinit: don't unset DBUS_SESSION_BUS_ADDRESS in startx → https://github.com/NixOS/nixpkgs/pull/120064
<hazel[m]> so it's broken on master and it's broken on unstable
<hazel[m]> * so it's broken on master, unstable, and 20.09
<hazel[m]> that's
<hazel[m]> wonderful
<typetetris> Hmm is there a way to globally add a substituter when entering a VPN ?
<symphorien[m]> untested, but I'd add it always and add iptables to -j REJECT vpn ips when the vpn is not up
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #120065 → python3Packages.sagemaker: 2.35.0 -> 2.37.0 → https://github.com/NixOS/nixpkgs/pull/120065
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #120066 → awscli: 1.19.52 -> 1.19.54 → https://github.com/NixOS/nixpkgs/pull/120066
Qwerky has quit [Remote host closed the connection]
<hazel[m]> Synthetica: so I installed it and it actually hit the binary cache and worked, but now I don't know how to actually execute sage. like, it isn't in PATH.
<hazel[m]> pardon my ignorance, I haven't yet used it on NixOS
<hazel[m]> thanks for the tip though
<Synthetica> What did you do to install it?
gustavderdrache has joined #nixos
<hazel[m]> (import (builtins.fetchTarball "<that-nixpkgs>") {}).sage in home.packages
zupo has joined #nixos
<hazel[m]> ah nevermind something else was broken with HM
<hazel[m]> it's fine now
<Synthetica> Awesome :)
<hazel[m]> much appreciated
vs^ has joined #nixos
jess has left #nixos ["Leaving"]
csaba has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #120067 → jenkins: 2.277.2 → 2.277.3 → https://github.com/NixOS/nixpkgs/pull/120067
berberman_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #120068 → Kernels 2021-04-21 → https://github.com/NixOS/nixpkgs/pull/120068
berberman has joined #nixos
<AmandaC> is it not advisable/possible to do a "remote build" to the same local machine over ssh? It seems that my homelab's nix builds are just hanging in that case.
<AmandaC> I'm trying to use the same generic config that my laptop can use to offload the remote builds, but it doesn't seem to like that
<lamballama> more directly is there a nice way of getting a list of licenses for all the build inputs for a derivation?
heywoodlh has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
orivej has joined #nixos
rj has joined #nixos
<AmandaC> Hrm, seems repeating most of that "use-camnet-builder" profile into the hydra profile,substituring my homelab's hostname with "localhost" seems to have made it happy, I guess nix doesn't like "remoting" to a machine that resolves to itself, and checks for the host "localhost" instead.
<AmandaC> Wish there was another way to tell hydra that the nixos host was configured to emulate aarch64 as well so that those jobs can be scheduled to it
<gchristensen> you should be able to by setting the architectures field?
das_j has left #nixos ["User left"]
<AmandaC> Architectures field? I've not noticed anything about that in the nixos options for hydra, and can't really find any docs for the extra config wither
Jd007 has joined #nixos
milahu has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Qwerky has joined #nixos
potong has joined #nixos
<potong> Hi using nix version 2.3.10 wanted to try out `nix flakes` so input nix-shell -p nixFlakes, now get `error: could not dynamically open plugin file...` when entering nix flakes, any suggestions?
orivej has quit [Ping timeout: 240 seconds]
plakband has joined #nixos
vidbina_ has quit [Ping timeout: 268 seconds]
rj has quit [Ping timeout: 240 seconds]
<LuxExUmbra> Is anyone using NixOS with vscode + java? I'm really struggeling here. I basically install one jdk in my `users.users.lux.packages` and the vscode java extension can sucessfully detect it. However I can not really get the language server working I think. This is a bit less a ask for concrete help because this probably gets out of context here, but a bit more a "is anyone using this sucessfully?"
<LuxExUmbra> and maybe a bit more concrete: how would I install multiple jdks so that can be automatically detected?
rj has joined #nixos
endformationage has joined #nixos
Andoriyu has quit [Quit: ZNC - https://znc.in]
Andoriyu has joined #nixos
jonringer has joined #nixos
rj has quit [Remote host closed the connection]
rj has joined #nixos
orivej has joined #nixos
<AmandaC> gchristensen: what do you mean architectures field? I don't see anythign lik that under services.hydra{,-dev} and it hydra doesns't pickup from `boot.binfmt.emulatedSystems`
jordiplaygames has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @johanot opened pull request #120071 → ceph: 15.2.10 -> 16.2.1 → https://github.com/NixOS/nixpkgs/pull/120071
Andoriyu has quit [Quit: ZNC - https://znc.in]
Tv` has joined #nixos
Andoriyu has joined #nixos
plakband has quit [Quit: WeeChat 2.9]
aash has joined #nixos
<{^_^}> [nixpkgs] @ericdallo opened pull request #120072 → graalvmce: 21.0.0 -> 21.1.0 → https://github.com/NixOS/nixpkgs/pull/120072
<{^_^}> [nixpkgs] @KyleOndy opened pull request #120073 → Add vim plugin: ThePrimeagen/git-worktree.nvim → https://github.com/NixOS/nixpkgs/pull/120073
<aash> Hi there. I just compiled and installed nix 2.3.10(and its dependencies) into $HOME/nix-build/root, store is located at $HOME/nix/store. nixpkgs-unstable has been added to channel. But when I did "nix-env -qa", I got the following error. I'm quite new to nix, now sure if I missed anything.
<aash> error: anonymous function at /Users/aash/nix/store/xqf76gbrlkgh5y00xzwrhf65s3rimdpw-nixpkgs-21.05pre283671.04bb7dc19bc/nixpkgs/pkgs/build-support/cc-wrapper/default.nix:8:1 called without required argument 'lib', at /Users/aash/nix/store/xqf76gbrlkgh5y00xzwrhf65s3rimdpw-nixpkgs-21.05pre283671.04bb7dc19bc/nixpkgs/pkgs/stdenv/native/default.nix:128:5
orivej has quit [Ping timeout: 246 seconds]
shla has left #nixos ["The Lounge - https://thelounge.chat"]
_anb has joined #nixos
<radvendii> looking briefly at those files, it looks like that is indeed a bug. Could this have been caused in the stdenv.lib -> lib switchover?
<radvendii> that was a while ago, so i would have expected this to come up for a lot of people before now
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/63a2e9cb201 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<radvendii> in linux/default.nix we have `inherit lib` in the cc-wrapper import
<{^_^}> [nixpkgs] @jojosch opened pull request #120074 → protoc-gen-twirp_php: 0.6.0 -> 0.7.1 → https://github.com/NixOS/nixpkgs/pull/120074
<aash> I'm on Darwin aarch64 btw, maybe that cause the issue?
<radvendii> darwin/default.nix actually also had `inherit lib;` added
<radvendii> I'm not entirely sure what stdenv/native is or when it's used
Rusty1 has joined #nixos
<aash> you mean the file stdenv/darwin/default.nix?
<radvendii> yeah exactly
<radvendii> as in, when it imports cc-wrapper, it also passes it lib
<radvendii> it seems to me like this is an oversight that it's not included in stdenv/native/default.nix, but I'm not 100% sure
<{^_^}> [nixpkgs] @jojosch opened pull request #120075 → phpPackages.composer: 2.0.11 -> 2.0.12 → https://github.com/NixOS/nixpkgs/pull/120075
<radvendii> it seems like stdenv/native is used for (a) very unused systems (e.g. powerpc) and (b) everything we haven't accounted for (which is the case for darwin-aarch64
<radvendii> ah
<gchristensen> AmandaC: IIRC hydra will look to your machines file, and if you don't have one, add localhost as a remote builder by default
<radvendii> it seems like darwin-aarch64 isn't totally supported yet
radvendii has left #nixos ["WeeChat 3.1"]
radvendii has joined #nixos
<{^_^}> #95903 (by arianvp, 34 weeks ago, open): Support for Apple Silicon (aarch64-darwin)
<AmandaC> gchristensen: yeah, it does, but with only the native arch, not the i686 or aarch64 that the host is set to eemulate.
<gchristensen> AmandaC: but you can define a machines file with localhost in it, and https://nixos.org/manual/nix/stable/#chap-distributed-builds in the second field define a list of platforms, including all the emulated archs
<gchristensen> scroll to "Each machine specification"
<AmandaC> Yeah that's what I ended up doing, basically. though I used the nix.buildMachines for that
<gchristensen> yep, that will do the same thing
<gchristensen> one caveat though is that populates /etc/nix/machines which is picked up by interactive uses of Nix also, whereas Hydra can accept additional machine files
<aash> radvendii: yeah, I've seen it, didn't realize it's a PR instead of an issue. Let me figure out how to use it.
erasmas has joined #nixos
<AmandaC> just seems that nix.buildMachines isn't happy with a host that isn't "localhost" if it'll resolve to that localhost anyway. I was using the genreic profil eI made for all my machines to offload to my homelab, including homelab.example.com -- and bulds would just hang
<gchristensen> I don't understand
<radvendii> aash: nono, i'm saying the specific comment was saying the current way to use aarch64-darwin is to install under rosetta, and then add aarch64-darwin under extra-platforms
<radvendii> i don't think the PR is ready for use, it's listed as a draft
<AmandaC> homelab.example.com was trying to connectto homelab.example.com to offload it's job.. which would hang. When I changed the host in the machines to "localhost" -- it no-longer hangs
rj has quit [Ping timeout: 240 seconds]
<gchristensen> can homelab.example.com ssh to homelab.example.com?
<AmandaC> It should be able to
<gchristensen> sometimes it can't without hairpin nat for example
<AmandaC> At the very least my user can ssh to it to get the nixos git repo
<AmandaC> s/nixos/config/
<radvendii> aash: it seems like you may also be able to check out the apple-silicon branch of nixpkgs, but i don't know how stable / functional that is (see the previous comment to the one i linked)
<AmandaC> ( From homelab.e.c )
<AmandaC> I can't think of any reason it'd be different for the hydra-queue-runner or root users.
<gchristensen> does the hydra-queue-runner user have access to the ssh key needed for it? hydra runs builds (and `ssh`) itself
<AmandaC> yup
<aash> radvendii, it's ok, this is not my work laptop, maybe I can help on testing the branch.
proofofkeags_ has joined #nixos
ericsagnes has quit [Ping timeout: 260 seconds]
<gchristensen> does this work? sudo -u hydra-queue-runner ssh user@homelab.example.com nix-store --version
<gchristensen> does your entry in the machines file have a defined user? (ie: foo@homelab.example.com, not just homelab.example.com)
<{^_^}> [nix] @regnat pushed to nix-shell-missing-outputs « Make `nix shell` fallback to static outputs when needed »: https://git.io/JOK6A
<{^_^}> [nix] @regnat opened pull request #4724 → Make `nix shell` fallback to static outputs when needed → https://github.com/NixOS/nix/pull/4724
<AmandaC> I can nix-store --version yup, and it is as a different user.
<gchristensen> I wonder if SSHing to itself is causing a deadlock
<AmandaC> I'm guessing that's the case, and it has some special handling to know when the ssh host is "localhost" to do something different
<gchristensen> yeah
<AmandaC> that said, I've not looked at the code at all to verify my hyopthisis
rj has joined #nixos
<gchristensen> I will say with 100% confidence that "localhost" is treated specially: https://search.nix.gsc.io/?q=%22localhost%22&i=nope&files=&repos=NixOS-hydra,NixOS-nix
<lukegb> ooh, the fakeSSH thing is... interesting
hiro98 has quit [Ping timeout: 268 seconds]
<kunrooted[m]> can nixos containers be used cross-distro?
<AmandaC> do you mean non-nixos inside the containers, or nixos containers on non-nixos?
<AmandaC> the former is no, the latter I don't think so?
<AmandaC> ( other than the usual container stuff for any other distro )
<{^_^}> [nix] @regnat pushed to nix-shell-missing-outputs « Make `nix shell` fallback to static outputs when needed »: https://git.io/JOKPS
ManiacOfMadness has joined #nixos
ericsagnes has joined #nixos
Qwerky has quit [Read error: Connection reset by peer]
tmciver has quit [Ping timeout: 240 seconds]
Rusty1 has left #nixos ["Konversation terminated!"]
tmciver has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/93184413f21 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<kunrooted[m]> <AmandaC "do you mean non-nixos inside the"> nixos containers on non-nixos
<{^_^}> [nixpkgs] @Radvendii opened pull request #120076 → mpg123: fix cross-compile to windows → https://github.com/NixOS/nixpkgs/pull/120076
<kunrooted[m]> basically, I wanted to make a reproducible environment where I would be given the pentesting/security packages
<simpson> Do they need to have NixOS? Is it enough to have Nix and nixpkgs?
<myeisha> if you do that, why not build the whole system closure and run that as an nspawn container
<kunrooted[m]> 🤔
<{^_^}> [nixpkgs] @fufexan opened pull request #120077 → orchis: 2021-02-28 -> 2021-04-20 → https://github.com/NixOS/nixpkgs/pull/120077
<{^_^}> [nixpkgs] @06kellyjac opened pull request #120078 → waypoint: 0.3.0 -> 0.3.1 → https://github.com/NixOS/nixpkgs/pull/120078
<kunrooted[m]> I also thought about making a shell.nix or flake.nix of some kind
growpotkin has joined #nixos
<kunrooted[m]> which will make the user jump into nix-shell with given tools
<{^_^}> [nixpkgs] @fgaz opened pull request #120079 → meme: rename to meme-image-generator, unstable-2020-05-28 -> 1.0.1 → https://github.com/NixOS/nixpkgs/pull/120079
Qwerky has joined #nixos
aash has quit [Ping timeout: 252 seconds]
AlesHuzik[m] has quit [Quit: Idle for 30+ days]
goibhniu has quit [Quit: Idle for 30+ days]
potong has quit [Ping timeout: 240 seconds]
saschagrunert has quit [Remote host closed the connection]
Qwerky has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @veprbl merged pull request #119816 → nnn: don't make supported tools a requirement → https://github.com/NixOS/nixpkgs/pull/119816
<{^_^}> [nixpkgs] @Radvendii opened pull request #120080 → stdenv/{native,nix}: add lib to cc-wrapper args → https://github.com/NixOS/nixpkgs/pull/120080
cole-h has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ahmedelgabri has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #119848 → zfsUnstable: 2.0.4 -> 2.1.0-rc3 → https://github.com/NixOS/nixpkgs/pull/119848
<{^_^}> [nixpkgs] @fabaff opened pull request #120081 → badtouch: init at 0.7.3 → https://github.com/NixOS/nixpkgs/pull/120081
katrin has quit [Quit: ZNC 1.8.1 - https://znc.in]
katrin has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @FliegendeWurst opened pull request #120082 → tor-browser-bundle-bin: 10.0.15 -> 10.0.16 → https://github.com/NixOS/nixpkgs/pull/120082
sangoma has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @lsix opened pull request #120083 → qgis: 3.16.5 -> 3.16.6 → https://github.com/NixOS/nixpkgs/pull/120083
marko has joined #nixos
marko has quit [Client Quit]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/93184413f21 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ram19890 has quit [Read error: No route to host]
ram19890 has joined #nixos
nschoe has quit [Ping timeout: 240 seconds]
shibboleth has joined #nixos
<__monty__> I've been running into "dumping very large path warnings" a lot. Is this very large path added to the store every time (because I'm also running out of diskspace fast)? And if so, is there a way to troubleshoot and change something so the path is only added once and then reused?
<myeisha> is there a mailing list or other distribution medium that aggregates nixos security updates by channel?
<__monty__> gchristensen: ^
mallox has quit [Quit: WeeChat 3.1]
<gchristensen> myeisha: there used to be, but it was quite a lot of volunteer work and I stopped doing it. I've been considering taking it up again as part of my job, but Idon't have anything concrete on that
<myeisha> ah, okay
<gchristensen> #nixos-security also had some good chat about this today
<myeisha> mainly just want to know when it'd be a good idea to run system updates, maybe arch has spoiled me in that regard
<{^_^}> [nixpkgs] @fufexan opened pull request #120084 → hunter: init at 1.3.5 → https://github.com/NixOS/nixpkgs/pull/120084
<gchristensen> often :)
<Ke> __monty__: why not just du
<myeisha> that's a given, but is good to know when it's important to do it quickly :D
<__monty__> Ke: How would that help?
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #120085 → unify: init at 0.5 → https://github.com/NixOS/nixpkgs/pull/120085
rj has quit [Ping timeout: 240 seconds]
<Ke> it will at least help you find, who uses the disk space
mcornick has left #nixos [#nixos]
ivunchata has quit [Ping timeout: 245 seconds]
ahmedelgabri has joined #nixos
mariano_ has joined #nixos
kuralsiz has joined #nixos
<mariano_> hi! how can I install erlang and elixir with dontPatchShebangs = 1?
rj has joined #nixos
slack1256 has joined #nixos
<mariano_> the problem I have is that I'm using nix to build a server for different OSs and nix patches the paths to bash and sh on shebangs and binaries too
attila_lendvai has joined #nixos
<slack1256> Are gpg-agent options not read from ~/.gnupg/gpg-agent.conf anymore?
<mariano_> I wouldn't have a problem shipping those binaries if it wasn't for the fact that the path is relative and at the root (/nix/...) which is not an easy ask for servers I don't manage
<gchristensen> usually that is desirable so the Nix closure brings its dependencies with it
<radvendii> mariano_: put in your overlays: erlang = erlang.overrideAttrs (old: { dontPatchShebangs = 1; })
kuralsiz has quit []
<mariano_> radvendii: started using nix yesterday :) where do I read more about my overlays
ahmedelgabri has quit [Ping timeout: 260 seconds]
<radvendii> mariano_: ohhh haha, one sec
<Kinnison> In an expression, I know I can use pkgs.foo effectively as a shorthand for the path to foo in the store, but what do I do when I need that during the installer?
<mariano_> in my shell.nix in the import package at the top from what I see
<{^_^}> [nixpkgs] @jonringer opened pull request #120086 → python3Packages.poetry*: fixes → https://github.com/NixOS/nixpkgs/pull/120086
<radvendii> mariano_: https://nixos.wiki/wiki/Overlays and https://nixos.org/manual/nixpkgs/stable/#chap-overlays might be a good place to start
<gchristensen> Kinnison: like at an interactive session? nix-shell -p foo
<radvendii> mariano_: I'm not actually sure setting dontPatchShebangs will do what you're hoping it'll do, but it might be that simple
<Kinnison> gchristensen: No, in this instance I have set up a flake-based /etc/nixos in a repo, which has a flake based dotfiles repo, which uses home-manager. home-manager's vscode integration ends up using builtins.readDir to look at vscode extensions in the store to prepare symlink data for the homedir.
<Kinnison> gchristensen: but this means that during nixos-install it explodes
<gchristensen> oh gosh
<radvendii> mariano_: if you just want to build a specific package with dontPatchShebangs you can always do `nix-build --expr "(import <nixpkgs> { }).package.overrideAttrs (old: { dontPatchShebangs = true; })"`
<Kinnison> line 134 has a builtins.readDir call
<radvendii> mariano_: where "package" is the package you want to build
<Kinnison> gchristensen: ultimately the show-trace'd error I get on attempting the nixos-install is https://platypus.pepperfish.net/~dsilvers/nixos/showtrace.txt
<Kinnison> gchristensen: the path in question is not in /nix/store (installer) but is in /mnt/nix/store (where I'd expect it should be trying to look)
<radvendii> mariano_: i.e. overlays are only if you want to change a package everywhere it appears as a dependency of other packages. if you just want to change a single package in a single place, you can just modify it directly
<myeisha> gchristensen: now thinking about putting together a little thing that checks the nixpkgs pull request list every so often for things that are tagged `security` and send an email or w/e when one is merged
<__monty__> Ke: Not necessarily, just because this path is considered "very large" doesn't mean it's among the largest in the store.
<{^_^}> [nixpkgs] @figsoda opened pull request #120087 → nixos/xdg/mime: add config for associations → https://github.com/NixOS/nixpkgs/pull/120087
ram19890 has quit [Ping timeout: 240 seconds]
ahmedelgabri has joined #nixos
sangoma has joined #nixos
ashesham` has quit [Ping timeout: 240 seconds]
ahmedelgabri has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #120088 → nvme-cli: 1.13 -> 1.14 and remove myself as maintainer → https://github.com/NixOS/nixpkgs/pull/120088
<cole-h> dotlambda: ping
<{^_^}> [nixpkgs] @mweinelt merged pull request #120086 → [staging-next] python3Packages.poetry*: fixes → https://github.com/NixOS/nixpkgs/pull/120086
<Kinnison> gchristensen: fascinatingly if I run `sudo nix repl --store /mnt` on my installation system and run builtins.storePath against the "offending" path, I see https://paste.rs/BJ2 by way of strace
<Kinnison> oh no, that's not quite right
griff__ has quit [Quit: griff__]
<Kinnison> I did two things, I did builtins.storePath for the offending path and that fails because it can't stat the stuff in /nix, then I did builtins.storePath for /mnt/nix/store/... (i.e. prefixed with /mnt) and that stats everything fine and then says the path is not in the store
<Kinnison> sorry, straces of repls aren't easy to grok
shibboleth has quit [Quit: shibboleth]
vidbina_ has joined #nixos
<Kinnison> It's as though it's not prefixing the /mnt of the --store when looking for stuff in the store
<{^_^}> [nixpkgs] @Lucus16 opened pull request #120089 → esbuild: init at 0.11.12 → https://github.com/NixOS/nixpkgs/pull/120089
avaq has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @fabaff opened pull request #120090 → wprecon: init at 1.6.3a → https://github.com/NixOS/nixpkgs/pull/120090
ManiacOfMadness has quit [Ping timeout: 260 seconds]
rj has quit [Ping timeout: 240 seconds]
pen has quit [Ping timeout: 240 seconds]
rj has joined #nixos
<DigitalKiwi> committers don't really do anything all they do is post useless output from bots that the bots already post and complain about formatting
<simpson> DigitalKiwi: They also get to bypass the code-review process sometimes, AIUI, especially if they've been committing for a while.
<hexa-> committers get a special pass on being unnecessarily grumpy during nitpicking reviews
shibboleth has joined #nixos
<DigitalKiwi> this is me after sleep let's see if my mood improves after i eat
<hexa-> \s
avaq has joined #nixos
<simpson> Ooh, yes, breakfast is a good idea. I could go for elevensies, personally.
<Kinnison> Hmm, is there a way to get from a package ( e.g. pkgs.bash ) to a listing of its contents?
<Kinnison> (in a pure expression)
pen has joined #nixos
<hexa-> ${pkgs.bash} is an out path
<hexa-> > pkgs.bash
<{^_^}> "<derivation /nix/store/l6jacnrdv1qkyaj6jvkrvczz9fkxf51b-bash-4.4-p23.drv>"
ManiacOfMadness has joined #nixos
<hexa-> or a derivation ._.
<hexa-> > bash.out
<{^_^}> "<derivation /nix/store/l6jacnrdv1qkyaj6jvkrvczz9fkxf51b-bash-4.4-p23.drv>"
<Kinnison> hexa-: can I list its content without resorting to things like builtins.readDir ?
<gchristensen> Kinnison: you can't read the contents of a package during evaluation without invoking import-from-derivation behavior, which is expensive and not great
<Kinnison> gchristensen: i'm trying to come up with a way for https://github.com/nix-community/home-manager/blob/master/modules/programs/vscode.nix#L134 to not use readDir
<Kinnison> gchristensen: since that fails horribly during nixos-install
<{^_^}> [nixpkgs] @georgyo opened pull request #120091 → pulumi-bin: 2.24.1 -> 3.0.0 → https://github.com/NixOS/nixpkgs/pull/120091
<gchristensen> ideally the logic that is being run at evaluation time could be moved to run at build time
ddellaco_ has joined #nixos
jimmiehansson has quit [Remote host closed the connection]
<DigitalKiwi> Kinnison: does rjek know you're here? i can hear the tuts now lol
ddellacosta has quit [Ping timeout: 240 seconds]
<Kinnison> gchristensen: honestly I don't know how I'd go about that, I'm still quite nooby :D
<Kinnison> DigitalKiwi: yes he dos :D
<gchristensen> yeah it is a bit tricky I think :)
<DigitalKiwi> he not msdos tho
<Kinnison> gchristensen: Could I somehow detect nixos-install time "pure"ly and just opt to not install those packages until the next nixos-rebuild ?
<gchristensen> I ... hrm... don't know ...
<MichaelRaskin> I would expect that no
<DigitalKiwi> does it know what generation it is
<MichaelRaskin> Nope
<Kinnison> So ultimately the "right" thing is for this bit of home-manager to be frobbed until it's not using the store at eval time?
<Kinnison> I could do with help filing a good issue if that's the case
Qwerky has joined #nixos
<Kinnison> rycee: unless you happen to be around?
shibboleth has quit [Quit: shibboleth]
<Kinnison> Hmm, can I pass in parameters to a nixos-install which I could query in my expression?
ashesham` has joined #nixos
lom has joined #nixos
ddellacosta has joined #nixos
mcint has quit [Quit: just do it!!!]
ddellaco_ has quit [Ping timeout: 240 seconds]
mcint has joined #nixos
<l-as> you can just nixos-install a different derivation
<Kinnison> This is all flake-y
<l-as> just make a new configuration that is pure then
AmandaC has joined #nixos
<Kinnison> I am very new to all this, I'm trying the vscode-with-extensions package instead, to bypass home-manager's extension building
alexherbo2 has quit [Ping timeout: 246 seconds]
ddellacosta has quit [Ping timeout: 252 seconds]
ddellaco_ has joined #nixos
myeisha_ has joined #nixos
proofofkeags_ has quit [Ping timeout: 252 seconds]
myeisha has quit [Remote host closed the connection]
proofofkeags has joined #nixos
hiro98 has joined #nixos
evanjs has quit [Read error: Connection reset by peer]
ElNomReal has joined #nixos
evanjs has joined #nixos
ivunchata has joined #nixos
<{^_^}> [nixpkgs] @ericdallo opened pull request #120092 → clojure-lsp: 2021.02.14-19.46.47 -> 2021.04.13-12.47.33 → https://github.com/NixOS/nixpkgs/pull/120092
<_anb> Hello, is it possible to install package from a local repo while the channel is empty? I checked out a git repo of nixpkgs, and used "nix-env -f $PWD -i nix", but it showed me an error that my arch is not supported by jdk. I'm not sure why these are related, nix shouldn't rely on java. Is it because nix-env tries to build a cache for all the packages?
evanjs has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Tomahna opened pull request #120093 → metals: 0.10.1 -> 0.10.2 → https://github.com/NixOS/nixpkgs/pull/120093
<gchristensen> _anb: try -iA nix
evanjs has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
<_anb> gchristensen: looks like it works, thank you.
<gchristensen> `-i` evaluates every package looking for packages by their name, and -A is much more efficient, looking directly for the packaeg by its attribute name
rj has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #120094 → [staging-next] python and other fixes → https://github.com/NixOS/nixpkgs/pull/120094
AmandaC has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @sbruder opened pull request #120095 → vapoursynth: R52 -> R53 → https://github.com/NixOS/nixpkgs/pull/120095
AmandaC has joined #nixos
rj has joined #nixos
<cole-h> supersandro2000: ping
shibboleth has joined #nixos
NinjaTrappeur has quit [Ping timeout: 260 seconds]
<hrnz> :neo
<hrnz> oop, sorry
<{^_^}> [nixpkgs] @hdhog opened pull request #120097 → git-chglog: 0.9.1 -> 0.14.2 → https://github.com/NixOS/nixpkgs/pull/120097
meh` has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #120098 → binwalk: init from python3Packages.binwalk → https://github.com/NixOS/nixpkgs/pull/120098
respawn_ has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
NinjaTrappeur has joined #nixos
<Kinnison> gchristensen: Okay I bypassed the problem by using vscode-with-extensions instead of home-manager's extension handling, thanks for talking me through things.
* Kinnison guesses home-manager needs teaching to not do that stuff at eval time
<gchristensen> I'm glad you sorted it! :)
alexherbo2 has joined #nixos
<Kinnison> (and really vscode-with-extensions could do with not using runCommand and being a proper derivation)
* Kinnison had to shonk a // { pname = pkgs.vscode.pname; } on the end of the override :D
<gchristensen> :o
<_anb> gchristensen: does the build run inside some sandbox env? I had the following error: https://pastebin.com/raw/NWFB7Wqf
<gchristensen> yes, but I've got to step away :) hopefully someone here can link to something, or explain, fixed output derivations and the nix sandboxing model
<_anb> gchristensen: thank you all the same.
exondation has joined #nixos
reptarmigan has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « cinnamon.cinnamon-common: fix build regression »: https://git.io/JO6ks
ashesham` has quit [Ping timeout: 252 seconds]
wadii has quit [Ping timeout: 245 seconds]
sangoma has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #120085 → unify: init at 0.5 → https://github.com/NixOS/nixpkgs/pull/120085
cfricke has joined #nixos
vidbina_ has quit [Ping timeout: 240 seconds]
justan0theruser has quit [Ping timeout: 245 seconds]
vidbina_ has joined #nixos
<radvendii> _anb: what's the question? I've actually just had to learn about fixed output derivations myself
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « mate.marco: fix build regression »: https://git.io/JO6kh
hdhog has joined #nixos
hdhog26 has joined #nixos
<_anb> radvendii: Hi, I had a nix installation from source, now I'd like to bootstrap itself, so I ran 'nix-env -f $NIXPKGS -iA nix', but it show me some error about DNS resolution: https://pastebin.com/raw/NWFB7Wqf
<_anb> nix show-config shows sandbox is not enabled.
<radvendii> so i'm not sure why it's coming up in this particular case, but the reason you're getting DNS errors is that in general nix packages are not allowed access to the internet while building
<radvendii> the one exception to that is fixed-output derivations, which specify the hash of their output, so we can be sure it's deterministic. because we know it will be deterministic, they're allowed access to the internet
<radvendii> this is how e.g. fetchurl works
<radvendii> so that's why you're able to curl the file directly, but it's not able to access it inside a derivation
<radvendii> why it's happening in this particular case i'm not sure
<{^_^}> [nixpkgs] @risicle opened pull request #120099 → [20.09] clamav: add patch for CVE-2021-1405 → https://github.com/NixOS/nixpkgs/pull/120099
<radvendii> i'm able to `nix-build '<nixpkgs>' -A nix` on my machine
<hazel[m]> is anyone running Sage here? can't get `plot3d` to work and wondering if it's my problem or something consistent across nixpkgs
<_anb> radvendii: I'm the guy you helped a while ago for macos-aarch64 issue
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #120095 → vapoursynth: R52 -> R53 → https://github.com/NixOS/nixpkgs/pull/120095
<hazel[m]> `f(x, y) = 2*x^2+3*y^2; plot3d(f, (x, -2, 2), (y, -2, 2))`results in a black image rather than any meaningful output
<radvendii> _anb: ohh you're aash haha hey friend!
vidbina_ has quit [Ping timeout: 268 seconds]
<radvendii> one sec, let me look at that file you sent with that information
<SumnerEvans[m]> hazel: did you get any other errors?
<hazel[m]> nope, literally just straight up black image
<hazel[m]> both in cli and jupyter notebook
<_anb> radvendii: yeah, I was on a webirc, and it disconnected. Sure, appreciate the help.
<radvendii> okay so i've never seen an import of something between <> in nixpkgs before
rj has quit [Ping timeout: 240 seconds]
<{^_^}> [nix] @jonringer closed pull request #4619 → Fix gcc10 build again → https://github.com/NixOS/nix/pull/4619
<radvendii> like i knew you could do it on your personal computer, but i'm not sure what it means in nixpkgs itself
<hazel[m]> happens with whatever function I want to use plot3d with
<hazel[m]> 2d plots work fine
Qwerky has quit [Remote host closed the connection]
supersandro2000 has quit [Quit: Ping timeout (120 seconds)]
supersandro2000 has joined #nixos
<_anb> hmmm this is way harder than I thought, maybe I should read nix internals first.
rj has joined #nixos
<radvendii> _anb: can you run "nix repl" from the command line?
Qwerky has joined #nixos
ahmedelgabri has joined #nixos
<_anb> radvendii: I can, what else you want me to run?
<radvendii> import <nix/fetchurl.nix> { url = "https://s3.ap-northeast-1.amazonaws.com/nix-misc.cons.org.nz/stdenv-darwin/aarch64/5803494ca3a3ed823e1ffe6d2c99f816ad64a8d7/sh";sha256 = "1saraa8qgn5n17qw5np2kjk482gk0a4sbblcmy97dkwm38xbidn1"; }
<radvendii> from inside the repl
<_anb> «derivation /Users/anb/nix/store/xgqpz3mmwqva0805qhi56glhzji6kvm8-sh.drv»
<_anb> guess I need to call fetch
orivej has joined #nixos
<radvendii> okay now `nix show-derivation /Users/anb/nix/store/xgqpz3mmwqva0805qhi56glhzji6kvm8-sh.drv` on the command line
reptarmigan has quit [Remote host closed the connection]
<radvendii> in particular i'm looking for the lines with outputHash* as the key
sangoma has joined #nixos
<_anb> "outputHash": "1saraa8qgn5n17qw5np2kjk482gk0a4sbblcmy97dkwm38xbidn1",
ahmedelgabri has quit [Ping timeout: 245 seconds]
<radvendii> is there also outputHashAlgo and outputHashMode?
<_anb> "outputHashAlgo": "sha256" / "outputHashMode": "flat"
<radvendii> okay gotcha. and what do you get when you run `nix-store -r /Users/anb/nix/store/xgqpz3mmwqva0805qhi56glhzji6kvm8-sh.drv`
<radvendii> (i was checking that it's specified as a fixed-output derivation, now i'm checking if you can actually build it)
<_anb> same DNS error.
<_anb> warning: unable to download 'https://s3.ap-northeast-1.amazonaws.com/nix-misc.cons.org.nz/stdenv-darwin/aarch64/5803494ca3a3ed823e1ffe6d2c99f816ad64a8d7/sh': Couldn't resolve host name (6); retrying in 266 ms
<radvendii> okay, well that tells us something at least
<radvendii> it seems like the nix derivation that's being built is fine, it's turing that derivation into an output that's causing problems
<radvendii> are you able to install anything else?
<_anb> let me try bash
<_anb> So first I'd like to confirm I'm doing it right: I haven't added any channel, but cloned a macos-aarch nixpkgs branch, and inside it, I'm going to run "nix-env -f $PWD -iA bash"
<_anb> The first dep it tries to get is the same one: building '/Users/anb/nix/store/rzwnkji1s4738mlq36j2pnl0fvpwz0if-bootstrap-tools.cpio.bz2.drv'...
NinjaTrappeur has quit [Quit: WeeChat 3.1]
<radvendii> ah, okay. so you're just not able to install anything at all
NinjaTrappeur has joined #nixos
<_anb> So the derivation has outputHash{,Mode,Algo}, which means it's a fixed-output derivation, and should be able to access network during build, correct?
<radvendii> correct
<radvendii> i'm not entirely sure why it's not able to do that
<xAr86> test
<_anb> I paste the derivation just in case I missed anything: https://pastebin.com/raw/66Fezx3p
<_anb> it seems the outputHash is not inside the "out" section.
hdhog has quit [Quit: Lost terminal]
tomberek has quit [Ping timeout: 240 seconds]
xAr86 has left #nixos [#nixos]
xAr86 has joined #nixos
<radvendii> yeah, no, that's the same as i have
<radvendii> so the issue isn't the derivation
NinjaTrappeur has quit [Ping timeout: 246 seconds]
xAr86 has left #nixos [#nixos]
xAr86 has joined #nixos
NinjaTrappeur has joined #nixos
xAr86 has left #nixos [#nixos]
xAr86 has joined #nixos
sangoma has quit [Ping timeout: 240 seconds]
<radvendii> the nix sandbox is being hyperactive. i don't know why though
<{^_^}> [nixpkgs] @fabaff opened pull request #120100 → python3Packages.omnilogic: 0.4.3 -> 0.4.5 → https://github.com/NixOS/nixpkgs/pull/120100
reptarmigan has joined #nixos
Qwerky has quit [Remote host closed the connection]
<_anb> I should have that disabled from nix show-config
vs^ has quit []
vidbina_ has joined #nixos
<_anb> It might be related to TLS, as I see a successful HTTP connection from the logs
teto has quit [Quit: WeeChat 3.1]
ahmedelgabri has joined #nixos
rj has quit [Ping timeout: 240 seconds]
<radvendii> _anb: that wouldn't result in a DNS error though, would it?
rj has joined #nixos
ben71 has joined #nixos
<_anb> Not quite sure. But the curl I built for nix bootstrap works correctly, and I don't even see DNS request from tcpdump output...
<ben71> has anyone had any experience with setting up openvpn ? ive followed the guide but am now stuck ... probably missing something simple
<{^_^}> [nixpkgs] @therealansh opened pull request #120101 → [WIP] zellij: init at 0.5.0-beta → https://github.com/NixOS/nixpkgs/pull/120101
<{^_^}> [nixpkgs] @Ma27 merged pull request #120082 → tor-browser-bundle-bin: 10.0.15 -> 10.0.16 → https://github.com/NixOS/nixpkgs/pull/120082
xAr86 has quit [Quit: Goodbye!]
xAr86 has joined #nixos
<radvendii> ben71: i tried that a while ago and couldn't get it working. ended up going with wireshark
<radvendii> wireguard*
<radvendii> lol
<ben71> radvendii thanks ill give that a shot, the server im conencting to uses openvpn but im assuming they can work together
zupo has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed commit from @FliegendeWurst to release-20.09 « tor-browser-bundle-bin: 10.0.15 -> 10.0.16 »: https://git.io/JO6Gu
<radvendii> ben71: oh i have no idea if they can work together. i was setting up the server also
<_anb> ben71: they cannot unfortunately
<ben71> :-(
<{^_^}> [nixpkgs] @vbgl opened pull request #120102 → coqPackages.paramcoq: enable for Coq 8.13 → https://github.com/NixOS/nixpkgs/pull/120102
<ben71> the service starts successfully and everything looks good (no errors) but i simply cant conect
<_anb> ben71: if you have kernel > 5.6, it's easier to use wireguard for 1:1 vpn, but if you want the connection between multiple peers, openvpn can save you soem configuration.
Qwerky has joined #nixos
reptarmigan has quit [Remote host closed the connection]
<ben71> unfortunately i dont control the server and it uses openvpn
<_anb> then you *have* to use openvpn client :-(
reptarmigan has joined #nixos
<ben71> any suggestions on troubleshooting ?
<_anb> How do you know you cannot connect?
<ben71> well when i use an IP trace it is still showing my local ip
<ben71> and i cant connect to the thing i should be able to when im connected
<_anb> You need to know what routes the server sent to you.
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « keybase-gui: fix build regression »: https://git.io/JO6Z1
<_anb> But first, you should check client logs, to see if there's any error.
<{^_^}> [nixpkgs] @fabaff opened pull request #120103 → python3Packages.yeelight: 0.6.0 -> 0.6.1 → https://github.com/NixOS/nixpkgs/pull/120103
<ben71> openvpn[5624]: TLS Error: TLS handshake failed
dckc has quit [Read error: Connection reset by peer]
Cale has quit [Remote host closed the connection]
<_anb> maybe the server cert isn't correct, or something else, you can check the server config, or contact the admin of the server.
Cale has joined #nixos
<ben71> i got the config directly from the server admin but ill keep investigating
dckc has joined #nixos
dsrt^ has joined #nixos
<{^_^}> [nixpkgs] @Luflosi opened pull request #120104 → nixos/ipfs: fix typo in comment → https://github.com/NixOS/nixpkgs/pull/120104
fuiltilt has joined #nixos
Lord_of_Life_ has joined #nixos
respawn_ has quit [Quit: Leaving]
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life_ is now known as Lord_of_Life
hdhog26 has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @Luflosi opened pull request #120105 → nixos/cpu-freq: fix typo in description → https://github.com/NixOS/nixpkgs/pull/120105
mariano_ has quit [Ping timeout: 246 seconds]
ikko[m] has joined #nixos
cyrinux has quit [Quit: bye]
cyrinux has joined #nixos
rj has quit [Ping timeout: 240 seconds]
ahmed_elgabri has joined #nixos
hiro98 has quit [Ping timeout: 240 seconds]
ahmedelgabri has quit [Ping timeout: 245 seconds]
bitmapper has quit [Quit: Connection closed for inactivity]
milahu has joined #nixos
rj has joined #nixos
alexherbo2 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #120075 → phpPackages.composer: 2.0.11 -> 2.0.12 → https://github.com/NixOS/nixpkgs/pull/120075
meh` has joined #nixos
sciamp has joined #nixos
alexherbo2 has joined #nixos
<Raito_Bezarius> I have seen some people packaging some mods for Factorio, does anyone know how to guess arbitrary URLs for any mod?
<Raito_Bezarius> on the Mods Portal, the network shows that it uses some key of mine to get the mods
lordcirth has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #120056 → chromium: 90.0.4430.72 -> 90.0.4430.85 → https://github.com/NixOS/nixpkgs/pull/120056
<{^_^}> [nixpkgs] @vbgl merged pull request #119940 → ocamlPackages.irmin*: 2.5.2 -> 2.5.3 → https://github.com/NixOS/nixpkgs/pull/119940
mayhew has joined #nixos
<{^_^}> [nixpkgs] @doronbehar merged pull request #120038 → [20.09] zoom-us: 5.6.13632.0328 -> 5.6.16775.0418 → https://github.com/NixOS/nixpkgs/pull/120038
ivunchata has quit [Quit: ivunchata]
<{^_^}> [nixpkgs] @fabaff opened pull request #120106 → python3Packages.faadelays: 0.0.6 -> 0.0.7 → https://github.com/NixOS/nixpkgs/pull/120106
<{^_^}> [nixpkgs] @bjornfor merged pull request #120067 → jenkins: 2.277.2 → 2.277.3 → https://github.com/NixOS/nixpkgs/pull/120067
cyrinux has quit [Quit: bye]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nickli has quit [Ping timeout: 276 seconds]
cyrinux has joined #nixos
Nickli has joined #nixos
fendor has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Luflosi opened pull request #120107 → diffutils: name -> pname → https://github.com/NixOS/nixpkgs/pull/120107
bitmapper has joined #nixos
Swant has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #120108 → nixpkgs-review: 2.5.0 -> 2.6.0 → https://github.com/NixOS/nixpkgs/pull/120108
<{^_^}> [nixpkgs] @zowoq opened pull request #120109 → nix-update: 0.3.2 -> 0.4.0 → https://github.com/NixOS/nixpkgs/pull/120109
xAr86 has quit [Quit: Goodbye!]
xAr86 has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #120110 → podman: 3.1.1 -> 3.1.2 → https://github.com/NixOS/nixpkgs/pull/120110
<{^_^}> [nix] @matthewbauer opened pull request #4727 → Get deriver when passing --derivation → https://github.com/NixOS/nix/pull/4727
<{^_^}> [nixpkgs] @fabaff merged pull request #120104 → nixos/ipfs: fix typo in comment → https://github.com/NixOS/nixpkgs/pull/120104
<{^_^}> [nixpkgs] @fabaff opened pull request #120111 → python3Packages.pysonos: 0.0.40 -> 0.0.43 → https://github.com/NixOS/nixpkgs/pull/120111
cfricke has quit [Quit: WeeChat 3.1]
Swant is now known as IKEA
IKEA has quit [Remote host closed the connection]
Swant has joined #nixos
cyrinux has quit [Quit: bye]
vidbina_ has quit [Ping timeout: 260 seconds]
rj has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bachp opened pull request #120112 → cryptomator: 1.5.14 -> 1.5.15 → https://github.com/NixOS/nixpkgs/pull/120112
cyrinux has joined #nixos
<{^_^}> [nixpkgs] @fabaff merged pull request #120098 → binwalk: init from python3Packages.binwalk → https://github.com/NixOS/nixpkgs/pull/120098
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5c0e6a8c319 (from 85 minutes ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
rj has joined #nixos
slack1256 has quit [Remote host closed the connection]
zupo has joined #nixos
collares has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #120113 → python3Packages.angr: don't override unicorn → https://github.com/NixOS/nixpkgs/pull/120113
<collares> does ofBorg cross-compile to aarch64-linux?
<collares> or is it a native build?
lom has quit [Quit: WeeChat 3.1]
<sterni> native
<collares> thanks!
griff__ has joined #nixos
<collares> I am trying to update singular and it fails on ofBorg when running configure. configure.ac does AX_PROG_CC_FOR_BUILD and the test that CC_FOR_BUILD is a working compiler fails
<collares> which is suspicious because CC is working fine and there is no cross-compilation involved
<collares> anyway, back to debugging :)
pen has quit [Ping timeout: 240 seconds]
ddellacosta has joined #nixos
ElNomReal has quit [Ping timeout: 246 seconds]
jumper149 has quit [Quit: WeeChat 3.1]
ddellaco_ has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5c0e6a8c319 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<{^_^}> [nixpkgs] @fabaff opened pull request #120114 → python3Packages.hyperion-py: init at 0.7.4 → https://github.com/NixOS/nixpkgs/pull/120114
exondation has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #120115 → python3.pkgs.sphinx-markdown-parser: init at 0.2.4 → https://github.com/NixOS/nixpkgs/pull/120115
exondation has joined #nixos
shofius has joined #nixos
<myeisha_> is there someone we should poke for changes to startx?
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #120117 → texmacs: 1.99.18 -> 1.99.19 → https://github.com/NixOS/nixpkgs/pull/120117
rj_ has joined #nixos
rj has quit [Ping timeout: 240 seconds]
shofius has quit [Remote host closed the connection]
rj_ has quit [Ping timeout: 240 seconds]
shofius has joined #nixos
ahmed_elgabri has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @adisbladis merged pull request #120110 → podman: 3.1.1 -> 3.1.2 → https://github.com/NixOS/nixpkgs/pull/120110
Qwerky has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #120109 → nix-update: 0.3.2 -> 0.4.0 → https://github.com/NixOS/nixpkgs/pull/120109
<{^_^}> [nixpkgs] @fabaff opened pull request #120118 → Dsmr parser → https://github.com/NixOS/nixpkgs/pull/120118
erasmas has quit [Quit: leaving]
rj_ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @mweinelt closed pull request #119909 → [20.09] clamav: 0.102.4 -> 0.103.2 → https://github.com/NixOS/nixpkgs/pull/119909
Qwerky has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #120099 → [20.09] clamav: add patch for CVE-2021-1405 → https://github.com/NixOS/nixpkgs/pull/120099
nisstyre has quit [Ping timeout: 258 seconds]
Qwerky has quit [Ping timeout: 252 seconds]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #120114 → python3Packages.hyperion-py: init at 0.7.4 → https://github.com/NixOS/nixpkgs/pull/120114
lsix has quit [Ping timeout: 260 seconds]
<{^_^}> [nix] @matthewbauer closed pull request #4496 → Add --include-eval-refs to StorePathCommands → https://github.com/NixOS/nix/pull/4496
yaymukund has joined #nixos
griff__ has quit [Quit: griff__]
<radvendii> how does nix decide which -lblah flags to include when linking a library/executable? or is that the job of the build system like CMake?
sciamp has quit [Quit: Konversation terminated!]
pushqrdx has joined #nixos
pushqrdx has quit [Remote host closed the connection]
ahmed_elgabri has joined #nixos
ben71 has quit [Quit: Connection closed]
pushqrdx has joined #nixos
<pushqrdx> if packages built with nix suffer from the same issue that it's interpreter and linking pathes are hardcoded how can i build packages using nix for normal distros?
<Mic92> Maybe just use a nix-shell but not a nix expression. Otherwise nothing stops you from using `/usr/bin/env`.
<Mic92> linked binaries is an issue so.
<pushqrdx> wdym of just use nix-shell does it make a difference? would interpreter be also hard coded to the compiler even if manually build inside nix-shell?
ahmed_elgabri has quit [Ping timeout: 250 seconds]
ben77 has joined #nixos
nisstyre has joined #nixos
<radvendii> pushqrdx: i just did a bunch of work on this for building AppImages using nix, and I had to go through and patchelf all the executables / libraries to point to the usual location for a linker
<{^_^}> [nixpkgs] @fabaff opened pull request #120119 → python3Packages.httpcore: 0.12.3 -> 0.13.0 → https://github.com/NixOS/nixpkgs/pull/120119
rj_ has quit [Ping timeout: 240 seconds]
<pushqrdx> radvendii i wonder if there might be an easier and automated way to build using nix but for normal distros
<pushqrdx> like auto patch elf maybe but in reverse
<pushqrdx> how can nix even be used in CI if it produces binaries that need nix and aren't portable
<radvendii> pushqrdx: check out nix-bundle, it might be what you're looking for
<radvendii> that's what i was talking about with building AppImages
avaq has quit [Ping timeout: 245 seconds]
<radvendii> i'm not sure anyone *does* use nix for CI for non-nix distros
<radvendii> the AppImage stuff I was working on hasn't been merged yet, but you can see it on my fork: https://github.com/radvendii/nix-bundle
rj_ has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
<pushqrdx> radvendii it sucks that building for non nix isn't built in because yeah i can use it as a dev environment on other distros but produce stuff that won't run outside of a nix-shell or without nix installed
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @mweinelt merged pull request #120118 → python3Packages.dsmr-parser: init at 0.29 → https://github.com/NixOS/nixpkgs/pull/120118
<radvendii> pushqrdx: my impression of this is that Nix at its core is not a build system, though it can (sort of) be used as such. it's a package management system
<radvendii> pushqrdx: but i've also described to you a way to use Nix to build for other systems. what about that is not what you're looking for?
<pushqrdx> radvendii but even if i use it purely as a package manager + nix-shell if i build something from a shell it will have the store path hardcoded into them right?
<pushqrdx> s/path/paths
<radvendii> no
<radvendii> for instance i'm pretty sure if you just build something on nixos without using a nix expression, it won't run
<pushqrdx> radvendii yeah i think i remember that, i have to wrap or set LD_LIB to correct locations
meh` has quit [Ping timeout: 240 seconds]
<pushqrdx> hmm, if i can build inside a shell and make install on my system that would be awesome
<pushqrdx> though i wonder how runtime dependencies are gonna behave in that situation
alexherbo2 has joined #nixos
<radvendii> that's true of any distro though. if you compile on one machine with dependencies in certain places, and the build system hard-codes those locations, then you won't be able to run it elsewhere
<pushqrdx> radvendii i was talking about a normal linux distro + nix as a package manager
reptarmigan has quit [Quit: Konversation terminated!]
syhn has joined #nixos
ddellacosta has quit [Remote host closed the connection]
ddellaco_ has joined #nixos
griff__ has joined #nixos
domogled has joined #nixos
m0rphism has quit [Ping timeout: 240 seconds]
ddellaco_ has quit [Ping timeout: 260 seconds]
<radvendii> sure
<radvendii> it's true of any SBPM too
<radvendii> why would you expect to be able to apt-get something and then move it onto a system without apt installed?
bvdw has quit [Quit: Ping timeout (120 seconds)]
bvdw has joined #nixos
attila_lendvai has quit [Ping timeout: 240 seconds]
<radvendii> what is the situation that is normally possible that is not possible with nix?
<{^_^}> [nixpkgs] @mweinelt pushed 32 commits to staging-next: https://git.io/JO6Kn
zhaofeng1 has quit [Quit: Bridge terminating on SIGTERM]
<{^_^}> [nixpkgs] @fabaff merged pull request #120105 → nixos/cpu-freq: fix typo in description → https://github.com/NixOS/nixpkgs/pull/120105
<joedevivo> Is it possible to re-sign store paths in a binary cache? If not, what would you do if your private key got leaked?
<{^_^}> [nixpkgs] @mweinelt pushed to staging-next « python-packages.nix: remove trailing whitespace »: https://git.io/JO66w
civodul has quit [Ping timeout: 260 seconds]
rj_ has quit [Ping timeout: 240 seconds]
<syhn> just getting my feet wet with nix and I can't seem to find how etworking.interfaces.<name>.macAddress actually sets the interface's MAC when not using NetworkManager or networkd
<syhn> setting the value doesn't actually change the MAC and I'm trying to figure out why
<lukegb> syhn: it drops .link files in, even if systemd-networkd is disabled
rj_ has joined #nixos
<lukegb> (by settings systemd.network.links)
<lukegb> these are parsed by udev, not systemd-networkd, so this is Fine
ddellaco_ has joined #nixos
myeisha_ has quit [Quit: WeeChat 3.1]
ddellaco_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nix] @matthewbauer opened pull request #4728 → Add traceContext primop → https://github.com/NixOS/nix/pull/4728
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/5c0e6a8c319 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
<{^_^}> [nixpkgs] @schnusch opened pull request #120121 → esbuild: init at v0.11.12 → https://github.com/NixOS/nixpkgs/pull/120121
<ben77> how can the firewall logs be viewed ?
<pushqrdx> radvendii i know it's true for other package mans what i was talking about is nix-build where paths will be hardcoded however if nix-shell doesn't do that then yeah it will be pretty much like others
ddellacosta has joined #nixos
<radvendii> you'll have to try it out. i'm not sure how it behaves on non-nixos
<radvendii> if I'm compiling things statically, and we have libraries A -> B -> C where -> means "depends on", then i shouldn't have to have library C around when compiling library A, right?
collares has quit [Quit: leaving]
<radvendii> because library B has all those dependencies statically compiled in
<radvendii> like it's weird to get a "undefined reference" error from a .a file?
supersandro2000 is now known as Guest37093
supersandro2000 has joined #nixos
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm has joined #nixos
iceypoi has quit [Ping timeout: 260 seconds]
ddellacosta has quit [Ping timeout: 246 seconds]
iceypoi has joined #nixos
ben77 has quit [Ping timeout: 240 seconds]
cr4y1 has quit [Ping timeout: 245 seconds]
Guest37093 has quit [Ping timeout: 240 seconds]
gustavderdrache has joined #nixos
ahmed_elgabri has joined #nixos
aaabbbbbbbbbb has quit [Ping timeout: 252 seconds]
<pushqrdx> radvendii yes but that's true if you statically compiling B too i think
ahmed_elgabri has quit [Ping timeout: 260 seconds]
<radvendii> yeah everything is static
<radvendii> huh
<radvendii> i don't know why this is happening then
Izorkin_ has joined #nixos
<radvendii> i'm cross-compiling statically with windows as the target the libraries in question are SDL2_mixer -> libvorbis -> libogg
Izorkin has quit [Ping timeout: 260 seconds]
Izorkin_ is now known as Izorkin
<radvendii> and i have to stick NIX_LDFLAGS = [ "-logg" ]; in the recipe for SDL2_mixer or it complains about undefined references in libvorbis.a
Jd007 has quit [Quit: Jd007]
thc202 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120117 → texmacs: 1.99.18 -> 1.99.19 → https://github.com/NixOS/nixpkgs/pull/120117
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120112 → cryptomator: 1.5.14 -> 1.5.15 → https://github.com/NixOS/nixpkgs/pull/120112