patch & packaging with nix
This commit is contained in:
parent
85b8a54597
commit
5029a3e3b8
4 changed files with 64 additions and 7 deletions
29
flake.nix
Normal file
29
flake.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
description = "A very basic flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
}: let
|
||||
pkgs = import nixpkgs {system = "x86_64-linux";};
|
||||
cl-dates = pkgs.sbcl.buildASDFSystem {
|
||||
pname = "cl-dates";
|
||||
version = "latest";
|
||||
src = ./.;
|
||||
};
|
||||
in {
|
||||
packages.x86_64-linux.default = cl-dates;
|
||||
|
||||
devShells.x86_64-linux.default = pkgs.mkShell {
|
||||
buildInputs = [
|
||||
(pkgs.sbcl.withPackages (ps: [
|
||||
cl-dates
|
||||
]))
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue