push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff --git a/untie.c b/untie.c
index f08a10d..d3d20b4 100644
--- a/untie.c
+++ b/untie.c
@@ -18,6 +18,7 @@
* Copyright (c) 2006, 2007 Guillaume Chazarain <guichaz@yahoo.fr>
*/
+#define _GNU_SOURCE
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/wait.h>

View File

@@ -0,0 +1,35 @@
{
lib,
stdenv,
fetchurl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "untie";
version = "0.3";
src = fetchurl {
url = "http://guichaz.free.fr/untie/files/untie-${finalAttrs.version}.tar.bz2";
sha256 = "1334ngvbi4arcch462mzi5vxvxck4sy1nf0m58116d9xmx83ak0m";
};
patches = [
# fix build with gcc14
./add-define-gnu-source.patch
];
makeFlags = [ "PREFIX=$(out)" ];
meta = {
description = "Tool to run processes untied from some of the namespaces";
mainProgram = "untie";
maintainers = with lib.maintainers; [ raskin ];
platforms = lib.platforms.linux;
license = lib.licenses.gpl2Plus;
};
passthru = {
updateInfo = {
downloadPage = "http://guichaz.free.fr/untie";
};
};
})