Clean up nits

- explicitly specified locales for `utf8Locale` (this is the default
  value anyway but I came back to this and was confused)
- used a multi-line string for `installPhase` for consistency
This commit is contained in:
Alejandro Angulo 2023-08-19 16:00:14 -07:00
parent 4af27a980a
commit b8174db215
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6

View file

@ -23,6 +23,7 @@
pkgs = nixpkgs.legacyPackages.${system};
utf8Locale = pkgs.glibcLocales.override {
allLocales = false;
locales = ["en_US.UTF-8/UTF-8"];
};
in {
packages.alejandr0angul0-dot-dev = pkgs.stdenv.mkDerivation {
@ -43,7 +44,9 @@
--no-enforce-https
'';
installPhase = "cp -r public $out";
installPhase = ''
cp -r public "$out"
'';
};
defaultPackage = self.packages.${system}.alejandr0angul0-dot-dev;