fix(nix): fix makeDesktopItem (#1215)
This commit is contained in:
parent
2c08c425c7
commit
54b0859e40
4 changed files with 57 additions and 57 deletions
|
|
@ -13,7 +13,8 @@
|
|||
generatedCargoNix
|
||||
;
|
||||
|
||||
project = import
|
||||
project =
|
||||
import
|
||||
(generatedCargoNix {
|
||||
inherit name src;
|
||||
})
|
||||
|
|
|
|||
|
|
@ -38,10 +38,10 @@ flake-utils.lib.eachSystem [
|
|||
|
||||
rustToolchainToml = pkgs.rust-bin.fromRustupToolchainFile ../rust-toolchain;
|
||||
cargoLock = {
|
||||
lockFile = (builtins.path {
|
||||
lockFile = builtins.path {
|
||||
path = ../Cargo.lock;
|
||||
name = "Cargo.lock";
|
||||
});
|
||||
};
|
||||
};
|
||||
cargo = rustToolchainToml;
|
||||
rustc = rustToolchainToml;
|
||||
|
|
@ -107,7 +107,7 @@ flake-utils.lib.eachSystem [
|
|||
comment = "Manage your terminal applications";
|
||||
exec = "zellij";
|
||||
icon = "zellij";
|
||||
categories = ["ConsoleOnly;System"];
|
||||
categories = ["ConsoleOnly"];
|
||||
})
|
||||
];
|
||||
meta = with pkgs.lib; {
|
||||
|
|
@ -130,8 +130,7 @@ in rec {
|
|||
};
|
||||
|
||||
# native nixpkgs support - keep supported
|
||||
packages.zellij-native =
|
||||
(pkgs.makeRustPlatform {inherit cargo rustc;}).buildRustPackage {
|
||||
packages.zellij-native = (pkgs.makeRustPlatform {inherit cargo rustc;}).buildRustPackage {
|
||||
inherit
|
||||
src
|
||||
name
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue