Basic camera implementaion working
This commit is contained in:
commit
baf75433f9
6 changed files with 740 additions and 0 deletions
41
flake.nix
Normal file
41
flake.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
devkitNix.url = "github:bandithedoge/devkitNix";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
devkitNix,
|
||||
...
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
system: let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [devkitNix.overlays.default];
|
||||
};
|
||||
in {
|
||||
devShells.default =
|
||||
pkgs.mkShell.override {
|
||||
stdenv = pkgs.devkitNix.stdenvARM;
|
||||
} {
|
||||
packages = with pkgs; [imagemagick];
|
||||
};
|
||||
packages.default = pkgs.devkitNix.stdenvARM.mkDerivation {
|
||||
name = "somding";
|
||||
src = ./.;
|
||||
buildInputs = [pkgs.imagemagick pkgs.which];
|
||||
|
||||
# makeFlags = ["TARGET=example"];
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp 3ds.3dsx $out
|
||||
'';
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue