Skip to content

nix.conf: add build-hook-use-substitutes - #1228

Closed
k0001 wants to merge 1 commit into
NixOS:masterfrom
k0001:rem-subs
Closed

k0001 wants to merge 1 commit into
NixOS:masterfrom
k0001:rem-subs

Conversation

@k0001

@k0001 k0001 commented Feb 9, 2017

Copy link
Copy Markdown
Contributor

This should solve #937

cc @shlevy

@shlevy

shlevy commented Feb 9, 2017

Copy link
Copy Markdown
Member

Looks right to me, have you tested it?

@shlevy shlevy self-assigned this Feb 9, 2017
@k0001

k0001 commented Feb 9, 2017

Copy link
Copy Markdown
Contributor Author

@shlevy not to the full extent of running this in NixOS, but I better do that.

Do you know if there's a nixos/modules/misc/nix-daemon.nix somewhere that works with the latest nix HEAD?

@shlevy

shlevy commented Feb 9, 2017

Copy link
Copy Markdown
Member

Not sure off the top of my head, but I think all you'll need to do is replace build-remote.pl with build-remote

</varlistentry>


<varlistentry><term><literal>build-hook-use-substitutes</literal></term>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like this name since "build hook" is just an implementation detail used by the distributed build mechanism.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build-remote-use-substitutes perhaps?

<varlistentry><term><literal>build-hook-use-substitutes</literal></term>

<listitem><para>If set to <literal>true</literal>, Nix will instruct
remote build hooks to use their own binary substitutes if available. In

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no such thing as "remote build hooks". The build hook is local.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"remote building hosts" perhaps?

@shlevy

shlevy commented Mar 31, 2017

Copy link
Copy Markdown
Member

@k0001 Have you had a chance for a full-stack test of this yet?

@k0001

k0001 commented Mar 31, 2017 via email

Copy link
Copy Markdown
Contributor Author

@k0001

k0001 commented Jan 9, 2018

Copy link
Copy Markdown
Contributor Author

I am closing this in favor of #1788

@k0001 k0001 closed this Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants