From 8cb9314d0802de83a1b28d9907250dbbaa73d55c Mon Sep 17 00:00:00 2001 From: Philip Patsch Date: Wed, 29 Aug 2018 23:07:34 +0200 Subject: [PATCH] Remove nix-build out-link from the output directory. `nix-build` by default creates a symlink to the store path in the current directory. --- nixpkgs/nixpkgs.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/nixpkgs/nixpkgs.bzl b/nixpkgs/nixpkgs.bzl index 46ce80779..77871cf8e 100644 --- a/nixpkgs/nixpkgs.bzl +++ b/nixpkgs/nixpkgs.bzl @@ -57,6 +57,7 @@ def _nixpkgs_package_impl(ctx): "-A", ctx.attr.attribute_path if ctx.attr.nix_file or ctx.attr.nix_file_content else ctx.attr.attribute_path or ctx.attr.name, + "--no-out-link", ]) # If neither repository or path are set, leave empty which will use