Something went wrong. Try again.
A rewrite of the Plan 9 rc shell in Goose for UNIX-like systems and with structured CLI args
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ description = "A Plan 9 rc shell in Goose";
inputs = { goose.url = "github:chiefnoah/goose"; nixpkgs.follows = "goose/nixpkgs"; };
outputs = { self, goose, nixpkgs }: let systems = [ "aarch64-darwin" "aarch64-linux" "x86_64-linux" ]; eachSystem = nixpkgs.lib.genAttrs systems; in { nixosModules = { rc2 = import ./nix/modules/nixos.nix { inherit self; }; default = self.nixosModules.rc2; };
homeManagerModules = { rc2 = import ./nix/modules/home-manager.nix { inherit self; }; default = self.homeManagerModules.rc2; };
packages = eachSystem (system: let pkgs = import nixpkgs { inherit system; }; rc2 = pkgs.callPackage ./nix/rc2.nix { goose = goose.packages.${system}.goose; version = "0-unstable-${self.shortRev or "dirty"}"; }; in { inherit rc2; default = rc2; });
checks = eachSystem (system: { inherit (self.packages.${system}) rc2; modules = import ./nix/tests/modules.nix { inherit self; pkgs = import nixpkgs { inherit system; }; }; }); };}