Skip to content

Commit

Permalink
Restore aarch64-linux NixOS/nixpkgs#209834 workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Thesola10 committed Dec 13, 2023
1 parent f830083 commit 8e5c4ff
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 2 deletions.
89 changes: 88 additions & 1 deletion flake.lock

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

4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ description = "Put Nix in everything!";

inputs.nixpkgs.url = github:nixos/nixpkgs;
inputs.nix.url = github:nixos/nix/2.17.1;
inputs.fakedir =
{ url = github:nixie-dev/fakedir;
inputs.nixpkgs.follows = "nixpkgs";
Expand All @@ -10,7 +11,7 @@
nixConfig.extra-substituters = "https://nix-wrap.cachix.org";
nixConfig.extra-trusted-public-keys = "nix-wrap.cachix.org-1:FcfSb7e+LmXBZE/MdaFWcs4bW2OQQeBnB/kgWlkZmYI=";

outputs = { self, nixpkgs, flake-utils, fakedir, ... }:
outputs = { self, nix, nixpkgs, flake-utils, fakedir, ... }:
flake-utils.lib.eachDefaultSystem
(system:
let pkgs = import nixpkgs { inherit system; };
Expand All @@ -22,6 +23,7 @@
static-bins = import ./static-bins
{ inherit nixpkgs fakedir pkgs;
libfakedir = fakedir.packages.aarch64-darwin.fakedir-universal;
nixStatics.aarch64-linux = nix.packages.aarch64-linux.nix-static;
};

} // (if system == "x86_64-darwin" || system == "aarch64-darwin"
Expand Down

0 comments on commit 8e5c4ff

Please sign in to comment.