fix: hire an exterminator

This commit is contained in:
éclairevoyant 2024-02-12 23:45:32 -05:00
parent 67f373d4f6
commit 019d9f550b
No known key found for this signature in database
GPG key ID: E3813AEAA02DB54B
5 changed files with 0 additions and 64 deletions

View file

@ -15,7 +15,6 @@ jobs:
- foot-transparent - foot-transparent
- cloneit - cloneit
- mov-cli - mov-cli
- rat
- ani-cli - ani-cli
- rofi-calc-wayland - rofi-calc-wayland
- rofi-emoji-wayland - rofi-emoji-wayland

View file

@ -14,7 +14,6 @@ There are several packages exposed by this flake. Each directory in `pkgs` conta
| headscale-ui | A web frontend for the headscale Tailscale-compatible coordination server | | headscale-ui | A web frontend for the headscale Tailscale-compatible coordination server |
| mastodon-bird-ui | Mastodon web UI, but strongly inspired by Twitter. | | mastodon-bird-ui | Mastodon web UI, but strongly inspired by Twitter. |
| mov-cli | A cli tool to browse and watch Movies/Shows/TV/Sports | | mov-cli | A cli tool to browse and watch Movies/Shows/TV/Sports |
| rat | Linux shell port of the horizontally spinning rat meme, complete with soundtrack and spin counter. |
| reposilite-bin | A derivation for the reposilite maven repository. | | reposilite-bin | A derivation for the reposilite maven repository. |
| rofi-calc-wayland | A wayland patched version of [rofi-calc](https://github.com/svenstaro/rofi-calc) | | rofi-calc-wayland | A wayland patched version of [rofi-calc](https://github.com/svenstaro/rofi-calc) |
| rofi-emoji-wayland | A wayland patched version of [rofi-emoji](https://github.com/Mange/rofi-emoji) | | rofi-emoji-wayland | A wayland patched version of [rofi-emoji](https://github.com/Mange/rofi-emoji) |

View file

@ -48,20 +48,6 @@
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-24.05pre583579.2d627a2a7047/nixexprs.tar.xz", "url": "https://releases.nixos.org/nixpkgs/nixpkgs-24.05pre583579.2d627a2a7047/nixexprs.tar.xz",
"hash": "0w8nm2bfcdcbb5c6qmhkr33pxkh0f3gn2y4cds97kiy20bikg5nx" "hash": "0w8nm2bfcdcbb5c6qmhkr33pxkh0f3gn2y4cds97kiy20bikg5nx"
}, },
"rat": {
"type": "GitRelease",
"repository": {
"type": "GitHub",
"owner": "thinkingsand",
"repo": "rat"
},
"pre_releases": false,
"version_upper_bound": null,
"version": "2.0.1",
"revision": "03d2e16ea0ebe280d7dd472612ced8b4ee71960f",
"url": "https://api.github.com/repos/thinkingsand/rat/tarball/2.0.1",
"hash": "1lvqr06z2vs48a9hckim12268zfa2d0sckynpn4b0d7lv9hkn2hi"
},
"rofi-calc": { "rofi-calc": {
"type": "GitRelease", "type": "GitRelease",
"repository": { "repository": {

View file

@ -27,7 +27,6 @@
# packages that follow npins entries # packages that follow npins entries
# they can be updated via npins # they can be updated via npins
ani-cli = mkPackage ./ani-cli; ani-cli = mkPackage ./ani-cli;
rat = mkPackage ./rat;
mov-cli = mkPackage ./mov-cli; mov-cli = mkPackage ./mov-cli;
rofi-calc-wayland = mkPackage ./rofi-calc-wayland; rofi-calc-wayland = mkPackage ./rofi-calc-wayland;
rofi-emoji-wayland = mkPackage ./rofi-emoji-wayland; rofi-emoji-wayland = mkPackage ./rofi-emoji-wayland;

View file

@ -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];
};
}