From b8174db2150f3ac9925f8450bc75264678cf06c9 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 19 Aug 2023 16:00:14 -0700 Subject: [PATCH] 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 --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 62b0196..c87f1cd 100644 --- a/flake.nix +++ b/flake.nix @@ -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;