mirror of
https://seed.radicle.dev/rad:z371PVmDHdjJucejRoRYJcDEvD5pp.git
synced 2026-10-18 19:10:34 +08:00
The flake is quite complex, using bundix to capture Ruby dependencies with Nix and a custom Ruby via an overlay. This is nice, but overkill for a simple website. Greatly simplify the flake and update it.
28 lines
497 B
Nix
28 lines
497 B
Nix
{
|
|
description = "The Radicle Website";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
flake-utils,
|
|
...
|
|
}:
|
|
flake-utils.lib.eachDefaultSystem (system: let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
in {
|
|
devShells.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
ruby
|
|
wrangler
|
|
];
|
|
};
|
|
});
|
|
}
|