mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
libfaketime: modernize (#531182)
This commit is contained in:
commit
87a16c09f6
1 changed files with 9 additions and 1 deletions
|
|
@ -26,6 +26,12 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hash = hashes.${finalAttrs.version};
|
||||
};
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"doc"
|
||||
"man"
|
||||
];
|
||||
|
||||
patches = [
|
||||
./nix-store-date.patch
|
||||
]
|
||||
|
|
@ -55,7 +61,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
env = {
|
||||
PREFIX = placeholder "out";
|
||||
LIBDIRNAME = "/lib";
|
||||
NIX_CFLAGS_COMPILE = toString (
|
||||
CFLAGS = toString (
|
||||
lib.optionals stdenv.cc.isClang [
|
||||
"-Wno-error=cast-function-type"
|
||||
"-Wno-error=format-truncation"
|
||||
|
|
@ -72,6 +78,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
doCheck = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
structDeps = true;
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Report faked system time to programs without having to change the system-wide time";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue