Skip to content

Commit

Permalink
WIP: Tried using explicitPkgs
Browse files Browse the repository at this point in the history
Which I think needs importing the functions in pkgs
  • Loading branch information
Chickensoupwithrice committed Mar 22, 2024
1 parent 479ea46 commit 7c0fdd6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
inherit (pkgs) lib;
inherit (pkgs) mkPnpmPackage;
inherit callPackage dream2nix pkgs;
inherit (callPackage ./pkgs/build-support/node/fetch-pnpm-deps { }) fetchPnpmDeps pnpmConfigHook;
};

explicitPkgs = import ./pkgs {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
mkDerivation,
stdenv,
fetchFromGitHub,
lib,
mkPnpmPackage,
Expand All @@ -12,7 +12,7 @@
maintainers
;
in
mkDerivation rec {
stdenv.mkDerivation rec {
pname = "atomic-browser";
version = "v0.37.0";

Expand Down
2 changes: 0 additions & 2 deletions pkgs/by-name/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
callPackage,
dream2nix,
mkPnpmPackage,
fetchPnpmDeps,
pnpmConfigHook,
pkgs,
}: let
baseDirectory = ./.;
Expand Down
5 changes: 5 additions & 0 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
pretalx-venueless
pretalx-public-voting
;


inherit (callPackage ./pkgs/build-support/node/fetch-pnpm-deps { }) fetchPnpmDeps;
inherit (callPackage ./pkgs/build-support/node/fetch-pnpm-deps { }) pnpmConfigHook;
atomic-browser = callPackage ./atomic-browser {};
};
in
self

0 comments on commit 7c0fdd6

Please sign in to comment.