wallust: build now using pinned rustc version
This commit is contained in:
parent
a90327617e
commit
5552ca18ae
18
flake.nix
18
flake.nix
|
@ -37,8 +37,22 @@
|
|||
url = "github:nix-community/nix-index-database";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
rust-overlay = {
|
||||
url = "github:oxalica/rust-overlay";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
outputs = inputs @ { self, nur, nixpkgs, home-manager, sops-nix, neovim-nightly-overlay, nix-index-database, ... }:
|
||||
outputs =
|
||||
inputs @ { self
|
||||
, nur
|
||||
, nixpkgs
|
||||
, home-manager
|
||||
, sops-nix
|
||||
, neovim-nightly-overlay
|
||||
, nix-index-database
|
||||
, rust-overlay
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
commonModules = [
|
||||
nur.nixosModules.nur
|
||||
|
@ -52,6 +66,7 @@
|
|||
nixpkgs.overlays = [
|
||||
neovim-nightly-overlay.overlays.default
|
||||
nur.overlay
|
||||
rust-overlay.overlays.default
|
||||
];
|
||||
}
|
||||
{
|
||||
|
@ -72,7 +87,6 @@
|
|||
home-manager.sharedModules = [
|
||||
nix-index-database.hmModules.nix-index
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
|
||||
];
|
||||
}
|
||||
];
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
, nix-update-script
|
||||
, imagemagick
|
||||
, makeWrapper
|
||||
, unstable
|
||||
, pkgs
|
||||
}:
|
||||
let
|
||||
version = "3.0.0-beta";
|
||||
|
@ -23,7 +23,7 @@ rustPlatform.buildRustPackage {
|
|||
|
||||
cargoHash = "sha256-dkHS8EOzmn5VLiKP3SMT0ZGAsk2wzvQeioG7NuGGUzA=";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper unstable.rustc ];
|
||||
nativeBuildInputs = [ makeWrapper pkgs.rust-bin.stable."1.77.2".default ];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/wallust \
|
||||
|
|
|
@ -8,7 +8,7 @@ in
|
|||
home.packages = [
|
||||
pkgs.imagemagick
|
||||
# unstable.wallust
|
||||
(pkgs.callPackage ./wallust-build.nix { inherit unstable; })
|
||||
(pkgs.callPackage ./wallust-build.nix { })
|
||||
];
|
||||
|
||||
home. file.".config/wallust/templates" = {
|
||||
|
|
Loading…
Reference in a new issue