Added nix files#2580
Open
rXelelo wants to merge 11 commits intonoctalia-dev:v5from
Open
Conversation
|
Is flake utils really necessary for this? I feel like it's so simple that It would also make it so we manually specify each system. With the way you have it setup, it exports a package for MacOS, which afaik noctalia does not support something like this: outputs = { self, nixpkgs }:
let
inherit (nixpkgs) lib;
systems = [
"x86_64-linux"
"aarch64-linux"
# any other systems/OSes noctalia supports go here
];
forEachSystem = perSystem:
lib.genAttrs systems (
system: let
pkgs = nixpkgs.legacyPackages.${system};
in
perSystem {inherit pkgs system;}
);
in {
packages = forEachSystem (
{ pkgs, ... }: {
default = pkgs.stdenv.mkDerivation {
#...
};
}
);
devShells = forEachSystem (
{ pkgs, system }: {
default = pkgs.mkShell {
#...
};
}
);
apps = forEachSystem (
{ system, ... }: {
default = {
#...
};
}
);
}; |
Contributor
Author
this will be fine? |
style(nix): apply nixfmt formatting chore(nix): switch nixpkgs input to channel url chore(nix): fix homepage url chore(nix): use lib.cleanSource for source filtering chore(nix): port devshell from noctalia-dev#2584 chore(nix): derive version from lastModifiedDate and shortRev
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
If this PR is not ready for review yet, please mark it as Draft until it's good to be reviewed.
Motivation
Provide a clear and concise explanation of what this PR does and why it is needed.
Type of Change
Mark the relevant option with an "x".
Related Issue
Testing
Describe how you tested your changes and mark the relevant items.
Screenshots / Videos
If applicable, include screenshots or videos to help illustrate your changes.

Checklist