mirror of
https://github.com/nix-community/naersk
synced 2024-11-10 14:14:14 +00:00
flake: remove edition and format
The edition attribute is deprecated: warning: flake 'git+file:///home/vin/workspace/vcs/naersk' has deprecated attribute 'edition'
This commit is contained in:
parent
22b96210b2
commit
d645515b71
1 changed files with 10 additions and 10 deletions
20
flake.nix
20
flake.nix
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
description = "Build rust crates in Nix. No configuration, no code generation. IFD and sandbox friendly.";
|
||||
|
||||
edition = 201909;
|
||||
|
||||
outputs = { self, nixpkgs }: let
|
||||
forAllSystems = nixpkgs.lib.genAttrs [ "x86_64-linux" "x86_64-darwin" "i686-linux" "aarch64-linux" ];
|
||||
in {
|
||||
# Naersk is not a package, not an app, not a module... It's just a Library
|
||||
lib = forAllSystems (system: nixpkgs.legacyPackages."${system}".callPackage ./default.nix {});
|
||||
# Useful when composing with other flakes
|
||||
overlay = import ./overlay.nix;
|
||||
};
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
forAllSystems = nixpkgs.lib.genAttrs [ "x86_64-linux" "x86_64-darwin" "i686-linux" "aarch64-linux" ];
|
||||
in
|
||||
{
|
||||
# Naersk is not a package, not an app, not a module... It's just a Library
|
||||
lib = forAllSystems (system: nixpkgs.legacyPackages."${system}".callPackage ./default.nix { });
|
||||
# Useful when composing with other flakes
|
||||
overlay = import ./overlay.nix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue