Last active
July 27, 2018 13:10
-
-
Save Akii/fa20b4ae0446e2aa3683e5f4544d4bc2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rev: self: super: | |
{ | |
elescore = import (builtins.fetchGit { | |
inherit rev; | |
url = https://github.com/Akii/elescore.git; | |
}); | |
} | |
# error: value is a set while a string was expected, at /etc/nixos/overlays/elescore.nix:4:12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
let | |
revs = import ./revs.nix; | |
in | |
{ | |
nixpkgs.overlays = [ | |
(import ./overlays/elescore.nix { rev = revs.elescore; }) | |
]; | |
environment.systemPackages = with pkgs; [ | |
elescore | |
]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
elescoreRev = "d4a305800157d4a1109f7fdaeda8f2814ddd002d"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment