pkgs/overlays/cosmic-packages: allow to provide own rustPlatform
This commit is contained in:
parent
667f7d8199
commit
7c9d74e561
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,7 @@
|
||||||
{ inputs ? import ../../inputs.nix {}}:
|
{
|
||||||
|
inputs ? import ../../inputs.nix {},
|
||||||
|
rustPlatform ? null,
|
||||||
|
}:
|
||||||
|
|
||||||
self: super:
|
self: super:
|
||||||
|
|
||||||
|
@ -28,5 +31,5 @@ in
|
||||||
import "${nixos-cosmic}/pkgs" {
|
import "${nixos-cosmic}/pkgs" {
|
||||||
final = self;
|
final = self;
|
||||||
prev = super;
|
prev = super;
|
||||||
rustPlatform = futureNixpkgs.rustPlatform;
|
rustPlatform = if rustPlatform != null then rustPlatform else futureNixpkgs.rustPlatform;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue