mirror of
https://git.asonix.dog/ceralor/mastodon.git
synced 2025-10-13 05:44:48 +00:00
45 lines
970 B
Nix
45 lines
970 B
Nix
{
|
|
description = "pict-rs-proxy";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
|
|
overlays = [
|
|
(final: prev: {
|
|
nodejs = prev.nodejs_20;
|
|
postgresql = prev.postgresql_16;
|
|
ruby = (prev.ruby_3_3.withPackages (ps: with ps; [
|
|
psych
|
|
]));
|
|
})
|
|
];
|
|
};
|
|
in
|
|
{
|
|
packages = {
|
|
default = pkgs.hello;
|
|
};
|
|
|
|
devShell = with pkgs; mkShell {
|
|
nativeBuildInputs = [
|
|
corepack
|
|
icu
|
|
imagemagick
|
|
libidn
|
|
libz
|
|
nodejs
|
|
postgresql
|
|
redis
|
|
ruby
|
|
];
|
|
};
|
|
});
|
|
}
|