move env to a nix flake
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
{
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
|
||||
|
||||
outputs = { nixpkgs, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in {
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
gcc
|
||||
gnumake
|
||||
pkg-config
|
||||
libx11
|
||||
libxft
|
||||
libxext
|
||||
libxrender
|
||||
libxrandr
|
||||
libxinerama
|
||||
libxcrypt
|
||||
fontconfig
|
||||
freetype
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user