This overlay adds a package go_fuck to nixpkgs which is basically just go 1.24 but with the added command go fuck [yourself].
Example of a flake using this overlay:
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
gofr.url = "github:plan9better/gofr";
};
outputs = {
nixpkgs,
flake-utils,
gofr,
...
}:
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = import nixpkgs {
inherit system;
overlays = [
gofr.overlays.default
];
};
in {
packages = {
# derivation
};
devShells.default = pkgs.mkShell {
packages = with pkgs; [go_fuck gopls];
};
}
);
}example usage:
$ nix develop
(nix:nix-shell-env) bash-5.2$ go fuck yourself
bitch