Skip to content

Commit 3b96c77

Browse files
committed
aaaa
1 parent 10676f8 commit 3b96c77

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "chara"
33
version = "0.1.0"
44
edition = "2024"
55

6-
[profile.debug]
6+
[profile.dev]
77
opt-level = 3
88

99
[profile.release]

flake.nix

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,24 @@
33

44
inputs = {
55
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
6+
naersk.url = "github:nix-community/naersk";
67
};
78

89
outputs =
9-
{ self, nixpkgs }:
10+
{
11+
self,
12+
nixpkgs,
13+
naersk,
14+
}:
1015
let
1116
pkgs = nixpkgs.legacyPackages."x86_64-linux";
1217
in
1318
{
14-
packages."x86_64-linux".default = pkgs.callPackage ./default.nix { };
19+
# packages."x86_64-linux".default = pkgs.callPackage ./default.nix { };
20+
packages."x86_64-linux".default = naerskLib.buildPackage {
21+
srs = ./.;
22+
nativeBuildInputs = [ pkgs.pkg-config ];
23+
};
1524

1625
devShells."x86_64-linux".default = pkgs.mkShell {
1726
buildInputs = with pkgs; [

0 commit comments

Comments
 (0)