allow specifing the version using nix-build nix --arg version '"0.1.0"'

This commit is contained in:
Robin Bärtschi 2025-03-09 12:47:04 +01:00
parent 9edcc92564
commit e0f2da3174

View File

@ -1,4 +1,4 @@
# ml2 ts=2 sts=2 sw=2
with import <nixpkgs> {};
callPackage ./package.nix {}
{version ? "HEAD"}: callPackage ./package.nix {inherit version;}