Skip to content

Commit

Permalink
drop unused flake inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Feb 28, 2024
1 parent 0e4a348 commit 39a2d94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 254 deletions.
194 changes: 3 additions & 191 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 1 addition & 63 deletions flake.nix
Expand Up @@ -4,82 +4,20 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-23.11";

bad-datalog.url =
"git+https://git.bytes.zone/brian/bad-datalog.git?ref=main";
bad-datalog.inputs.nixpkgs.follows = "nixpkgs";

bytes-zone.url =
"git+https://git.bytes.zone/bytes.zone/bytes.zone.git?ref=main";
bytes-zone.inputs.nixpkgs.follows = "nixpkgs";

elo-anything.url =
"git+https://git.bytes.zone/brian/elo-anything.git?ref=main";
elo-anything.inputs.nixpkgs.follows = "nixpkgs";

goatcounter = {
url = "github:arp242/goatcounter/2b0f6e8938c57c8ebe3a4e5fdf26cf21cc2d1189";
flake = false;
};

nates-mazes.url =
"git+https://git.bytes.zone/brian/nates-mazes.git?ref=main";
nates-mazes.inputs.nixpkgs.follows = "nixpkgs";

sysz = {
url = "github:joehillen/sysz";
flake = false;
};
};

outputs = inputs:
let
mkOverlays = system:
let pkgs = import inputs.nixpkgs { inherit system; };
in [
inputs.bad-datalog.overlay.${system}
inputs.bytes-zone.overlay.${system}
inputs.elo-anything.overlay.${system}
inputs.nates-mazes.overlay.${system}
(final: prev: {
goatcounter = pkgs.buildGoModule {
pname = "goatcounter";
version = inputs.goatcounter.rev;
src = inputs.goatcounter;

subPackages = [ "cmd/goatcounter" ];

vendorHash =
"sha256-c+VRTcNXHjKJsaEi0zAlAc2Zys5Mbi0pyFjKsbV+JXc=";

doCheck = false;
};

sysz = final.stdenv.mkDerivation {
name = "sysz";
src = inputs.sysz;

buildPhase = "true";
buildInputs = [ final.makeWrapper ];
installPhase = ''
mkdir -p $out/bin
install -m755 sysz $out/bin
wrapProgram $out/bin/sysz --prefix PATH : ${
final.lib.makeBinPath [ final.fzf ]
}
'';
};
})
];
in
{
formatter.aarch64-darwin = inputs.nixpkgs.legacyPackages.aarch64-darwin.nixpkgs-fmt;

nixosConfigurations.gitea = inputs.nixpkgs.lib.nixosSystem rec {
nixosConfigurations.gitea = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";

modules = [
({ ... }: { nixpkgs.overlays = mkOverlays system; })
./machines/gitea
];
};
Expand Down

0 comments on commit 39a2d94

Please sign in to comment.