mirror of
https://github.com/charmbracelet/gum.git
synced 2024-09-11 06:16:03 +03:00
* flake: change pkg source to unstable * flake.lock: update * default.nix: update vendorhash and add ldflags
20 lines
546 B
Nix
20 lines
546 B
Nix
{
|
|
description = "A tool for glamorous shell scripts";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let pkgs = import nixpkgs { inherit system; }; in
|
|
rec {
|
|
packages.default = import ./default.nix { inherit pkgs; };
|
|
}) // {
|
|
overlays.default = final: prev: {
|
|
gum = import ./default.nix { pkgs = final; };
|
|
};
|
|
};
|
|
}
|