Globset for Nix Source Filtering
Hi there! I am Edgar and I wanted to share with you “globset”, a Nix library to help specify what sources to include when building a Nix package using familiar glob patterns like “*/*.go”. Nix is package manager and meta build system, in that you glue together compilers and other build systems in repeatable sandboxes like “docker build”. When specifying the source inputs to a Nix package, you typically end up with irrelevant files that when changed causes a rebuild unnecessarily. “globset” provides a concise and simple way of specifying what sources should be included. It is built on…
Globset for Nix Source Filtering launched on October 25, 2024 with 7 votes, #1,457 of 5,185 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 1 year on.
What it does
Simplify Nix source management using familiar glob patterns - pdtpartners/globset
globset is a Nix library that enables familiar globbing patterns for filesets , providing a simple interface for source filtering. The core is a port of bmatcuk's excellent doublestar Golang library for globs. { inputs = { nixpkgs . url = "github:nixos/nixpkgs" ; globset = { url = "github:pdtpartners/globset" ; inputs . nixpkgs-lib . follows = "nixpkgs" ; } ; } ; outputs = { self , nixpkgs , globset } : let system = "x86_64-linux" ; pkgs = import nixpkgs { inherit system ; } ; in { packages . ${ system } . foobar = pkgs . buildGoModule { /* ... */ src = lib . fileset . toSource { root = ./. ; fileset = globset . lib . globs ./. [ "go.mod" "go.sum" "**/*.go" ] ; } ; } ; } ; } or use…from github.com
In the maker’s words, at launch
Hi there! I am Edgar and I wanted to share with you “globset”, a Nix library to help specify what sources to include when building a Nix package using familiar glob patterns like “*/*.go”. Nix is package manager and meta build system, in that you glue together compilers and other build systems in repeatable…
Does a similar job
all alternatives →
Nix Snapshotter – Native understanding of Nix packages for containerd2023 · github.com · ▲145Hello! This is Edgar and Robbie and we built nix-snapshotter. nix-snapshotter brings native understanding of Nix packages to containerd. We built this because Nix is a great fit for making efficient containers. They don't need an OS because Nix captures all dependencies exactly. However, the current process of creating Nix images is subpar because one needs to transform Nix packages into a format that container runtimes understand. Using nix-snapshotter, instead of downloading image layers, packages come directly from the Nix store. Packages can be fetched from a binary cache or built on the…
Nix Ninja – open-source Ninja-compatible build system for Nix2025 · github.com · ▲33Hello, this is Edgar! We are open sourcing nix-ninja, an incremental build system for Nix that leverages dynamic derivations. For those unfamiliar, Nix is a powerful package manager and build system that ensures reproducible builds via strict dependency isolation. However, one of its limitations has been that it builds packages as monolithic units - if you change one source file, Nix rebuilds the entire package from scratch. nix-ninja solves this by bringing compilation unit level granularity to Nix builds. It targets ninja build files, a format for describing build graphs output by popular…
- GFGarnix, fast and easy CI for Nix2022 · ▲120
Hello HN! For the past few months, I've been building a Nix-specific CI service, and quite a few people have been productively using it, so I thought I'd Show HN it. You might be wondering why build a Nix-specific CI. It turns out its quite hard to get a really good CI setup for Nix without spending a lot of time or money on it (or both), and even then solutions don't tend to be optimal. Garnix, on the other hand, handles everything, and simply. Just create an account, install the GitHub app on the repositories you want, and you're good to go! Each package gets its own GitHub check, and…
MyNixOS – Create and share Nix and NixOS configurations2022 · mynixos.com · ▲200Hello HN! I want to show you MyNixOS.com - a website I've been working on this year to make it easy to create and share Nix and NixOS configurations. Nix is a powerful tool to deploy software in a reproducible way, and with NixOS you can control your whole operating system through a declarative configuration. Starting out with Nix was exciting, but it definitely had a challenging learning curve. This made me start building a website focused on making it easier to create and share Nix flakes, which are the core unit of software deployment in Nix. Using the website, you can create flakes…
- WFWget-finder2015 · javier.io · ▲130
Since some days ago I’ve been playing with bifrost-build, a github repository with recipes for building static linux binaries. The recipes are no different from other linux distributions where an…
FlakeHub – Discover and publish Nix flakes2023 · flakehub.com · ▲154
More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 28d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 26d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 23d ago · openbot.run
Talanoa▲346Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 21d ago · talanoa.email
CoreSpeed▲332One MCP for everything your agents need: apps, memory, tools
Dev tools · 29d ago · corespeed.io
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, October 2024
the whole month →
bolt.new▲1,230Build and scale high-performing websites & apps using your words. Join millions and start building today.
AI · 2024 · bolt.new


Softr for Notion▲923Turn Notion databases into portals & apps with no code
Dev tools · 2024 · softr.io

One inbox for all your work discussions
Work · 2024 · generalcollaboration.com