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:
parent
4af27a980a
commit
b8174db215
|
@ -23,6 +23,7 @@
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
utf8Locale = pkgs.glibcLocales.override {
|
utf8Locale = pkgs.glibcLocales.override {
|
||||||
allLocales = false;
|
allLocales = false;
|
||||||
|
locales = ["en_US.UTF-8/UTF-8"];
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
packages.alejandr0angul0-dot-dev = pkgs.stdenv.mkDerivation {
|
packages.alejandr0angul0-dot-dev = pkgs.stdenv.mkDerivation {
|
||||||
|
@ -43,7 +44,9 @@
|
||||||
--no-enforce-https
|
--no-enforce-https
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = "cp -r public $out";
|
installPhase = ''
|
||||||
|
cp -r public "$out"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultPackage = self.packages.${system}.alejandr0angul0-dot-dev;
|
defaultPackage = self.packages.${system}.alejandr0angul0-dot-dev;
|
||||||
|
|
Loading…
Reference in a new issue