flake: rename inputs to prevent errors on update

If input name contains `.` character then `invalid flake input path
element` error message is displayed on running `nix flake update
--update-input x.y`
This commit is contained in:
László Vaskó
2020-12-31 20:06:37 +00:00
parent e831996fc5
commit 44dd899fce
3 changed files with 9 additions and 11 deletions

View File

@@ -104,7 +104,7 @@ let
# Stage 2: install dependencies and byte-compile prepared source
doomLocal =
let
straight-env = pkgs.callPackage (lock "nix-straight.el") {
straight-env = pkgs.callPackage (lock "nix-straight") {
emacsPackages =
if bundledPackages then
let

View File

@@ -52,8 +52,8 @@
evil-quick-diff.flake = false;
explain-pause-mode.url = "github:lastquestion/explain-pause-mode";
explain-pause-mode.flake = false;
"nix-straight.el".url = "github:vlaci/nix-straight.el/v2.1.0";
"nix-straight.el".flake = false;
nix-straight.url = "github:vlaci/nix-straight.el/v2.1.0";
nix-straight.flake = false;
nose.url= "github:emacsattic/nose";
nose.flake = false;
ob-racket.url = "github:xchrishawk/ob-racket";
@@ -64,10 +64,10 @@
org-yt.flake = false;
php-extras.url = "github:arnested/php-extras";
php-extras.flake = false;
"reveal.js".url = "github:hakimel/reveal.js";
"reveal.js".flake = false;
"rotate-text.el".url = "github:debug-ito/rotate-text.el";
"rotate-text.el".flake = false;
revealjs.url = "github:hakimel/reveal.js";
revealjs.flake = false;
rotate-text.url = "github:debug-ito/rotate-text.el";
rotate-text.flake = false;
};
outputs = inputs: {

View File

@@ -72,8 +72,7 @@ self: super: {
};
revealjs = self.straightBuild {
pname = "reveal.js";
ename = "revealjs";
pname = "revealjs";
installPhase = ''
LISPDIR=$out/share/emacs/site-lisp
@@ -84,8 +83,7 @@ self: super: {
};
rotate-text = self.straightBuild {
pname = "rotate-text.el";
ename = "rotate-text";
pname = "rotate-text";
};
so-long = self.straightBuild {