67 lines
1 KiB
Nix
67 lines
1 KiB
Nix
|
|
# vim: set sw=2 ts=2 et: #
|
|
|
|
{
|
|
description = "description";
|
|
|
|
inputs.nixpkgs = { url = "github:NixOS/nixpkgs?ref=nixos-25.05"; };
|
|
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
inputs.flake-compat = {
|
|
url = "github:edolstra/flake-compat";
|
|
flake = false;
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils, ... }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let pkgs = import nixpkgs {
|
|
inherit system;
|
|
|
|
config.allowUnfree = true;
|
|
}; in {
|
|
devShells.default =
|
|
pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
file
|
|
wget
|
|
neofetch
|
|
htop
|
|
python3
|
|
];
|
|
};
|
|
|
|
devShells.compiler =
|
|
pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
gcc
|
|
gcc.man
|
|
gnumake
|
|
python3
|
|
valgrind
|
|
linux-manual
|
|
man-pages
|
|
man-pages-posix
|
|
gedit
|
|
];
|
|
};
|
|
});
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|