Fix lambda-launcher
This commit is contained in:
parent
c1fc5d0285
commit
32803f5c8f
@ -10,8 +10,7 @@ let
|
||||
in {
|
||||
nixpkgs.overlays = [
|
||||
inputs.nix.overlay
|
||||
(self: super:
|
||||
rec {
|
||||
(self: super: rec {
|
||||
nix = super.nix // {
|
||||
meta = super.nix.meta // { platforms = lib.platforms.unix; };
|
||||
};
|
||||
@ -25,7 +24,15 @@ in {
|
||||
|
||||
# inherit (old) mautrix-telegram;
|
||||
|
||||
inherit (inputs.lambda-launcher.packages.x86_64-linux) lambda-launcher;
|
||||
lambda-launcher = let
|
||||
pkgs' =
|
||||
inputs.lambda-launcher.inputs.nixpkgs.legacyPackages.x86_64-linux.extend (_: _: {
|
||||
inherit (pkgs) glibc stdenv glibc-locales;
|
||||
});
|
||||
in pkgs'.callPackage "${inputs.lambda-launcher}/wrapper.nix" {
|
||||
lambda-launcher-unwrapped =
|
||||
pkgs'.haskellPackages.callPackage "${inputs.lambda-launcher}/lambda-launcher.nix" { };
|
||||
};
|
||||
|
||||
simple-osd = inputs.simple-osd-daemons.packages.x86_64-linux;
|
||||
|
||||
@ -45,9 +52,7 @@ in {
|
||||
};
|
||||
environment.etc.nixpkgs.source = inputs.nixpkgs;
|
||||
nix = rec {
|
||||
nixPath = lib.mkForce [
|
||||
"nixpkgs=/etc/nixpkgs"
|
||||
];
|
||||
nixPath = lib.mkForce [ "nixpkgs=/etc/nixpkgs" ];
|
||||
binaryCaches = [ "https://cache.nixos.org" ];
|
||||
|
||||
registry.self.flake = inputs.self;
|
||||
|
Loading…
Reference in New Issue
Block a user