-
-
Notifications
You must be signed in to change notification settings - Fork 774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Development sandbox does not work on MacOS #174
Comments
Thanks for letting me know about this issue, I’ll update the document to reflect that it doesn’t work on macOS. I might add a short instruction on how to create a virtual machine for non-Linux platforms. |
Commenting both out let me get a lot further, to terraform. That said, I ran out of time to go further and don't want to test with my existing cloudfllare account. Ideally nix would have a kanidm-cli package as that seems to be all you need for the development environment. I was able to adjust your flake.nix to to build a kanidm-cli by adding: pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
######### Start of addition
overlays = [
(import (
fetchTarball {
url = "https://github.com/oxalica/rust-overlay/archive/master.tar.gz";
sha256 = "sha256:1crrpxl6qvc6kspr7q9x94bham6kpvh4d09ajvraajxpz2hcl2wz";
})
)
];
};
rustPlatform = pkgs.makeRustPlatform {
cargo = pkgs.rust-bin.stable.latest.minimal;
rustc = pkgs.rust-bin.stable.latest.minimal;
};
kanidm-cli = rustPlatform.buildRustPackage rec {
pname = "kanidm";
version = "1.4.3";
src = pkgs.fetchzip {
url = "https://github.com/kanidm/kanidm/archive/refs/tags/v${version}.tar.gz";
hash = "sha256-zI+IPwpkkF67/JSl3Uu+Q1giUN49r/hjvY+/QLqB5eM=";
};
nativeBuildInputs = [ pkgs.openssl pkgs.pam ];
cargoHash = "sha256-l4UNdVvPteqs46Fm7yVgkgplANvkAmb4fooLigXRqZM=";
cargoRoot = "tools/cli";
cargoLock = {
lockFile = "${src}/Cargo.lock";
};
cargoBuildFlags = [ "--bin" "kanidm" ];
postPatch = ''
ln -s ${src}/Cargo.lock tools/cli/Cargo.lock
'';
meta = {
description = "A simple, secure, and fast identity management platform";
homepage = "https://github.com/kanidm/kanidm";
license = pkgs.lib.licenses.mpl20;
maintainers = [ ];
};
};
######### End of addition
in
with pkgs;
{ |
What commands are you using out of the iproute2 package? |
|
Describe the bug
Development sandbox does not work on MacOS because a number of the Nix packages are not available for MacOS.
The text was updated successfully, but these errors were encountered: