Skip to content

Commit

Permalink
[𝚫] (penrose): adding a minimum flake for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Icy-Thought committed Jul 5, 2023
1 parent 2c8f962 commit 9ef1f62
Show file tree
Hide file tree
Showing 2 changed files with 141 additions and 0 deletions.
113 changes: 113 additions & 0 deletions packages/orcinusWM/flake.lock

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

28 changes: 28 additions & 0 deletions packages/orcinusWM/flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
inputs = {
cargo2nix.url = "github:cargo2nix/cargo2nix/release-0.11.0";
flake-utils.follows = "cargo2nix/flake-utils";
nixpkgs.follows = "cargo2nix/nixpkgs";
};

outputs = inputs:
with inputs;
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = import nixpkgs {
inherit system;
overlays = [cargo2nix.overlays.default];
};

rustPkgs = pkgs.rustBuilder.makePackageSet {
rustChannel = "nightly";
packageFun = import ./default.nix;
};
in rec {
packages = {
orcinusWM = (rustPkgs.workspace.orcinusWM {}).bin;
default = packages.orcinusWM;
};
}
);
}

0 comments on commit 9ef1f62

Please sign in to comment.