overlays: customscripts: misc changes, patches: moved to home

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-12-04 07:33:53 +05:30
parent f4ce7e6aa9
commit 4f49f4f0ec
10 changed files with 156 additions and 50 deletions

View File

@@ -1,17 +1,12 @@
{lib, stdenv, fetchFromGitHub}:
stdenv.mkDerivation rec{
{lib, stdenvNoCC, fetchFromGitHub}:
stdenvNoCC.mkDerivation {
name = "customscripts";
src = ./src;
/* src = fetchFromGitHub {
owner = "idcretard";
repo = "custom-scripts";
rev = "a996a52831316cc2c282904352654bd20c82f7bd";
sha256 = "sha256-nw21YmcmQMF8NADnuHOc7eF2Yaj/r/1mYBn77fYK7s8=";
};*/
unpackPhase = ":";
installPhase = ''
mkdir -p $out/bin
cp -r $src/* $out/bin
for x in $out/bin/*; do chmod +x "$x"; done
chmod -R +x $out/bin/*
'';
}