mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2025-11-29 08:51:09 +00:00
fix: hire an exterminator
This commit is contained in:
parent
67f373d4f6
commit
019d9f550b
5 changed files with 0 additions and 64 deletions
|
|
@ -27,7 +27,6 @@
|
|||
# packages that follow npins entries
|
||||
# they can be updated via npins
|
||||
ani-cli = mkPackage ./ani-cli;
|
||||
rat = mkPackage ./rat;
|
||||
mov-cli = mkPackage ./mov-cli;
|
||||
rofi-calc-wayland = mkPackage ./rofi-calc-wayland;
|
||||
rofi-emoji-wayland = mkPackage ./rofi-emoji-wayland;
|
||||
|
|
|
|||
|
|
@ -1,47 +0,0 @@
|
|||
{
|
||||
pins,
|
||||
lib,
|
||||
disableHardening ? true,
|
||||
fetchFromGitHub,
|
||||
stdenv,
|
||||
unixtools,
|
||||
}:
|
||||
assert disableHardening -> lib.warn "nyxpkgs/rat disables hardening to avoid segfaults. You may want to consider overriding the package if this is undesirable" true; let
|
||||
pin = pins.rat;
|
||||
|
||||
pname = "rat";
|
||||
version = "2.0.1";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit (pin.repository) owner repo;
|
||||
sha256 = pin.hash;
|
||||
rev = pin.revision;
|
||||
};
|
||||
|
||||
# the code is so unsafe, it doesn't work with even one of hardening flags
|
||||
# lol
|
||||
hardeningDisable = lib.optionals disableHardening ["all"];
|
||||
|
||||
buildInputs = [unixtools.xxd];
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
make linux_audio
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin
|
||||
install -Dm755 ./bin/rat -t "$out/bin/"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "rat";
|
||||
homepage = "https://github.com/thinkingsand/rat";
|
||||
maintainers = with lib.maintainers; [NotAShelf];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue