You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
591 B

{
inputs = {
nixpkgs.url = "nixpkgs";
};
outputs = { nixpkgs, ... }:
let
supportedSystems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
forEachSystem' = systems: f: nixpkgs.lib.genAttrs systems (system: f system);
forEachSystem = forEachSystem' supportedSystems;
in {
devShell = forEachSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
sqlite.dev
diesel-cli
];
}
);
};
}