6
flake.lock
generated
6
flake.lock
generated
@@ -20,11 +20,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1695318763,
|
"lastModified": 1695806987,
|
||||||
"narHash": "sha256-FHVPDRP2AfvsxAdc+AsgFJevMz5VBmnZglFUMlxBkcY=",
|
"narHash": "sha256-fX5kGs66NZIxCMcpAGIpxuftajHL8Hil1vjHmjjl118=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e12483116b3b51a185a33a272bf351e357ba9a99",
|
"rev": "f3dab3509afca932f3f4fd0908957709bb1c1f57",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@@ -24,11 +24,6 @@ else
|
|||||||
error(compiler.get_id() + ' ' + compiler.version() + 'does not meet the compiler requirements')
|
error(compiler.get_id() + ' ' + compiler.version() + 'does not meet the compiler requirements')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if compiler.has_argument('-fexperimental-library')
|
|
||||||
add_global_arguments('-fexperimental-library', language: 'cpp')
|
|
||||||
else
|
|
||||||
error(compiler.get_id() + ' ' + compiler.version() + 'does not support -fexperimental-library')
|
|
||||||
endif
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
subdir('include')
|
subdir('include')
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
packages.matar-clang = pkgs.callPackage ./build.nix { inherit src libraries stdenv; };
|
packages.matar-clang = pkgs.callPackage ./build.nix { inherit src libraries stdenv; };
|
||||||
devShells.matar-clang = pkgs.callPackage ./shell.nix {
|
devShells.matar-clang = pkgs.callPackage ./shell.nix {
|
||||||
inherit libraries stdenv;
|
inherit libraries stdenv;
|
||||||
tools = with pkgs; [ clang-tools_16 ];
|
tools = with pkgs; [ (clang-tools_16.override { enableLibcxx = true; }) ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user