-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
34 lines (32 loc) · 796 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
description = "kvm sectorlisp";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
stdenv = pkgs.llvmPackages_19.stdenv;
in
{
devShells.x86_64-linux.default = pkgs.mkShell.override {inherit stdenv;} {
name = "KVM Sectorlisp Shell";
packages = with pkgs; with llvmPackages_19; [
gdb
blink
binutils
git
clang-tools
];
};
defaultPackage.x86_64-linux = stdenv.mkDerivation {
name = "KVM Sectorlisp";
version = "1.0.0";
src = ./.;
installPhase = ''
mkdir -p $out/bin
mv kvm_sectorlisp $out/bin
'';
};
};
}