-
-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
netbsd: Adapt to BSD-common infra changes for FreeBSD #194698
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approach makes sense.
So BSD_PATH
is the path of the component we're building? Can we call it something less confusing?
mkdir -p $(dirname $last) | ||
xinstall "$@" | ||
@out@/bin/xinstall "$@" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this just because it's more correct, or did something break?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alyssais just more correct for NetBSD, but when I went to build FreeBSD Make with NetBSD Make or something like that it did break.
|
Yeah, I saw that you didn't introduce it. I think it would be worth changing though, as I assumed it would refer to the root directory, which made seeing how the change worked quite confusing. |
e132380
to
6cf81f9
Compare
See NixOS#82131 for the rest of the changes for FreeBSD. This is PRed separately because it is a macOS moderate rebuild so we target staging. The main change is that we CD to the path we're building *after* applying patches, so we can patch other parts of the tree (from `extraPaths`) as needed. Another change is that `netbsd.install` no longer depends on `fts`, which it evidently no longer needs.
@alyssais and I agreed this is clearer.
6cf81f9
to
044163d
Compare
Description of changes
See #82131 for the rest of the changes for FreeBSD. This is PRed separately because it is a macOS moderate rebuild so we target staging.
The main change is that we CD to the path we're building after applying patches, so we can patch other parts of the tree (from
extraPaths
) as needed.Another change is that
netbsd.install
no longer depends onfts
, which it evidently no longer needs.Also, rename
BSD_PATH
toCOMPONENT_PATH
.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes