Skip to content

Instantly share code, notes, and snippets.

@Akii
Last active July 27, 2018 13:10
Show Gist options
  • Save Akii/fa20b4ae0446e2aa3683e5f4544d4bc2 to your computer and use it in GitHub Desktop.
Save Akii/fa20b4ae0446e2aa3683e5f4544d4bc2 to your computer and use it in GitHub Desktop.
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
{ config, pkgs, ... }:
let
revs = import ./revs.nix;
in
{
nixpkgs.overlays = [
(import ./overlays/elescore.nix { rev = revs.elescore; })
];
environment.systemPackages = with pkgs; [
elescore
];
}
{
elescoreRev = "d4a305800157d4a1109f7fdaeda8f2814ddd002d";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment