qrcode: turn off fortify hardening

This commit is contained in:
Robin Gloster 2016-02-12 15:22:56 +00:00
parent 9375cd8e4d
commit 969ed1610a

View File

@ -1,4 +1,4 @@
{stdenv, fetchgit}:
{ stdenv, fetchgit }:
let
s =
rec {
@ -16,14 +16,19 @@ in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchgit {
inherit (s) rev url sha256;
};
hardening_fortify = false;
installPhase = ''
mkdir -p "$out"/{bin,share/doc/qrcode}
cp qrcode "$out/bin"
cp DOCUMENTATION LICENCE "$out/share/doc/qrcode"
'';
meta = {
inherit (s) version;
description = ''A small QR-code tool'';