Files
fladder-nix/default.nix
2026-04-27 18:40:39 -04:00

23 lines
650 B
Nix

# default.nix — local test entry-point
#
# Usage
# -----
# nix-build # build the package
# nix-build -A fladder # explicit attribute (same result)
# ./result/bin/fladder # run the built binary
#
# To drop into a shell with the package available:
# nix-shell -p "$(nix-build --no-out-link)"
#
# Or with nix shell (flake-agnostic):
# nix shell "$(nix-build --no-out-link)"
let
# Pin to a recent nixpkgs revision that ships NixOS 25.11 packages.
# Replace <nixpkgs> with a pinned fetchTarball for fully reproducible builds.
pkgs = import <nixpkgs> { };
in
{
fladder = pkgs.callPackage ./package.nix { };
}