From 1f7a259d650b51813d4c40010005c975903a4d74 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 19 Nov 2016 01:01:54 +0300 Subject: cli: strip binaries Not to reference source code in closure. --- modules/apps/cli.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/apps/cli.nix b/modules/apps/cli.nix index 00365d8..af60710 100644 --- a/modules/apps/cli.nix +++ b/modules/apps/cli.nix @@ -85,7 +85,7 @@ let return EXIT_FAILURE; } ''; - in pkgs.runCommand name {} "gcc -Wall -Wextra -Werror -std=gnu99 -O2 ${src} -o $out"; + in pkgs.runCommand name {} "gcc -Wall -Wextra -Werror -s -std=gnu99 -O2 ${src} -o $out"; cliapp = submodule({name, ...}: { -- cgit v1.2.3