Skip to content

plan9better/gofr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Nix overlay that adds the unfriendly go compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages