mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-26 22:31:39 +03:00
examples(nodejs): remove example prettier-no-lock
This commit is contained in:
parent
b38c4d9a2f
commit
bf38888d90
@ -1,36 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
l = lib // builtins;
|
||||
system = config.deps.stdenv.system;
|
||||
in {
|
||||
imports = [
|
||||
../../drv-parts/nodejs-package-json
|
||||
../../drv-parts/nodejs-granular
|
||||
];
|
||||
|
||||
mkDerivation = {
|
||||
src = config.deps.fetchFromGitHub {
|
||||
owner = "prettier";
|
||||
repo = "prettier";
|
||||
rev = config.version;
|
||||
sha256 = "sha256-gHFzUjTHsEcxTJtFflqSOCthKW4Wa+ypuTeGxodmh0o=";
|
||||
};
|
||||
};
|
||||
|
||||
deps = {nixpkgs, ...}: {
|
||||
inherit
|
||||
(nixpkgs)
|
||||
fetchFromGitHub
|
||||
stdenv
|
||||
;
|
||||
};
|
||||
|
||||
name = l.mkForce "prettier";
|
||||
version = l.mkForce "2.8.7";
|
||||
|
||||
lock.lockFileRel =
|
||||
l.mkForce "/v1/nix/modules/drvs/prettier-no-lock/lock-${system}.json";
|
||||
}
|
Loading…
Reference in New Issue
Block a user