feat(overlays): use coreutils-doge for uname patch
This commit is contained in:
parent
8118945ec7
commit
3fc6980dd2
3 changed files with 18 additions and 1 deletions
13
overlays/patches/coreutils.patch
Normal file
13
overlays/patches/coreutils.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/src/uname.c b/src/uname.c
|
||||||
|
index 385674f..f802714 100644
|
||||||
|
--- a/src/uname.c
|
||||||
|
+++ b/src/uname.c
|
||||||
|
@@ -371,7 +371,7 @@ main (int argc, char **argv)
|
||||||
|
}
|
||||||
|
|
||||||
|
if (toprint & PRINT_OPERATING_SYSTEM)
|
||||||
|
- print_element (HOST_OPERATING_SYSTEM);
|
||||||
|
+ print_element ("Doge/Linux");
|
||||||
|
|
||||||
|
putchar ('\n');
|
||||||
|
|
5
overlays/patches/default.nix
Normal file
5
overlays/patches/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
final: prev: {
|
||||||
|
coreutils-doge = prev.coreutils.overrideAttrs (old: {
|
||||||
|
patches = old.patches ++ [ ./coreutils.patch ];
|
||||||
|
});
|
||||||
|
}
|
|
@ -22,7 +22,6 @@ in
|
||||||
packages = with pkgs; lib.flatten [
|
packages = with pkgs; lib.flatten [
|
||||||
clang
|
clang
|
||||||
cmake
|
cmake
|
||||||
coreutils
|
|
||||||
fd
|
fd
|
||||||
fzf
|
fzf
|
||||||
gnumake
|
gnumake
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue