Skip to content

Commit

Permalink
Home: clean up potential trailing newline from nix eval
Browse files Browse the repository at this point in the history
Closes: #190, #181

Co-authored-by: Caleb Norton <[email protected]>
  • Loading branch information
viperML and gigamonster256 committed Dec 6, 2024
1 parent 83db916 commit 4b3e261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/home.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ fn toplevel_for(installable: Installable, push_drv: bool) -> Result<Installable>
attribute
});

match res.as_deref() {
match res.map(|s| s.trim().to_owned()).as_deref() {
Some("true") => {
attribute.push(attr.clone());
if push_drv {
Expand Down

0 comments on commit 4b3e261

Please sign in to comment.