nixpkgs
devshell
nixpkgs | devshell | |
---|---|---|
1,020 | 14 | |
19,196 | 1,306 | |
2.9% | 2.0% | |
10.0 | 6.9 | |
3 days ago | about 1 month ago | |
Nix | Nix | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nixpkgs
-
Sixos: A Nix OS without systemd [video]
https://github.com/NixOS/nixpkgs/pull/372170 is a promising step towards running multiple instances of a service with separate configurations.
-
How I Use Home Assistant in 2025
That's why I asked about attitude, not anything else.
"I release my code under FOSS license, but if anyone distribute it in a way I consider not nice, I will re-license it just to screw them over." [1]
When I was considering using HA and was casually browsing community discussions, there were many posts gave me similar feeling like above case. There were other technical reasons that I decided to not to use HA, but this certainly left a really bad taste in my mouth.
1. https://github.com/NixOS/nixpkgs/pull/126326#issuecomment-86...
-
Easy development environments with Nix and Nix flakes!
Next, let's talk about what pkgs = import nixpkgs { inherit system; }; does. The import function takes in a path, and evaluates it if it is a path to a Nix file, or evaluates the default.nix file within the directory if it is a path to a directory (which is the case when a flake reference, like nixpkgs is passed to import), and returns the evaluation. Since nixpkgs points to the nixpkgs flake, which is a directory, it evaluates the default.nix file present within the flake, which in the case of nixpkgs returns a function accepting, among others, an argument for the current system, which is what we have passed to it. It then returns the set of packages for that system, which is what is bound to pkgs.
-
Nix – Death by a Thousand Cuts
I look at the Nix definition for the relevant module as you often need to see what it's actually doing in order to understand it (yes, it's one of those ecosystems).
For example, for the `steam` program (not package - the package is a dummy): https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/p... and then look for "lib.mk".
-
Getting started with Nix and Nix Flakes
lolcat is specified to the nix shell command as nixpkgs#lolcat. This is termed as an installable, and in this case, is a flake reference (more about that later). nixpkgs#lolcat is actually a URL with path nixpkgs, and fragment, i.e. the part after the #, lolcat. nixpkgs is an alias which resolves to the nixpkgs-unstable branch of the Nixpkgs GitHub repository, a vast collection of Nix packages. There are other stable branches of nixpkgs, like nixpkgs-24.11, the latest one as of writing. There are quite a few other aliases too, Nix downloads the list from this JSON file. If you omit the URL host, it defaults to the current directory (.).
-
My new Nix series!
The Nix language is used to create packages for the nix ecosystem. Nix packages, as described earlier, are built in isolation from each other, ensuring that there is no dependency hell and allows multiple versions of a package to seamlessly coexist at the same time. Nix packages are derivations: "a specification for running an executable on precisely defined input files to repeatably produce output files at uniquely determined file system paths". Nix also provides useful builtin functions and a standard environment to make packaging easier. These packages can then be shared, like any other file, and built by other people without any hassle, since Nix guarantees reproducibility. A collection of 120,000+ packages is available in the nixpkgs repository.
- Ghostty 1.0
-
Feed readers which don't take "no" for an answer
This post (before reading your comment) actually made me look into my own freshrss setup.
NixOS defaults to refresh frequency of every 5 minutes[0] (0_0).
I had noticed some blackholing me before, but never quite made the connection.
So now it is configured to fetch every 12 hours. I believe that is fair.
[0] https://github.com/NixOS/nixpkgs/blob/d70bd19e0a38ad4790d391...
-
SingleFile: A Web Extension to save a complete web page into a single HTML file
If anyone wants to help me update the nix package for the CLI, I'd appreciate it. The whole Deno thing is foreign territory for me.
https://github.com/NixOS/nixpkgs/blob/81629effd3f7e0cea0c1cf...
-
Make your QEMU 10 times faster with this one weird trick
NixOS has switched to virtiofs 4 days ago: https://github.com/NixOS/nixpkgs/pull/362081
Not all use-cases are faster with virtiofs.
devshell
- Show HN: Flox 1.0 – Open-source dev env as code with Nix
-
Any tips for setting up a local development environment for wordpress?
numtide/devshell is cool little extension to bare devshells, you may wanna have it.
- Devshell – like virtualenv, but for all the languages
-
Devenv.sh: Fast and reproducible developer environments using Nix
There is also devshell[1] which allows you to configure specific commands for your `env` and sits inside your flake.
[1]: https://github.com/numtide/devshell
-
Just, Nix Shell and Podman are a Killer Combo
devshell is pretty useful too :)
- Ask HN: What is your development workflow on the MacBook M1?
-
Building a highly optimized home environment with Nix
I'm new to the Nix world, but so far I've come across Divnix's Digga, Numtide's DevShell, and Misterio77's nix-starter-configs.
-
Annoncing Shix, tailored development shells made with Nix
How does it differ from https://github.com/numtide/devshell ?
-
Nim packages stats
But take a look at devshell is like the NixOS/HomeManager of your (any language) project. I over abused it to create YAML files and to use Nim as script
-
Use remote package derivation file with nix-shell --packages option
Here's an example with devShell as a remote repository: sh nix-shell -p '(import (fetchGit "https://github.com/numtide/devshell") {}).cli'
What are some alternatives?
zen-kernel - Zen Patched Kernel Sources
devenv - Fast, Declarative, Reproducible, and Composable Developer Environments
waydroid - Waydroid uses a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.
nix-direnv - A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
nix-config - :space_invader: NixOS configuration
nixos - My NixOS Configurations
nixos-nvidia-vgpu - NixOS NVIDIA vGPU Module
git-lfs - Git extension for versioning large files
spack - A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
flake-template - My template for Nix flakes