mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-06 07:53:12 +00:00
It includes also androidndk and files needed for nimbus-build-system Referenced issue: https://github.com/waku-org/nwaku/issues/3232 Signed-off-by: markoburcul <marko@status.im>
35 lines
1.0 KiB
Nix
35 lines
1.0 KiB
Nix
# This file controls the pinned version of nixpkgs we use for our Nix environment
|
|
# as well as which versions of package we use, including their overrides.
|
|
{
|
|
config ? { },
|
|
stableSystems ? [
|
|
"x86_64-linux" "aarch64-linux"
|
|
],
|
|
}:
|
|
|
|
let
|
|
# For testing local version of nixpkgs
|
|
#nixpkgsSrc = (import <nixpkgs> { }).lib.cleanSource "/home/jakubgs/work/nixpkgs";
|
|
|
|
# We follow release 24-05 of nixpkgs
|
|
# https://github.com/NixOS/nixpkgs/releases/tag/24.05
|
|
nixpkgsSrc = builtins.fetchTarball {
|
|
url = "https://github.com/NixOS/nixpkgs/archive/df27247e6f3e636c119e2610bf12d38b5e98cc79.tar.gz";
|
|
sha256 = "sha256:0bbvimk7xb7akrx106mmsiwf9nzxnssisqmqffla03zz51d0kz2n";
|
|
};
|
|
|
|
# Status specific configuration defaults
|
|
defaultConfig = {
|
|
android_sdk.accept_license = true;
|
|
allowUnfree = true;
|
|
};
|
|
|
|
# Override some packages and utilities
|
|
pkgsOverlay = import ./overlay.nix;
|
|
|
|
(import nixpkgsSrc) {
|
|
config = defaultConfig // config;
|
|
system = stableSystems;
|
|
overlays = [ pkgsOverlay ];
|
|
}
|