Skip to content

Commit

Permalink
Merge pull request #115 from epics-extensions/backport/109-to-nixos-2…
Browse files Browse the repository at this point in the history
…3.11

[Backport nixos-23.11] epics-base7: 7.0.8 -> 7.0.8.1
  • Loading branch information
minijackson authored Jul 18, 2024
2 parents 8516eec + babf90c commit 656337d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ in
# EPICS base

epics-base7 = callPackage ./epnix/epics-base {
version = "7.0.8";
hash = "sha256-GEkUwlOkRhQ6LskxHV+eDvBe9UUzF2YWWmgiyuiHypM=";
version = "7.0.8.1";
hash = "sha256-JDSMBwBLZj9aaxJHGg0QmZ1zYTSY8J7+ZGihAwEuz3w=";
};
epics-base3 = callPackage ./epnix/epics-base {
version = "3.15.9";
Expand Down
8 changes: 6 additions & 2 deletions pkgs/epnix/epics-base/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,14 @@ in
# TODO: Some tests fail
doCheck = false;

# _FORTIFY_SOURCE=3 causes a buffer overflow in some cases:
# _FORTIFY_SOURCE=3 detects a false-positive buffer overflow in some cases:
# *** buffer overflow detected ***: terminated
#
# Fall back to _FORTIFY_SOURCE=2
# EPICS automatically falls back to _FORTIFY_SOURCE=2 since 7.0.8.1, but this doesn't work in
# the nix build.
# Being tracked in https://github.com/epics-base/epics-base/issues/514, hopefully with a fix
# in EPICS 7.0.9

hardeningDisable = ["fortify3"];

meta = {
Expand Down

0 comments on commit 656337d

Please sign in to comment.