this is broken
This commit is contained in:
parent
5c6a299d13
commit
f437eec404
12
cabal.nix
Normal file
12
cabal.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{ mkDerivation, base, filepath, hakyll, hakyll-favicon, stdenv }:
|
||||||
|
mkDerivation {
|
||||||
|
pname = "rf";
|
||||||
|
version = "0.1.3.1";
|
||||||
|
src = ./.;
|
||||||
|
isLibrary = false;
|
||||||
|
isExecutable = true;
|
||||||
|
executableHaskellDepends = [ base filepath hakyll hakyll-favicon ];
|
||||||
|
homepage = "regularflolloping.com";
|
||||||
|
description = "tA's blog";
|
||||||
|
license = stdenv.lib.licenses.bsd3;
|
||||||
|
}
|
13
default.nix
13
default.nix
@ -1,12 +1 @@
|
|||||||
{ mkDerivation, base, filepath, hakyll, hakyll-favicon, stdenv }:
|
with import ./rf.nix; rfBuilt
|
||||||
mkDerivation {
|
|
||||||
pname = "rf";
|
|
||||||
version = "0.1.3.1";
|
|
||||||
src = ./.;
|
|
||||||
isLibrary = false;
|
|
||||||
isExecutable = true;
|
|
||||||
executableHaskellDepends = [ base filepath hakyll hakyll-favicon ];
|
|
||||||
homepage = "regularflolloping.com";
|
|
||||||
description = "tA's blog";
|
|
||||||
license = stdenv.lib.licenses.bsd3;
|
|
||||||
}
|
|
||||||
|
4
rf.nix
4
rf.nix
@ -9,7 +9,7 @@ let
|
|||||||
haskellPackages = pkgs.haskellPackages.override {
|
haskellPackages = pkgs.haskellPackages.override {
|
||||||
overrides = haskellPackagesNew: haskellPackagesOld: rec {
|
overrides = haskellPackagesNew: haskellPackagesOld: rec {
|
||||||
rf =
|
rf =
|
||||||
haskellPackagesNew.callPackage ./default.nix { };
|
haskellPackagesNew.callPackage ./cabal.nix { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -19,4 +19,6 @@ in
|
|||||||
rec {
|
rec {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
rf = pkgs.haskellPackages.rf;
|
rf = pkgs.haskellPackages.rf;
|
||||||
|
rfBuilt = pkgs.runCommand { buildInputs = [rf]; }
|
||||||
|
"mkdir $out; cd $out; touch TEST; site rebuild";
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
User-agent: *
|
User-agent: *
|
||||||
Disallow:
|
Disallow:
|
||||||
|
|
||||||
|
#TESTE TESTE
|
||||||
|
|
||||||
# robots are our pals
|
# robots are our pals
|
||||||
# a robot helped deploy this blog!
|
# a robot helped deploy this blog!
|
||||||
# i hope we can be friends :)
|
# i hope we can be friends :)
|
||||||
|
13
shell.nix
13
shell.nix
@ -1,8 +1,9 @@
|
|||||||
let
|
let
|
||||||
stuff = import ./rf.nix;
|
stuff = import ./rf.nix;
|
||||||
in stuff.rf.env.overrideAttrs (drv: {
|
in
|
||||||
buildInputs = drv.buildInputs ++ [
|
stuff.rf.env.overrideAttrs (drv: {
|
||||||
stuff.pkgs.imagemagick
|
buildInputs = drv.buildInputs ++ [
|
||||||
stuff.pkgs.inconsolata
|
stuff.pkgs.imagemagick
|
||||||
];
|
stuff.pkgs.inconsolata
|
||||||
})
|
];
|
||||||
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user