File tree Expand file tree Collapse file tree 2 files changed +92
-0
lines changed Expand file tree Collapse file tree 2 files changed +92
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ description = "C++ reimplementation of eiquadprog" ;
3+
4+ inputs = {
5+ flake-parts . url = "github:hercules-ci/flake-parts" ;
6+ nixpkgs . url = "github:NixOS/nixpkgs/nixos-unstable" ;
7+ } ;
8+
9+ outputs =
10+ inputs :
11+ inputs . flake-parts . lib . mkFlake { inherit inputs ; } {
12+ systems = inputs . nixpkgs . lib . systems . flakeExposed ;
13+ perSystem =
14+ { pkgs , self' , ... } :
15+ {
16+ devShells . default = pkgs . mkShell { inputsFrom = [ self' . packages . default ] ; } ;
17+ packages = {
18+ default = self' . packages . eiquadprog ;
19+ eiquadprog = pkgs . eiquadprog . overrideAttrs ( _ : {
20+ src = pkgs . lib . fileset . toSource {
21+ root = ./. ;
22+ fileset = pkgs . lib . fileset . unions [
23+ ./CMakeLists.txt
24+ ./include
25+ ./package.xml
26+ ./src
27+ ./tests
28+ ] ;
29+ } ;
30+ } ) ;
31+ } ;
32+ } ;
33+ } ;
34+ }
You can’t perform that action at this time.
0 commit comments