Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Commit

Permalink
derivation file
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsagnes committed Aug 6, 2017
1 parent 164e304 commit 668db30
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
gh-pages
result
3 changes: 3 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{ pkgs ? import <nixpkgs> {} }:

pkgs.callPackage ./derivation.nix {}
9 changes: 9 additions & 0 deletions derivation.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{ stdenv }:
let
theme = "hyde";
version = "dev";
in stdenv.mkDerivation rec {
name = "${theme}-${version}";
src = ./.;
installPhase = ''mkdir $out && cp -r $src/* $out/'';
}

0 comments on commit 668db30

Please sign in to comment.