mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
systems -> hosts
moved functions to /lib inputs over imports turned each module file into a nixosModule moved registry and $NIX_PATH pinning to /modules/pinning.nix
This commit is contained in:
parent
ee2beea680
commit
f43d0b741c
42 changed files with 224 additions and 240 deletions
|
|
@ -49,5 +49,5 @@ in
|
|||
mkdir -p $out/share/icons/hicolor/256x256/apps/
|
||||
cp $src/afk-icon.png $out/share/icons/hicolor/256x256/apps/afk-icon.png
|
||||
'';
|
||||
cargoSha256 = "sha256-CPpFUdgb0zTZAVlv4uhJ0Y7eocCjuEZNgQJdNwV1FI4=";
|
||||
cargoSha256 = "sha256-r20g5Tkj2ft1ho/fghg+qwiGOUay8HCIrBbg+y8kQXQ=";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
imagemagick_light,
|
||||
libglvnd,
|
||||
libxcb,
|
||||
makeWrapper,
|
||||
ocl-icd,
|
||||
opencl-headers,
|
||||
pciutils,
|
||||
|
|
@ -31,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hash = "sha256-sSQaXXKH/ZELdhbUKuvAj0gZ0fSO/Xjxsv/TU0Xq47k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [cmake makeWrapper pkg-config];
|
||||
nativeBuildInputs = [cmake pkg-config];
|
||||
|
||||
buildInputs = [
|
||||
dbus
|
||||
|
|
|
|||
|
|
@ -24,19 +24,21 @@ in
|
|||
pname = "parrot";
|
||||
version = "1.6.0";
|
||||
inherit src;
|
||||
buildInputs = [
|
||||
libopus
|
||||
openssl
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
cmake
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libopus
|
||||
openssl
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/parrot \
|
||||
--set PATH ${lib.makeBinPath [
|
||||
--prefix PATH ${lib.makeBinPath [
|
||||
yt-dlp
|
||||
ffmpeg
|
||||
]}'';
|
||||
|
|
|
|||
|
|
@ -9,13 +9,12 @@
|
|||
exec ${glibc}/lib64/ld-linux-x86-64.so.2 \
|
||||
$out/t-rex --no-watchdog \$@
|
||||
'';
|
||||
version = "0.26.5";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit version;
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
version = "0.26.5";
|
||||
pname = "t-rex-miner";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/trexminer/T-Rex/releases/download/${version}/t-rex-${version}-linux.tar.gz";
|
||||
url = "https://github.com/trexminer/T-Rex/releases/download/${finalAttrs.version}/t-rex-${finalAttrs.version}-linux.tar.gz";
|
||||
sha256 = "sha256-eGOTfb03R2ck/6GMY6tPmTifYT9aVv3dNDQ5jRVlz58=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
|
@ -26,4 +25,4 @@ in
|
|||
echo "${wrapper}" > $out/bin/t-rex
|
||||
chmod +x $out/bin/t-rex
|
||||
'';
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue