aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/spine_build_scaffold.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-02-04 11:35:55 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2021-02-04 14:52:41 -0500
commitd765d89cabc6cab03b1e2b882dd99b5cbb67d9ce (patch)
tree03f588be1f1acf81857e3f7a8cd27ab28d322e05 /org/spine_build_scaffold.org
parentcosmetic, minor (diff)
nix, use pkgs.lib instead of stdenv.lib
- see https://github.com/NixOS/nixpkgs/issues/108938
Diffstat (limited to 'org/spine_build_scaffold.org')
-rw-r--r--org/spine_build_scaffold.org18
1 files changed, 6 insertions, 12 deletions
diff --git a/org/spine_build_scaffold.org b/org/spine_build_scaffold.org
index ea6634e..3b56420 100644
--- a/org/spine_build_scaffold.org
+++ b/org/spine_build_scaffold.org
@@ -1980,9 +1980,7 @@ pkgs.mkShell {
#+BEGIN_SRC nix :NO-tangle ../shell.nix :tangle-mode (identity #o755) :shebang "#!/usr/bin/env -S nix-shell"
#!/usr/bin/env -S nix-shell
-{ pkgs ? import <nixpkgs> {},
- stdenv ? pkgs.stdenv,
-}:
+{ pkgs ? import <nixpkgs> {} }:
with import ./nix/mkDub.nix { inherit pkgs; };
mkDubDerivation rec {
name = "spine-${version}";
@@ -1992,7 +1990,7 @@ mkDubDerivation rec {
import ./nix/pkglst/shell-pkgs.nix
{ inherit pkgs; }
)];
- meta = with stdenv.lib; {
+ meta = with pkgs.lib; {
homepage = http://sisudoc.org;
description = "a sisu like document parser";
license = licenses.agpl3Plus;
@@ -2041,7 +2039,7 @@ mkDubDerivation rec {
install -m755 -D spine $out/bin/spine
echo "built $out/bin/spine"
'';
- meta = with stdenv.lib; {
+ meta = with pkgs.lib; {
homepage = http://sisudoc.org;
description = "a sisu like document parser";
license = licenses.agpl3Plus;
@@ -2071,9 +2069,7 @@ mkDubDerivation rec {
nix build -f spine.nix
#+BEGIN_SRC nix :tangle ../default.nix :tangle-mode (identity #o755) :shebang "#!/usr/bin/env -S nix-build"
-{ pkgs ? import <nixpkgs> {},
- stdenv ? pkgs.stdenv,
-}:
+{ pkgs ? import <nixpkgs> {} }:
with import ./nix/mkDub.nix { inherit pkgs; };
mkDubDerivation rec {
name = "spine-${version}";
@@ -2094,9 +2090,7 @@ mkDubDerivation rec {
** project.nix :project:
#+BEGIN_SRC nix :tangle ../project.nix :tangle-mode (identity #o755) :shebang "#!/usr/bin/env -S nix-build"
-{ pkgs ? import <nixpkgs> {},
- stdenv ? pkgs.stdenv,
-}:
+{ pkgs ? import <nixpkgs> {} }:
with import ./nix/mkDub.nix { inherit pkgs; };
mkDubDerivation rec {
name = "spine-${version}";
@@ -2165,7 +2159,7 @@ installPhase = ''
#+NAME: nix_project_meta
#+BEGIN_SRC nix
-meta = with stdenv.lib; {
+meta = with pkgs.lib; {
homepage = http://sisudoc.org;
description = "a sisu like document parser";
license = licenses.agpl3Plus;