mirror of
https://github.com/charmbracelet/gum.git
synced 2024-11-20 13:03:50 +03:00
68400ae7b3
* 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; };
|
|
};
|
|
};
|
|
}
|