Flake: build nix containers

* Add flake for building nixos containers for forgejo actions
This commit is contained in:
Julian Stiller 2025-02-06 14:49:20 +01:00
parent 74b4cf63fe
commit 50181d9e57
3 changed files with 275 additions and 0 deletions

10
fake_nixpkgs/default.nix Normal file
View file

@ -0,0 +1,10 @@
_:
throw ''
This container doesn't include nixpkgs.
The best way to work around that is to pin your dependencies. See
https://nix.dev/tutorials/towards-reproducibility-pinning-nixpkgs.html
Or if you must, override the NIX_PATH environment variable with eg:
"NIX_PATH=nixpkgs=channel:nixos-unstable"
''