1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

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'';