Skip to content

Commit

Permalink
fix: generated "result" in pwd
Browse files Browse the repository at this point in the history
fix #191
  • Loading branch information
Parsifa1 authored and viperML committed Dec 6, 2024
1 parent 8d552c0 commit 97e70d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/darwin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ impl DarwinRebuildArgs {

if let Switch = variant {
Command::new("nix")
.args(["build", "--profile", SYSTEM_PROFILE])
.args(["build", "--no-link", "--profile", SYSTEM_PROFILE])
.arg(out_path.get_path())
.elevate(true)
.dry(self.common.dry)
Expand Down
2 changes: 1 addition & 1 deletion src/nixos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ impl OsRebuildArgs {
if let Boot | Switch = variant {
Command::new("nix")
.elevate(elevate)
.args(["build", "--profile", SYSTEM_PROFILE])
.args(["build", "--no-link", "--profile", SYSTEM_PROFILE])
.arg(out_path.get_path())
.run()?;

Expand Down

0 comments on commit 97e70d0

Please sign in to comment.