Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Atemu, to asklemmy in Atheists/agnostics of Lemmy, do you believe in the existence of souls?
@Atemu@lemmy.ml avatar

I’m agnostic, so obviously my view on that is that we simply don’t know.

Atemu, to opensource in What OS or FOSS SMS app do you use that supports RCS?
@Atemu@lemmy.ml avatar

Synapse is AGPL-3.0.

Atemu, to linux in Does Nix's break from FHS cause problems?
@Atemu@lemmy.ml avatar

If I am packaging software for gentoo, all I have to do is translate the build instructions from the project’s documentation to gentoo’s package recipe.

It’s the same for Nixpkgs.

In nix, it seems that it is not that simple and you’ll have to do some exploration. Am I wrong?

In well behaved build systems, it’s likely easier to package than most other distros. If it’s not as well behaved you will have to do some “exploration” and the complexity can get quite out of control if the build system is exceptionally terrible.

Here is the package for the GNU hello program which uses a well-behaved build system:

github.com/NixOS/nixpkgs/blob/…/package.nix

If you ignore the optional passthru.tests, this is very simple. You provide metadata, sources etc. to the generic mkDerivation function and that’s it. The most complex non-standard thing this derivation does is enable the build system’s tests.

You don’t even need to run the provided build instructions because Nixpkgs’ stdenv abstracts those away. If it finds a makefile, it’ll automatically run make and make install with the correct flags for instance. Same for other standard build systems; if you pass cmake into nativeBuildInputs, it’ll attempt to build, install, check etc. using cmake’s standardised interfaces.

If the build system is poorly behaved however (like for instance Anki’s), you will have to get into the weeds and do some rather advanced things:

github.com/NixOS/nixpkgs/blob/…/default.nix

Luckily though, most packages aren’t like this.

Atemu, (edited ) to privacy in Accept cookie banners with third-party cookies rejected
@Atemu@lemmy.ml avatar

Cookie banners are not really about cookies.

What they’re actually asking for is consent to process your data for profit in unethical ways. That usually involves cookies but could theoretically be done entirely without. They’re just a technological standard.

You might aswell say: “We use https. [consent] [settings]”

Atemu, to linux in Flakes aren't real and cannot hurt you: a guide to using Nix flakes the non-flake way
@Atemu@lemmy.ml avatar

There’s the WIP NixOS-based SnowflakeOS that aims to make NixOS approachable for mere mortals but that’s still declarative configuration and of course still NixOS under the hood.

There’s a bunch of immutable distros out there that use OStree or some other imperatively managed snapshotting mechanism such as Fedora Silverblue or VanillaOS.

Atemu, to opensource in FOSS Miracast/WiDi receiver for Android TV?
@Atemu@lemmy.ml avatar

Not what you’re asking for but a potential solution: Your TV itself might support Miracast.

Atemu, to opensource in Thoughts on Post-Open Source?
@Atemu@lemmy.ml avatar

Is there a court case about this already? Because that’s clearly not the intention of the GPL.

Atemu, to linux in nix warnings
@Atemu@lemmy.ml avatar

Check your nix.conf.

Atemu, to linux in Considering Gentoo
@Atemu@lemmy.ml avatar

I’d also add a build machine to the setup. Building a modern desktop system on such a machine would take days.

Atemu, to linux in Manjaro OS
@Atemu@lemmy.ml avatar

These aren’t all versions per se but mostly variants, versions and versions of variants. For example, we have packaged the xanmod kernel which is a modified kernel optimised for desktop use but it has two variants: Main and LTS. We have packaged both.

Here are the names of all of our kernels currently to give you an idea (as a JSON list):


<span style="color:#323232;">[
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages-libre"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages-rt"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages-rt_latest"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_4_14"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_4_19"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_4_19_hardened"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_4_9"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_5_10"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_5_10_hardened"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_5_15"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_5_15_hardened"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_5_18"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_5_19"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_5_4"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_5_4_hardened"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_6_0"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_6_1"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_6_1_hardened"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_6_2"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_6_3"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_6_4"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_6_5"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_6_5_hardened"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_6_6"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_custom"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_custom_tinyconfig_kernel"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_hardened"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_latest"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_latest-libre"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_latest_hardened"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_latest_xen_dom0"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_latest_xen_dom0_hardened"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_lqx"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_rpi0"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_rpi02w"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_rpi1"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_rpi2"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_rpi3"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_rpi4"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_rt_5_10"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_rt_5_15"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_rt_5_4"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_rt_6_1"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_testing"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_testing_bcachefs"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_xanmod"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_xanmod_latest"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_xanmod_stable"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_xen_dom0"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_xen_dom0_hardened"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"linuxPackages_zen"
</span><span style="color:#323232;">]
</span>

(Note that some of these are aliases; linuxPackages_latest is currently linuxPackages_6_6 for example.)

Each of these has the following nvidiaPackages (modulo incompatibilities):


<span style="color:#323232;">[
</span><span style="color:#323232;">  </span><span style="color:#183691;">"beta"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"dc"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"dc_520"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"latest"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"legacy_340"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"legacy_390"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"legacy_470"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"production"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"stable"</span><span style="color:#323232;">,
</span><span style="color:#323232;">  </span><span style="color:#183691;">"vulkan_beta"
</span><span style="color:#323232;">]
</span>

(Again, some of these are aliases.)

This is useful to have because users might have hardware constraints. It’s not hard to imagine a scenario where a user might have a WiFi chip that only works with kernel ABIs < 5.4 and require the 470 nvidia driver for their old GPU. Packaging just the latest kernel and just the latest Nvidia driver would make this user unable to use their system.

Atemu, to linux in Wlroots 0.17.0 released
@Atemu@lemmy.ml avatar

GTK 4 does not, possibly in a future version

That would be news to me. Has GTK finally managed to switch away from using actual real hardware pixels as its base unit for measurement?

Atemu, to privacy in NixOS
@Atemu@lemmy.ml avatar

And entirely optional.

Atemu, to linux in Bcache is amazing!: Making HDD way faster!
@Atemu@lemmy.ml avatar

Note that bcache and bcachefs are different things. The latter is extremely new and not ready for “production” yet. This post is about bcache.

Atemu, to linux in Overheating laptop, should I try a lighweight distro - which one?
@Atemu@lemmy.ml avatar

WDYM by “overheat”?

Atemu, to privacy in You're saying Google Play Services are spyware? Banned!!!
@Atemu@lemmy.ml avatar

Why is it that GrapheneOS/CalyxOS always seem to attract these kinds of people?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #