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 }:
|
||||
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;
|
||||
}
|
||||
with import ./rf.nix; rfBuilt
|
||||
|
4
rf.nix
4
rf.nix
@ -9,7 +9,7 @@ let
|
||||
haskellPackages = pkgs.haskellPackages.override {
|
||||
overrides = haskellPackagesNew: haskellPackagesOld: rec {
|
||||
rf =
|
||||
haskellPackagesNew.callPackage ./default.nix { };
|
||||
haskellPackagesNew.callPackage ./cabal.nix { };
|
||||
};
|
||||
};
|
||||
};
|
||||
@ -19,4 +19,6 @@ in
|
||||
rec {
|
||||
inherit pkgs;
|
||||
rf = pkgs.haskellPackages.rf;
|
||||
rfBuilt = pkgs.runCommand { buildInputs = [rf]; }
|
||||
"mkdir $out; cd $out; touch TEST; site rebuild";
|
||||
}
|
||||
|
@ -1,6 +1,8 @@
|
||||
User-agent: *
|
||||
Disallow:
|
||||
|
||||
#TESTE TESTE
|
||||
|
||||
# robots are our pals
|
||||
# a robot helped deploy this blog!
|
||||
# i hope we can be friends :)
|
||||
|
13
shell.nix
13
shell.nix
@ -1,8 +1,9 @@
|
||||
let
|
||||
stuff = import ./rf.nix;
|
||||
in stuff.rf.env.overrideAttrs (drv: {
|
||||
buildInputs = drv.buildInputs ++ [
|
||||
stuff.pkgs.imagemagick
|
||||
stuff.pkgs.inconsolata
|
||||
];
|
||||
})
|
||||
in
|
||||
stuff.rf.env.overrideAttrs (drv: {
|
||||
buildInputs = drv.buildInputs ++ [
|
||||
stuff.pkgs.imagemagick
|
||||
stuff.pkgs.inconsolata
|
||||
];
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user