Skip to content

Commit

Permalink
Prefer non if syntax for OS branch
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Aug 4, 2023
1 parent 929c86b commit 1d5f473
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions home-manager/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,10 @@
# pngquant
# img2pdf
# ocrmypdf
] ++ (
if stdenv.isDarwin then
[ ]
else
[
# Fix missing locales as `locale: Cannot set LC_CTYPE to default locale`
glibc
]
] ++ (lib.optionals stdenv.isLinux
[
# Fix missing locales as `locale: Cannot set LC_CTYPE to default locale`
glibc
]
);
}

0 comments on commit 1d5f473

Please sign in to comment.