Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
figsoda@lemmy.ml to nixos@lemmy.ml · 2 years ago

Developing Nix Libraries with Subflakes

figsoda.github.io

external-link
message-square
0
fedilink
1
external-link

Developing Nix Libraries with Subflakes

figsoda.github.io

figsoda@lemmy.ml to nixos@lemmy.ml · 2 years ago
message-square
0
fedilink
A library usually consists of two parts: the implementation, which implements the public interface people are able to use, and development, which can be anything from testing to deployment. It is very common for the development part to have its own dependencies in addition to what the implementation part requires, things like testing frameworks and formatters. The Problem Some package managers allow users to specify development-only dependencies, for example, Cargo (Rust’s package manager) supports this with the dev-dependencies table:
alert-triangle
You must log in or # to comment.

nixos@lemmy.ml

nixos@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !nixos@lemmy.ml

All about NixOS - https://nixos.org/

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 20 users / month
  • 39 users / 6 months
  • 15 local subscribers
  • 1.5K subscribers
  • 118 Posts
  • 340 Comments
  • Modlog
  • mods:
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org