mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
25 lines
363 B
Nix
25 lines
363 B
Nix
let
|
|
pkgs = import <nixpkgs> {};
|
|
in
|
|
with pkgs;
|
|
mkShell rec {
|
|
name = "build-st";
|
|
buildInputs = with pkgs; [
|
|
xorg.libX11
|
|
xorg.libXft
|
|
xorg.libXcursor
|
|
];
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
ncurses
|
|
fontconfig
|
|
freetype
|
|
];
|
|
|
|
preInstall = ''
|
|
export TERMINFO=$out/share/terminfo
|
|
'';
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
}
|