first
This commit is contained in:
commit
0dfc8970c8
1 changed files with 67 additions and 0 deletions
67
flake.nix
Normal file
67
flake.nix
Normal file
|
|
@ -0,0 +1,67 @@
|
||||||
|
|
||||||
|
# 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in a new issue