Merge pull request #55129 from oxij/tree/move-defaults-to-package-files
all-packages.nix: move defaults to package files
This commit is contained in:
@@ -5,21 +5,21 @@ let
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit name;
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dl.suckless.org/dwm/${name}.tar.gz";
|
||||
sha256 = "03hirnj8saxnsfqiszwl2ds7p0avg20izv9vdqyambks00p2x44p";
|
||||
};
|
||||
|
||||
|
||||
buildInputs = [ libX11 libXinerama libXft ];
|
||||
|
||||
|
||||
prePatch = ''sed -i "s@/usr/local@$out@" config.mk'';
|
||||
|
||||
# Allow users set their own list of patches
|
||||
inherit patches;
|
||||
|
||||
buildPhase = " make ";
|
||||
|
||||
|
||||
meta = {
|
||||
homepage = https://suckless.org/;
|
||||
description = "Dynamic window manager for X";
|
||||
|
||||
Reference in New Issue
Block a user