aboutsummaryrefslogtreecommitdiff
path: root/locale/eo/LC_MESSAGES/_pastebins/2018-07-25-nix-exps.po
blob: 6cdd685236dee7ada6bd06f076b6556a30cddf49 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#
msgid ""
msgstr ""

msgid ""
"title: Nix Stuff\n"
"date: 2018-07-25\n"
"layout: pastebin\n"
"lang: en"
msgstr ""

msgid ""
"let\n"
"  pkgsOriginal = import <nixpkgs> {};\n"
"  pkgsSrc = pkgsOriginal.fetchzip {\n"
"    url = \"https://github.com/NixOS/nixpkgs/archive/18.03.zip\";\n"
"    sha256 = \"0hk4y2vkgm1qadpsm4b0q1vxq889jhxzjx3ragybrlwwg54mzp4f\";\n"
"  };\n"
"  pkgs = import (pkgsSrc) {};\n"
"  stdenv = pkgs.stdenv;\n"
"\n"
"  # Taken from:\n"
"  # http://www.cs.yale.edu/homes/lucas.paul/posts/2017-04-10-hakyll-on-nix.html\n"
"  websiteBuilder = pkgs.stdenv.mkDerivation {\n"
"    name = \"website-builder\";\n"
"    src = ./hakyll;\n"
"    phases = \"unpackPhase buildPhase\";\n"
"    buildInputs = [\n"
"      (pkgs.haskellPackages.ghcWithPackages (p: with p; [ hakyll ]))\n"
"    ];\n"
"    buildPhase = ''\n"
"      mkdir -p $out/bin\n"
"      ghc -O2 -dynamic --make Main.hs -o $out/bin/generate-site\n"
"    '';\n"
"  };\n"
"in rec {\n"
"  euandrehWebsite = stdenv.mkDerivation rec {\n"
"    name = \"euandreh-website\";\n"
"    src = ./site;\n"
"    phases = \"unpackPhase buildPhase\";\n"
"    # version = \"0.1\";\n"
"    buildInputs = [ websiteBuilder ];\n"
"    buildPhase = ''\n"
"      export LOCALE_ARCHIVE=\"${pkgs.glibcLocales}/lib/locale/locale-archive\";\n"
"      export LANG=en_US.UTF-8\n"
"      generate-site build\n"
"\n"
"      mkdir $out\n"
"      cp -r _site/* $out\n"
"    '';\n"
"  };\n"
"}\n"
msgstr ""