Files
aoc/2024/day03/flake.nix
2025-12-01 11:25:06 +01:00

30 lines
568 B
Nix

{
description = "a minimal test development environment for ruby";
inputs = {
nixpkgs = {
url = "nixpkgs/nixos-24.05";
flake = false;
};
};
outputs = inputs@{ nixpkgs, ... }:
{
devShell = {
x86_64-linux = let
pkgs = import nixpkgs { system = "x86_64-linux"; };
in pkgs.mkShell {
packages = with pkgs; [
gcc ruby
];
shellHook = ''
export CC=gcc
echo -e "\x1B[0;33mentering ruby minimalist test development environment...\x1B[0m"
'';
};
};
};
}