Skip to content

Commit

Permalink
chore: remove nixpkgsV1
Browse files Browse the repository at this point in the history
  • Loading branch information
DavHau committed Jul 19, 2023
1 parent 63a6d0c commit 217fa8d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
16 changes: 0 additions & 16 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
nixpkgsV1.url = "nixpkgs/nixos-unstable";

flake-parts.url = "github:hercules-ci/flake-parts";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
Expand Down
4 changes: 2 additions & 2 deletions v1/nix/modules/flake-parts/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
eval-cache.cacheFileRel = "/v1/nix/modules/drvs/${config.name}/cache-${system}.json";
eval-cache.repoRoot = self;
eval-cache.enable = true;
deps.npm = inputs.nixpkgsV1.legacyPackages.${system}.nodejs.pkgs.npm.override (old: rec {
deps.npm = inputs.nixpkgs.legacyPackages.${system}.nodejs.pkgs.npm.override (old: rec {
version = "8.19.4";
src = builtins.fetchTarball {
url = "https://registry.npmjs.org/npm/-/npm-${version}.tgz";
Expand All @@ -39,7 +39,7 @@
setup
];
specialArgs.packageSets = {
nixpkgs = inputs.nixpkgsV1.legacyPackages.${system};
nixpkgs = inputs.nixpkgs.legacyPackages.${system};
writers = config.writers;
};
specialArgs.drv-parts = inputs.drv-parts;
Expand Down

0 comments on commit 217fa8d

Please sign in to comment.