nixos

1262 readers
2 users here now

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

founded 5 years ago
101
102
 
 

GitHub Repository: https://github.com/nix-community/nix-init

Features

  • Rust: support importCargoLock
  • Rust: improve dependency inference, it now sets environment variables and is feature-aware
  • Prompt for output path when it is unspecified
  • Go: infer ldflags from GoReleaser configuration
  • Python: recognize maturinBuildHook
  • Improve builder completions and validator
  • Improve description normalization
  • Improve version inference

Changes

  • Python: update buildPythonPackage's style to be more conventional
  • Disallow empty urls
  • Normalize pname

Fixes

  • PyPI: support optional dependencies (#34)
  • PyPI: support zip sdists (#33)
  • PyPI: don't strip digits from package names (#35)
  • PyPI: handle normalized sdist file names (#32)
  • PyPI: accept packages without licenses (#32)
  • PyPI: filter out non-sdist versions
  • Go: detect empty vendor from go.sum instead of FOD hash
103
 
 

Announcement on NixOS Discourse

Features

  • Hash prefetching powered by nurl
  • Dependency inference for Rust packages using the Riff registry and python projects
  • Interactive prompts with fuzzy tab completions
  • License detection
  • Supported builders
    • stdenv.mkDerivation
    • buildRustPackage
    • buildPythonApplication and buildPythonPackage
    • buildGoModule
  • Supported fetchers
    • fetchCrate
    • fetchFromGitHub
    • fetchFromGitLab
    • fetchFromGitea
    • fetchPypi
    • All other fetchers supported by nurl are also supported, you just have to specify the tags manually

Usage

Usage: nix-init [OPTIONS] <OUTPUT>

Arguments:
  <OUTPUT>  The path to output the generated file to

Options:
  -u, --url <URL>        Specify the URL
  -c, --config <CONFIG>  Specify the config file
  -h, --help             Print help
  -V, --version          Print version
104
 
 

1652 contributors, who authored 30371 commits since the previous release.

NixOS is already known as the most up to date distribution while also being the distribution with the most packages.

This release saw 16678 new packages and 14680 updated packages in nixpkgs. We also removed 2812 packages in an effort to keep the package set maintainable and secure. In addition to packages the NixOS distribution also features modules and tests that make it what it is. This release brought 91 new modules and removed 20. In that process we added 1322 options and removed 487.

105
 
 

Perhaps nix & NixOS are two sufficiently broad sub-topics, but since both communities have been rather quiet (right now), perhaps they should be consolidated?

I'll be attempting to contact @Atemu@lemmy.ml (!nix@lemmy.ml mod) to discuss this, but I wanted to open it up to the community for a chance to provide feedback, arguments for/against, etc.

106
107
108
109
 
 

I find myself reconfiguring my smartphone countless times; much more than my computer. Is there something that works like nix to define my config on a device, like apps, email, calendar accounts, etc.?

110
111
 
 

Was browsing the NixOS discourse forum and saw that there were job offerings with little to no attention, so I'm boosting here.