mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
changed formatter, migrated suckless configurations to flake
This commit is contained in:
parent
5e19c6b52f
commit
b0b688c43f
97 changed files with 311 additions and 19216 deletions
|
|
@ -1,18 +1,18 @@
|
|||
let
|
||||
pkgs = import <nixpkgs> { };
|
||||
pkgs = import <nixpkgs> {};
|
||||
in
|
||||
with pkgs;
|
||||
mkShell rec {
|
||||
buildInputs = with pkgs; [
|
||||
xorg.libXScrnSaver
|
||||
xorg.libX11
|
||||
# Dev dependencies
|
||||
rustup
|
||||
pkg-config
|
||||
gdk-pixbuf
|
||||
gtkmm3
|
||||
libappindicator-gtk3
|
||||
];
|
||||
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
||||
RUST_BACKTRACE = 1;
|
||||
}
|
||||
with pkgs;
|
||||
mkShell rec {
|
||||
buildInputs = with pkgs; [
|
||||
xorg.libXScrnSaver
|
||||
xorg.libX11
|
||||
# Dev dependencies
|
||||
rustup
|
||||
pkg-config
|
||||
gdk-pixbuf
|
||||
gtkmm3
|
||||
libappindicator-gtk3
|
||||
];
|
||||
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
||||
RUST_BACKTRACE = 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,17 +1,18 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, wrapGAppsHook
|
||||
, libX11
|
||||
, libXScrnSaver
|
||||
, pkg-config
|
||||
, cairo
|
||||
, glib
|
||||
, gdk-pixbuf
|
||||
, gtkmm3
|
||||
, pango
|
||||
, libappindicator-gtk3
|
||||
, atk
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
wrapGAppsHook,
|
||||
libX11,
|
||||
libXScrnSaver,
|
||||
pkg-config,
|
||||
cairo,
|
||||
glib,
|
||||
gdk-pixbuf,
|
||||
gtkmm3,
|
||||
pango,
|
||||
libappindicator-gtk3,
|
||||
atk,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "afk-cmds";
|
||||
|
|
@ -36,7 +37,7 @@ rustPlatform.buildRustPackage rec {
|
|||
wrapGAppsHook
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/afk-cmds \
|
||||
--prefix LD_LIBRARY_PATH : ${(lib.makeLibraryPath buildInputs)}
|
||||
mkdir -p $out/share/icons/hicolor/256x256/apps/
|
||||
|
|
@ -48,9 +49,7 @@ rustPlatform.buildRustPackage rec {
|
|||
homepage = "https://github.com/ISnortPennies/AFKCommands";
|
||||
description = "";
|
||||
license = licenses.unlicense;
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue