Added executable, added B64 encoding

Signed-off-by: Louis Hollingworth <louis@hollingworth.nl>
This commit is contained in:
Louis Hollingworth 2025-06-29 17:39:20 +01:00
parent 5b90b7bb95
commit 41665ea30b
Signed by: lucxjo
GPG key ID: A11415CB3DC7809B
6 changed files with 175 additions and 3 deletions

32
flake.nix Normal file
View file

@ -0,0 +1,32 @@
{
description = "A very basic flake";
inputs = {
flake-utils = {
url = "github:numtide/flake-utils";
};
crane.url = "github:ipetkov/crane";
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = inputs:
with inputs;
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = import nixpkgs {
inherit system;
};
rustPkgs = (crane.mkLib pkgs).overrideToolchain
fenix.packages.${system}.beta.toolchain;
in {
packages = {
default = rustPkgs.buildPackage {
src = rustPkgs.cleanCargoSource ./.;
};
};
});
}