Compare commits
No commits in common. "d852199742eec91018300ef9b38242c83cc59008" and "87f6792f12da8b50698288e5d1d635fb3ecaecb9" have entirely different histories.
d852199742
...
87f6792f12
14 changed files with 4 additions and 63 deletions
|
@ -42,8 +42,6 @@
|
|||
program = "${helix}/bin/hx";
|
||||
};
|
||||
});
|
||||
|
||||
templates = import ./templates;
|
||||
};
|
||||
inputs = {
|
||||
# Unstable nixpkgs baby!
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{pkgs}: let
|
||||
inherit (pkgs) lib;
|
||||
helix = pkgs.callPackage ./helix {};
|
||||
wrapped-helix = pkgs.callPackage ./helix {};
|
||||
kakoune = pkgs.callPackage ./kakoune.nix {};
|
||||
fish = pkgs.callPackage ./fish {inherit lib;};
|
||||
fish = pkgs.callPackage ./shell {inherit lib;};
|
||||
in {
|
||||
inherit kakoune fish helix;
|
||||
inherit kakoune fish;
|
||||
helix = wrapped-helix;
|
||||
}
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
rust = {
|
||||
path = ./rust;
|
||||
description = "Rust project template";
|
||||
};
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
use flake
|
|
@ -1,5 +0,0 @@
|
|||
[package]
|
||||
name = "sample-rust"
|
||||
version = "0.0.1"
|
||||
license = "GPL-3.0-only"
|
||||
edition = "2024"
|
|
@ -1,8 +0,0 @@
|
|||
{rustPlatform}:
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "some-rust-package";
|
||||
version = "0.0.1";
|
||||
|
||||
src = ./.;
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
{
|
||||
description = "Rust project template";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
systems.url = "github:nix-systems/default-linux";
|
||||
};
|
||||
|
||||
outputs = inputs: let
|
||||
inherit (inputs.nixpkgs) lib;
|
||||
inherit (lib.attrsets) genAttrs mapAttrs;
|
||||
|
||||
eachSystem = genAttrs (import inputs.systems);
|
||||
pkgsFor = inputs.nixpkgs.legacyPackages;
|
||||
in {
|
||||
packages = eachSystem (system: {
|
||||
default = inputs.self.packages.${system}.ralc;
|
||||
ralc = pkgsFor.${system}.callPackage ./nix/package.nix {};
|
||||
});
|
||||
|
||||
devShells =
|
||||
mapAttrs (system: pkgs: {
|
||||
default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
cargo
|
||||
rustc
|
||||
rustfmt
|
||||
bacon
|
||||
rust-analyzer
|
||||
rustPackages.clippy
|
||||
];
|
||||
};
|
||||
})
|
||||
pkgsFor;
|
||||
};
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
fn main() {
|
||||
println!("Hello World!");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue