mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-04 07:02:12 +03:00
Modify init to work properly on M1
This commit is contained in:
parent
8ad148be5c
commit
34d5be8d27
@ -1,7 +1,8 @@
|
||||
let
|
||||
sources = import ./nix/sources.nix;
|
||||
nixpkgs = import sources.nixpkgs { };
|
||||
niv = import sources.niv { };
|
||||
system = if builtins.currentSystem == "aarch64-darwin" then "x86_64-darwin" else builtins.currentSystem;
|
||||
nixpkgs = import sources.nixpkgs { inherit system; };
|
||||
niv = nixpkgs.callPackage sources.niv { };
|
||||
in with nixpkgs;
|
||||
stdenv.mkDerivation {
|
||||
name = "noredink-ui";
|
||||
|
Loading…
Reference in New Issue
Block a user