commit 20147878d06330f8f63e0b1398d89b58ff00127a
parent fe55303ebe08eae33bfaf52c66c255c87dd6b2d2
Author: William Casarin <jb55@jb55.com>
Date: Mon, 4 Jan 2021 08:25:44 -0800
jb55pkgs: add define
Diffstat:
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/jb55pkgs/default.nix b/jb55pkgs/default.nix
@@ -18,6 +18,8 @@ in rec {
sharefile = callPackage ./pkgs/sharefile { };
samp = callPackage ./pkgs/samp { };
+ define = callPackage ./pkgs/define { };
+
ratio = fetch-srht {
repo = "ratio";
rev = "4eb820fb362c554baa73e244dae29aa62ec2d9d5";
diff --git a/jb55pkgs/pkgs/define/default.nix b/jb55pkgs/pkgs/define/default.nix
@@ -1,12 +1,6 @@
-{ stdenv
-, fetchurl
-, zstd
-, bash
-, less
-, sdcv
-, gnutar
-, writeScript
-}:
+{ pkgs ? import <nixpkgs> {}, stdenv ? pkgs.stdenv, fetchurl ? pkgs.fetchurl,
+ bash ? pkgs.bash, less ? pkgs.less, sdcv ? pkgs.sdcv, gnutar ? pkgs.gnutar,
+ writeScript ? pkgs.writeScript }:
let
dictd = stdenv.mkDerivation rec {
pname = "define-dict";